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"