]> git.openstreetmap.org Git - chef.git/commitdiff
Disable file removed warnings for munin backup
authorTom Hughes <tom@compton.nu>
Mon, 17 Aug 2020 17:34:19 +0000 (18:34 +0100)
committerTom Hughes <tom@compton.nu>
Mon, 17 Aug 2020 17:34:53 +0000 (18:34 +0100)
cookbooks/munin/templates/default/backup.cron.erb

index a8d3a5671e3944ceb5dd81970c6fe9c9076eae8e..13d4228cecb3bab14b035acffbaf2880f16ec853 100644 (file)
@@ -12,7 +12,7 @@ ln -s /var/lib/munin/*.storable $T/munin-$D
 
 export RSYNC_RSH="ssh -ax"
 
-nice tar --create --dereference --directory=$T munin-$D | nice gzip --rsyncable -9 > $T/$B
+nice tar --create --dereference --directory=$T --warning=no-file-removed munin-$D | nice gzip --rsyncable -9 > $T/$B
 nice rsync --preallocate --fuzzy $T/$B backup::backup
 
 rm -rf $T