]> git.openstreetmap.org Git - chef.git/commitdiff
Suppress file changed warnings during SOTM backup
authorTom Hughes <tom@compton.nu>
Mon, 27 Mar 2023 08:36:54 +0000 (09:36 +0100)
committerTom Hughes <tom@compton.nu>
Mon, 27 Mar 2023 08:36:54 +0000 (09:36 +0100)
cookbooks/stateofthemap/templates/default/backup.cron.erb

index 20ff1588854af2be8ef08dcca12af29145d2a99f..d7742f449ea73faabc51484ae81f6b907bd32ef0 100644 (file)
@@ -25,7 +25,7 @@ ln -s /srv/2016.stateofthemap.org $T/sotm-$D/www2016
 
 export RSYNC_RSH="ssh -ax"
 
-nice tar --create --dereference --directory=$T sotm-$D | nice gzip --rsyncable -9 > $T/$B
+nice tar --create --dereference --directory=$T --warning=no-file-changed sotm-$D | nice gzip --rsyncable -9 > $T/$B
 nice rsync --preallocate --fuzzy $T/$B backup::backup
 
 rm -rf $T