]> gitweb.fluxo.info Git - puppet-backup.git/commitdiff
Excluding /data/backups from local backups
authorSilvio Rhatto <rhatto@riseup.net>
Thu, 6 Mar 2014 20:16:49 +0000 (17:16 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Thu, 6 Mar 2014 20:16:49 +0000 (17:16 -0300)
manifests/init.pp

index 45383b4e13222356e6abf5c1f9ecf2d1ccdb0518..6382bdfbaee46860fe68c3e32a157f8a244946d2 100644 (file)
@@ -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", ]