diff --git a/bin/mastodon-to-minio b/bin/mastodon-to-minio index 362e10f..7fee144 100755 --- a/bin/mastodon-to-minio +++ b/bin/mastodon-to-minio @@ -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