These are also included in the tar or rpm packages:
- duplicity man page (converted from groff form by rman)
- rdiffdir man page (converted from groff form by rman)
NEW: Epydoc docs for duplicity a work in progress.
Below are a few examples which illustrate how to execute duplicity. The manual page, included in the duplicity distribution, also has examples, and explains all the options.
Here is a basic backup command, which causes duplicity to use scp/ssh to back up /home/me on the local system to /usr/backup on remote host other.host.
duplicity /home/me scp://email@example.com//usr/backup
If the above command is run repeatedly, the first session will be a full backup, and subsequent ones will be incremental. The full option can be used to force a full backup. The next command also excludes the /tmp directory.
duplicity full --exclude /tmp /home/me scp://firstname.lastname@example.org//usr/backup
Backup, writing archives via ftp with ftp password mypassword:
FTP_PASSWORD=mypassword duplicity /home/me ftp://email@example.com/ftp_dir
Basic restore command---restore the /home/me directory backed up with scp above to directory restored_dir:
duplicity scp://firstname.lastname@example.org//usr/backup restored_dir