Results 1 to 5 of 5

Thread: Howto use duplicity with rsync over ssh

  1. #1
    Join Date
    Jan 2006
    Beans
    631

    Howto use duplicity with rsync over ssh

    Does any one know of a howto guide that will let me use duplicity withrsync over ssh to a remote computer?

  2. #2
    Join Date
    Feb 2009
    Location
    Dallas, TX
    Beans
    7,790
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Howto use duplicity with rsync over ssh

    Hi lance bermudez.

    Take a look at this: Using Duplicity for Full Server Backup on Ubuntu 12.04. It has a section called 'Perform backup using rsync method.'

    Regards.

  3. #3
    Join Date
    Jan 2006
    Beans
    631

    Re: Howto use duplicity with rsync over ssh

    Thank you that helped alot I just want to make sure I got this.

    #take backup encrypt verbose
    duplicity --verbosity 9 --encrypt-key 2202FE51 /home/lance/bin/ rsync://lance@192.168.2.19//home/lance/bin/

    #list backup files
    duplicity --encrypt-key 2202FE51 list-current-files rsync://lance@192.168.2.19//home/lance/bin/

    #recover backup files
    duplicity --encrypt-key 2202FE51 --file-to-restore sshrsyncdel rsync://lance@192.168.2.19//home/lance/bin /tmp/sshrsyncdel

    #clean up bakup files older then 1 month
    duplicity --verbosity 5 --encrypt-key 2202FE51 remove-older-than 1M --force rsync://lance@192.168.2.19//home/lance/bin

    Any think not look right? I have tested them and they seem to work but not sure about if the clean up will work like I want. What I want it to do is delete any old files that are older than 1 month to save disk space. Also how do I change the port for ssh?

  4. #4
    Join Date
    Jan 2006
    Beans
    631

    Re: Howto use duplicity with rsync over ssh

    Change ssh port
    duplicity --verbosity 5 --encrypt-key 2202FE51 /home/lance/bin/ rsync://lance@192.168.2.2:9455//home/lance/0/bin/

  5. #5
    Join Date
    Jan 2006
    Beans
    631

    Re: Howto use duplicity with rsync over ssh

    Also found out how to do more than one path

    duplicity incr --verbosity 4 --encrypt-key 2202FE51 --include /home/lance/bin/ --include /home/lance/.config/chromium/ --exclude '**' /home/lance --log-file /home/lance/log rsync://lance@192.168.2.2:9455//home/lance/0

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •