Fix file path to db-backup

This commit is contained in:
Jeffrey Serio 2024-06-25 04:09:22 -05:00
parent 521c1f9a82
commit ca7cb67a65

View File

@ -20,8 +20,8 @@ if ! rclone copy --transfers=4 /home/mastodon/live/public/system minio:mastodata
exit 1 exit 1
fi fi
if ! rclone copy "/home/mastodon/${DB_FILENAME}" minio:mastodata; then if ! rclone copy "${DB_FILENAME}" minio:mastodata; then
echo "Error rcloning /home/mastodon/${DB_FILENAME} to MinIO instance" echo "Error rcloning ${DB_FILENAME} to MinIO instance"
exit 1 exit 1
fi fi