]> git.openstreetmap.org Git - chef.git/commitdiff
Disable file changed warnings for mailman backup
authorTom Hughes <tom@compton.nu>
Thu, 13 Aug 2020 17:54:37 +0000 (18:54 +0100)
committerTom Hughes <tom@compton.nu>
Thu, 13 Aug 2020 17:54:37 +0000 (18:54 +0100)
cookbooks/mailman/templates/default/backup.cron.erb

index 25c1f7cab25a3e67abf79fafecb51c581f90176f..a876ae81edd5747c4eeb473b64ffbafd7b4c8cb0 100644 (file)
@@ -11,7 +11,7 @@ ln -s /var/lib/mailman $T/lists-$D/mailman
 
 export RSYNC_RSH="ssh -ax"
 
-nice tar --create --dereference --directory=$T lists-$D | nice gzip --rsyncable -9 > $T/$B
+nice tar --create --dereference --warning=no-file-changed --directory=$T lists-$D | nice gzip --rsyncable -9 > $T/$B
 nice rsync --preallocate --fuzzy $T/$B backup::backup
 
 rm -rf $T