From e3f613f4d0401d9485d3bdede36dcc742a5330f6 Mon Sep 17 00:00:00 2001 From: Jeffrey Serio <23226432+hyperreal64@users.noreply.github.com> Date: Mon, 22 Jul 2024 21:31:27 -0500 Subject: [PATCH] Use copy instead of sync --- bin/server0_backup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/server0_backup b/bin/server0_backup index 4bf4135..f9be21a 100755 --- a/bin/server0_backup +++ b/bin/server0_backup @@ -10,7 +10,7 @@ trap 'rm -rv /home/mastodon/db-backup.sql.temp' EXIT sudo -u mastodon mv -v /home/mastodon/db-backup.sql /home/mastodon/db-backup.sql.temp sudo -u mastodon pg_dump -U mastodon -Fc mastodon_production -p 5432 -f /home/mastodon/db-backup.sql -rclone sync -L -c /etc minio:server0-backup/etc/ +rclone copy -L /etc minio:server0-backup/etc/ mkdir "${TEMP_DIR}/log" rsync -avz /var/log/ "${TEMP_DIR}/log"