From f0fa99fcef137a57730adc818c9ebaa31e117066 Mon Sep 17 00:00:00 2001 From: Jeffrey Serio <23226432+hyperreal64@users.noreply.github.com> Date: Sun, 21 Jul 2024 21:34:40 -0500 Subject: [PATCH] Update server0_backup --- bin/server0_backup | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/bin/server0_backup b/bin/server0_backup index 7a7b600..a0260e4 100755 --- a/bin/server0_backup +++ b/bin/server0_backup @@ -8,10 +8,10 @@ trap "rm -v /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 -c /etc wasabi:server0-backup/etc/ -rclone sync -c /var/log wasabi:server0-backup/var-log/ -rclone sync -c /home/jas wasabi:server0-backup/home-jas/ -rclone copy -c /home/mastodon/db-backup.sql wasabi:server0-backup/home-mastodon/ -rclone copy -c /home/mastodon/live/.env.production wasabi:server0-backup/home-mastodon/ +rclone sync -c /etc minio:server0-backup/etc/ +rclone sync -c /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/ exit 0