Updated: 16 November 2024
For archive of backups over sftp.
Assumes your public key is on the remote host
Deja Dup > Preferences > Network Server > Server Address value
sftp://the-user@digital-ocean-host/mnt/my-volume/bu-location
Freelance software engineer United Kingdom
Updated: 16 November 2024
For archive of backups over sftp.
Assumes your public key is on the remote host
Deja Dup > Preferences > Network Server > Server Address value
sftp://the-user@digital-ocean-host/mnt/my-volume/bu-location
Updated: 21 March 2024
Backup to a USB thumbdrive
export PASSPHRASE=mypassphrase
duplicity --exclude ~/MyFiles/music ~/MyFiles file:///media/chris/ThumbDrive
unset PASSPHRASE
Verify backup and show any new differences
export PASSPHRASE=mypassphrase
duplicity verify --verbosity 4 --compare-data --exclude ~/MyFiles/music file:///media/chris/ThumbDrive ~/MyFiles
unset PASSPHRASE
Restore to a new location
export PASSPHRASE=mypassphrase
duplicity file:///media/chris/ThumbDrive ~/Desktop/my-restore
unset PASSPHRASE
Restore one folder to a new location
duplicity --file-to-restore dir_to_restore file:///media/my_backup ~/Desktop/restore_here
Cache files are located at ~/.cache/duplicity
List files in backup
duplicity list-current-files file:///media/the_backup_dir