duplicity

Verified for current stable LTS

Duplicity Commands

Duplicity command syntax with verified terminal examples.

Commands

12 commands for Duplicity

duplicity

Duplicity Command: Backup Directory Amazon S3 Monthly Full

duplicity --full-if-older-than <1M> s3://<bucket_name[/prefix]>
duplicity

Duplicity Command: Backup Directory Ftps Encrypt

FTP_PASSWORD=<ftp_login_password> PASSPHRASE=<encryption_password> duplicity <path/to/source_directory> {ftps://user@hostname/path/to/target_directory}/
duplicity

Duplicity Command: Backup Directory Ftps Encrypted

FTP_PASSWORD=<ftp_login_password> PASSPHRASE=<encryption_password> duplicity <path/to/source_directory> {ftps://user@hostname/path/to/target_directory}/
duplicity

Duplicity Command: Delete Old Versions Webdav

FTP_PASSWORD=<webdav_login_password> duplicity remove-older-than <1Y> --force {webdav[s]://user@hostname[:port]/some_directory}
duplicity

Duplicity Command: Delete Versions Older Than One Year Webdav

FTP_PASSWORD=<webdav_login_password> duplicity remove-older-than <1Y> --force {webdav[s]://user@hostname[:port]/some_directory}
duplicity

Duplicity Command: Full Backup Amazon S3 Monthly

duplicity --full-if-older-than <1M> s3://<bucket_name[/prefix]>
duplicity

Duplicity Command: List Available Backups

duplicity collection-status "file://<absolute/path/to/backup_directory>"
duplicity

Duplicity Command: List Backups

duplicity collection-status "file://<absolute/path/to/backup_directory>"
duplicity

Duplicity Command: List Files Backup Ssh

duplicity list-current-files -t <YYYY-MM-DD> scp://<user@hostname>/<path/to/backup_directory>
duplicity

Duplicity Command: List Files Remote Ssh Backup

duplicity list-current-files -t <YYYY-MM-DD> scp://<user@hostname>/<path/to/backup_directory>
duplicity

Duplicity Command: Restore Subdirectory Gnupg Local Backup

PASSPHRASE=<gpg_key_password> duplicity restore --encrypt-key <gpg_key_id> --path-to-restore <path/to/restore_directory> file://<absolute/path/to/backup_directory> <path/to/directory_to_restore_to>
duplicity

Duplicity Command: Restore Subdirectory Local Backup

PASSPHRASE=<gpg_key_password> duplicity restore --encrypt-key <gpg_key_id> --path-to-restore <path/to/restore_directory> file://<absolute/path/to/backup_directory> <path/to/directory_to_restore_to>

Suggest a Duplicity Command

Submit missing workflows, corrections, or verified alternatives for this tool.

FAQ

Coverage: Focused examples for common Duplicity workflows.

Verified version: current stable LTS.

Verification: Test commands in a disposable workspace and submit notes for edge cases.