Skip to content
Snippets Groups Projects
Commit 46ace655 authored by intrigeri's avatar intrigeri
Browse files

Added /var/cache/backupninja/duplicity to default excludes.

... for rdiff.helper, dup.helper, example.dup and example.rdiff.
parent d6ec2b4e
Branches
No related tags found
No related merge requests found
...@@ -135,6 +135,7 @@ include = /var/lib/dpkg/status-old ...@@ -135,6 +135,7 @@ include = /var/lib/dpkg/status-old
# files to exclude from the backup # files to exclude from the backup
exclude = /home/*/.gnupg exclude = /home/*/.gnupg
exclude = /var/cache/backupninja/duplicity
###################################################### ######################################################
## destination section ## destination section
......
...@@ -122,6 +122,7 @@ include = /var/lib/dpkg/status-old ...@@ -122,6 +122,7 @@ include = /var/lib/dpkg/status-old
## files to exclude from the backup ## files to exclude from the backup
exclude = /home/*/.gnupg exclude = /home/*/.gnupg
exclude = /var/cache/backupninja/duplicity
###################################################### ######################################################
## destination section ## destination section
......
...@@ -552,7 +552,7 @@ dup_wizard() { ...@@ -552,7 +552,7 @@ dup_wizard() {
# Global variables whose '*' shall not be expanded # Global variables whose '*' shall not be expanded
set -o noglob set -o noglob
dup_default_includes="/var/spool/cron/crontabs /var/backups /etc /root /home /usr/local/*bin /var/lib/dpkg/status*" 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 set +o noglob
dup_main_menu dup_main_menu
......
...@@ -415,7 +415,7 @@ rdiff_wizard() { ...@@ -415,7 +415,7 @@ rdiff_wizard() {
# Global variables whose '*' shall not be expanded # Global variables whose '*' shall not be expanded
set -o noglob set -o noglob
rdiff_includes=(/var/spool/cron/crontabs /var/backups /etc /root /home /usr/local/*bin /var/lib/dpkg/status*) 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= rdiff_vsincludes=
set +o noglob set +o noglob
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment