Add aws s3 sync for Mastodon

This commit is contained in:
Jeffrey Serio 2024-08-07 12:23:07 -05:00
parent eba5a00334
commit dcea02104a

View File

@ -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/db-backup.sql minio:server0-backup/
rclone copy -c /home/mastodon/live/.env.production 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 exit 0