diff options
author | intrigeri <intrigeri@boum.org> | 2010-05-10 22:18:49 +0200 |
---|---|---|
committer | intrigeri <intrigeri@boum.org> | 2010-05-10 22:18:49 +0200 |
commit | 46ace6557309f85a7efeb0b877225053c5bb1552 (patch) | |
tree | 0846845917ef518640a8ce9dbbd05f04cc364928 | |
parent | d6ec2b4e62d1de94cf731381d7da934b6fee7ddc (diff) | |
download | backupninja-46ace6557309f85a7efeb0b877225053c5bb1552.tar.gz backupninja-46ace6557309f85a7efeb0b877225053c5bb1552.tar.bz2 |
Added /var/cache/backupninja/duplicity to default excludes.
... for rdiff.helper, dup.helper, example.dup and example.rdiff.
-rw-r--r-- | examples/example.dup | 1 | ||||
-rw-r--r-- | examples/example.rdiff | 1 | ||||
-rw-r--r-- | handlers/dup.helper.in | 2 | ||||
-rw-r--r-- | handlers/rdiff.helper.in | 2 |
4 files changed, 4 insertions, 2 deletions
diff --git a/examples/example.dup b/examples/example.dup index f260d3a..0ed5b2a 100644 --- a/examples/example.dup +++ b/examples/example.dup @@ -135,6 +135,7 @@ include = /var/lib/dpkg/status-old # files to exclude from the backup exclude = /home/*/.gnupg +exclude = /var/cache/backupninja/duplicity ###################################################### ## destination section diff --git a/examples/example.rdiff b/examples/example.rdiff index 08e8869..5adecd8 100644 --- a/examples/example.rdiff +++ b/examples/example.rdiff @@ -122,6 +122,7 @@ include = /var/lib/dpkg/status-old ## files to exclude from the backup exclude = /home/*/.gnupg +exclude = /var/cache/backupninja/duplicity ###################################################### ## destination section diff --git a/handlers/dup.helper.in b/handlers/dup.helper.in index ea27844..e985c5e 100644 --- a/handlers/dup.helper.in +++ b/handlers/dup.helper.in @@ -552,7 +552,7 @@ dup_wizard() { # Global variables whose '*' shall not be expanded set -o noglob dup_default_includes="/var/spool/cron/crontabs /var/backups /etc /root /home /usr/local/*bin /var/lib/dpkg/status*" - dup_default_excludes="/home/*/.gnupg /home/*/.local/share/Trash /home/*/.Trash /home/*/.thumbnails /home/*/.beagle /home/*/.aMule /home/*/gtk-gnutella-downloads" + dup_default_excludes="/home/*/.gnupg /home/*/.local/share/Trash /home/*/.Trash /home/*/.thumbnails /home/*/.beagle /home/*/.aMule /home/*/gtk-gnutella-downloads /var/cache/backupninja/duplicity" set +o noglob dup_main_menu diff --git a/handlers/rdiff.helper.in b/handlers/rdiff.helper.in index e35d629..b5bb8bb 100644 --- a/handlers/rdiff.helper.in +++ b/handlers/rdiff.helper.in @@ -415,7 +415,7 @@ rdiff_wizard() { # Global variables whose '*' shall not be expanded set -o noglob rdiff_includes=(/var/spool/cron/crontabs /var/backups /etc /root /home /usr/local/*bin /var/lib/dpkg/status*) - rdiff_excludes=(/home/*/.gnupg /home/*/.local/share/Trash /home/*/.Trash /home/*/.thumbnails /home/*/.beagle /home/*/.aMule /home/*/gtk-gnutella-downloads) + rdiff_excludes=(/home/*/.gnupg /home/*/.local/share/Trash /home/*/.Trash /home/*/.thumbnails /home/*/.beagle /home/*/.aMule /home/*/gtk-gnutella-downloads /var/cache/backupninja/duplicity) rdiff_vsincludes= set +o noglob |