From: Tom Hughes Date: Sat, 18 Mar 2023 07:36:53 +0000 (+0000) Subject: Suppress file changed warnings during discourse backup X-Git-Url: https://git.openstreetmap.org/chef.git/commitdiff_plain/61951e03b21028b3df147b878b6cb266bacc07ac Suppress file changed warnings during discourse backup --- diff --git a/cookbooks/community/templates/default/backup.cron.erb b/cookbooks/community/templates/default/backup.cron.erb index 994485c4d..4cb919a76 100644 --- a/cookbooks/community/templates/default/backup.cron.erb +++ b/cookbooks/community/templates/default/backup.cron.erb @@ -14,7 +14,7 @@ ln -s /srv/community.openstreetmap.org/shared/data/postgres_backup $T/community- export RSYNC_RSH="ssh -ax" -nice tar --create --numeric-owner --dereference --directory=$T community-$D | nice gzip --rsyncable -9 > $T/$B +nice tar --create --numeric-owner --dereference --directory=$T --warning=no-file-changed community-$D | nice gzip --rsyncable -9 > $T/$B nice rsync --preallocate --fuzzy $T/$B backup::backup rm -rf $T