From ca7cb67a6583c0fd9c559719b622eb46a260a0d6 Mon Sep 17 00:00:00 2001 From: Jeffrey Serio <23226432+hyperreal64@users.noreply.github.com> Date: Tue, 25 Jun 2024 04:09:22 -0500 Subject: [PATCH] Fix file path to db-backup --- bin/mastodon-to-minio | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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