From 5b612efb924daea66ca16489ce0613b857546db5 Mon Sep 17 00:00:00 2001 From: Derek Smith Date: Sun, 19 Mar 2023 13:44:09 -0400 Subject: [PATCH] Fix backup/restore bug. --- www/backup_path.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/backup_path.sh b/www/backup_path.sh index 793f23e..456e31d 100755 --- a/www/backup_path.sh +++ b/www/backup_path.sh @@ -22,7 +22,7 @@ mkdir -p "$SSHFS_PATH" sshfs "$PRIMARY_WWW_FQDN:$REMOTE_BACKUP_PATH" "$SSHFS_PATH" # rsync the files from the remote server to our local backup path. -rsync -av "$SSHFS_PATH/" "$LOCAL_BACKUP_PATH/" +rsync -av "$SSHFS_PATH/" "$LOCAL_BACKUP_PATH" # step 4: unmount the SSHFS filesystem and cleanup. umount "$SSHFS_PATH"