Duplicity

From Hurlster Wiki
Jump to navigation Jump to search

This is some examples of incremental encrypted backup scripts

  • duplicity-backup.sh
#!/bin/bash
export PASSPHRASE=GpGpassw0rd
export FTP_PASSWORD=ftppassw0rd

## FTP BACKUP (easiest)
#duplicity --volsize=500 /home/user ftp://user@servername.net/server-backup

## RSYNC BACKUP (built in bandwidth shaper)
## duplicity,filesize=500MB,use FTP_PASSWORD for SSH pass, source dir, remote dir
#duplicity --volsize=500 --ssh-askpass --rsync-options="--bwlimit=1920" /home/user rsync://user@servername.net::*module*