From dcea02104a7befe2196fdfb53c4220a4bb2fca35 Mon Sep 17 00:00:00 2001 From: Jeffrey Serio <23226432+hyperreal64@users.noreply.github.com> Date: Wed, 7 Aug 2024 12:23:07 -0500 Subject: [PATCH] Add aws s3 sync for Mastodon --- bin/server0_backup | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/server0_backup b/bin/server0_backup index 74a0c4c..5850917 100755 --- a/bin/server0_backup +++ b/bin/server0_backup @@ -47,4 +47,6 @@ rclone sync "${TEMP_DIR}"/ minio:server0-backup/ rclone copy -c /home/mastodon/db-backup.sql minio:server0-backup/ rclone copy -c /home/mastodon/live/.env.production minio:server0-backup/ +aws s3 sync --acl public-read /home/mastodon/live/public/system s3://mastodata --endpoint=http://100.82.153.83:9000 + exit 0