mirror of
https://codeberg.org/hyperreal/admin-scripts
synced 2024-11-25 09:03:41 +01:00
Fix file path to db-backup
This commit is contained in:
parent
521c1f9a82
commit
ca7cb67a65
@ -20,8 +20,8 @@ if ! rclone copy --transfers=4 /home/mastodon/live/public/system minio:mastodata
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if ! rclone copy "/home/mastodon/${DB_FILENAME}" minio:mastodata; then
|
||||
echo "Error rcloning /home/mastodon/${DB_FILENAME} to MinIO instance"
|
||||
if ! rclone copy "${DB_FILENAME}" minio:mastodata; then
|
||||
echo "Error rcloning ${DB_FILENAME} to MinIO instance"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user