Skip to content

Commit

Permalink
Added /var/cache/backupninja/duplicity to default excludes.
Browse files Browse the repository at this point in the history
... for rdiff.helper, dup.helper, example.dup and example.rdiff.
  • Loading branch information
intrigeri committed May 10, 2010
1 parent d6ec2b4 commit 46ace65
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions examples/example.dup
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions examples/example.rdiff
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion handlers/dup.helper.in
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion handlers/rdiff.helper.in
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 46ace65

Please sign in to comment.