aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-03-06 17:16:49 -0300
committerSilvio Rhatto <rhatto@riseup.net>2014-03-06 17:16:49 -0300
commit353127026f70f99471b9b76453dc6eedee80f3f8 (patch)
treef4373297d464b964b753af5b6c8f4c00d48aa407
parent9100105c20b2dda8f566de9da157a1994d23ffcf (diff)
downloadpuppet-backup-353127026f70f99471b9b76453dc6eedee80f3f8.tar.gz
puppet-backup-353127026f70f99471b9b76453dc6eedee80f3f8.tar.bz2
Excluding /data/backups from local backups
-rw-r--r--manifests/init.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 45383b4..6382bdf 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -27,7 +27,7 @@ $backupdir_ensure = hiera('backup::dir::ensure', 'directory')
# for data that's going to be encrypted and signed
$backup_include_unencrypted = [ "/etc", "/var", "/home", ]
-$backup_exclude_unencrypted = [ "$backupdir_remote", "$backupdir/duplicity", "$backupdir/restore", "/var/cache", "/var/log", "/var/vservers", "/var/chroot", "/root/.cache", "/var/lib/dpkg", "/var/lib/apt", "/var/lib/aptitude/", "/var/sites/backups", "/var/data/crypt" ]
+$backup_exclude_unencrypted = [ "$backupdir_remote", "$backupdir/duplicity", "$backupdir/restore", "/var/cache", "/var/log", "/var/vservers", "/var/chroot", "/root/.cache", "/var/lib/dpkg", "/var/lib/apt", "/var/lib/aptitude/", "/var/sites/backups", "/var/data/crypt", "/data/backups" ]
# for data that were previously encrypted and signed
$backup_include_encrypted = [ "$backupdir/duplicity", ]