- Information on using Duplicity dpbackup script
- ===============================
- http://duplicity.nongnu.org/
-
-
- Summary
- ---------------
-
- Duplicity has been around since 2002, I'm testing with v0.5.14, v0.6.16
- Duplicity is similar to rdiff-backup, however instead of creating a mirror of files
- on the remote device, duplicity compresses ( and optionally encrypts ) them.
- We are NOT using encryption for backups.
-
- Duplicity in it's simplest form is run like this.
-
- duplicity /source_dir scp://host.net/target_dir
-
- However, logging and emailing results need to be handled in a wrapper script.
-
-
-
- Wrapper
- --------------
-
- Several wrapper scripts are available on the duplicity site, for using duplicity with Amazon S3
- and local storage.
-
- Since none of the scripts were ideal, I've taken the best feature and written dpbackup.
- Available here: ftp://4aero.com/pub/dpbackup/
-
- Use
- -----
- dpbackup is edited for your desired source directory and storage location
-
- Call dpbackup like this:
-
- dpbackup - incremental backup
- dpbackup full - Full backup
- dpbackup stats - Show statistics of all backups.
- dpbackup restore dir - Restore 'dir' inside backup location NO LEADing or TRAILing slashes !
- enclose in single ' parenthesis for embedded spaces.
- dpbackup --help - print use summary
-
- Logs
- -------
-
- Logs are stored , normally in /home/user/logs/, Separate logs for Full and Incremental.
- Logs for the same day are concatenated together.
-
- Email
- ----------
-
- The logfile for the day is emailed after each backup to the designated user.
-
-
-
-
-
-