This commit is contained in:
Your Name
2025-05-05 21:12:50 +12:00
parent e727fc518f
commit 63490d9ce3
16 changed files with 127 additions and 75 deletions

View File

@ -9,7 +9,7 @@ BACKUP_FILE="$1"
echo "Uninstalling service before restore..."
bash ./uninstall.sh || _die "Failed to uninstall service before restore"
autorestore "path=${LOCAL_DATA_FOLDER}" $1 $2 || _die "Failed to restore data folder from backup"
autorestore "$1" "$2" "path=${LOCAL_DATA_FOLDER}" || _die "Failed to restore data folder from backup"
echo "Restore complete. Reinstalling service..."
bash ./install.sh || _die "Failed to reinstall service after restore"