]> git.openstreetmap.org Git - chef.git/commitdiff
Suppress file changed warnings during discourse backup
authorTom Hughes <tom@compton.nu>
Sat, 18 Mar 2023 07:36:53 +0000 (07:36 +0000)
committerTom Hughes <tom@compton.nu>
Sat, 18 Mar 2023 07:38:11 +0000 (07:38 +0000)
cookbooks/community/templates/default/backup.cron.erb

index 994485c4d4fa39651beb60d7215e94ab223fb11e..4cb919a769a1f35a96afa9d4bec4834212a24286 100644 (file)
@@ -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