From: Tom Hughes Date: Mon, 27 Mar 2023 08:36:54 +0000 (+0100) Subject: Suppress file changed warnings during SOTM backup X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/8a9f373d37ebfd2be884e4ca66526a0a5151817a?hp=164c98b7d580e6e937210d1c46a7ba5c5b3cbdb3 Suppress file changed warnings during SOTM backup --- diff --git a/cookbooks/stateofthemap/templates/default/backup.cron.erb b/cookbooks/stateofthemap/templates/default/backup.cron.erb index 20ff15888..d7742f449 100644 --- a/cookbooks/stateofthemap/templates/default/backup.cron.erb +++ b/cookbooks/stateofthemap/templates/default/backup.cron.erb @@ -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