diff --git a/bin/server0_backup b/bin/server0_backup index a0260e4..13a0465 100755 --- a/bin/server0_backup +++ b/bin/server0_backup @@ -9,7 +9,7 @@ sudo -u mastodon mv -v /home/mastodon/db-backup.sql /home/mastodon/db-backup.sql sudo -u mastodon pg_dump -U mastodon -Fc mastodon_production -p 5432 -f /home/mastodon/db-backup.sql rclone sync -c /etc minio:server0-backup/etc/ -rclone sync -c /var/log minio:server0-backup/var-log/ +rclone copy /var/log minio:server0-backup/var-log/ rclone sync -c /home/jas minio:server0-backup/home-jas/ rclone copy -c /home/mastodon/db-backup.sql minio:server0-backup/home-mastodon/ rclone copy -c /home/mastodon/live/.env.production minio:server0-backup/home-mastodon/