diff options
| author | Anton Bobov <abobov@gmail.com> | 2020-05-10 22:10:27 +0500 |
|---|---|---|
| committer | Anton Bobov <abobov@gmail.com> | 2020-05-10 22:10:27 +0500 |
| commit | 279750251f0d6e864d3d80855b7fd3164387e3c6 (patch) | |
| tree | 9f0525e25bd11c1906089effd524fd0f0e66516e /d-backup | |
| parent | 93d134d42b388581da215ed47ad87687dc8e41f1 (diff) | |
Updates.
Diffstat (limited to 'd-backup')
| -rwxr-xr-x | d-backup | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -31,7 +31,7 @@ EOF } backup() { - nice ionice duplicity \ + nice ionice duplicity $DUPLICITY_OPTS \ --exclude-filelist "$HOME/.duplicity-exclude" \ --full-if-older-than 2M \ "$SOURCE" "$TARGET" @@ -39,20 +39,20 @@ backup() { } cleanup() { - duplicity cleanup --force "$TARGET" - duplicity remove-all-but-n-full 3 --force "$TARGET" + duplicity $DUPLICITY_OPTS cleanup --force "$TARGET" + duplicity $DUPLICITY_OPTS remove-all-but-n-full 3 --force "$TARGET" } stats() { - duplicity collection-status "$TARGET" + duplicity $DUPLICITY_OPTS collection-status "$TARGET" } list() { - duplicity list-current-files "$@" "$TARGET" + duplicity $DUPLICITY_OPTS list-current-files "$@" "$TARGET" } restore() { - duplicity restore "$@" "$TARGET" "$(pwd)" + duplicity $DUPLICITY_OPTS restore "$@" "$TARGET" "$(pwd)" } if [[ $# = 0 ]] ; then |
