]> arthur.barton.de Git - backup-script.git/commit
Adjust list of hardcoded excluded directories
authorAlexander Barton <alex@barton.de>
Tue, 24 Sep 2013 10:10:48 +0000 (12:10 +0200)
committerAlexander Barton <alex@barton.de>
Tue, 24 Sep 2013 10:26:44 +0000 (12:26 +0200)
commit448984c33b3789cfeb6480089034caa950b6e0cc
tree88dc4f39f1f88309926b645e314580245344fa08
parent3221a84f206f0614aad7059f6098044cd296a9b0
Adjust list of hardcoded excluded directories

Only hardcode directories that never(!) make sense to backup, and introduce
new configuration variables "exclude_args_add" (for system configurations)
and "default_exclude_args_add" (for backup-script.conf) to set apropriate
settings and defaults for the local installation.

Now the following directories are always excluded:

/dev, /proc/, /sys/, /tmp, /var/tmp, /media, /mnt, /net, /var/cache/apt,
and /var/log.
bin/backup-script