Freeze break: small exclude change for backups

Kevin Fenzi kevin at scrye.com
Fri May 17 16:36:21 UTC 2013


Greetings. 

Backups of lockbox01 are unfortunately backing up .snapshot directories
and their contents. This pulls in a ton of stuff and makes backups take
forever and contain things we don't want. 

This one line change should hopefully make it exclude .snapshot dirs.
(Apparently it needs a trailing / to search directory names). 

+1s?

kevin
--
diff --git a/modules/bacula5/templates/bacula-dir.conf.erb
b/modules/bacula5/templates/bacula-dir.co index 9f5b547..d2b8b2d 100644
--- a/modules/bacula5/templates/bacula-dir.conf.erb
+++ b/modules/bacula5/templates/bacula-dir.conf.erb
@@ -453,7 +453,7 @@ FileSet {
     File = /dev
     File = /sys
     File = /.swap
-    File = .snapshot
+    File = .snapshot/
     File = /mnt/fedora/app/fi-repo/rhel
     File = /var/tmp
   }
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.fedoraproject.org/pipermail/infrastructure/attachments/20130517/0d31a999/attachment.sig>


More information about the infrastructure mailing list