Tidy
This commit is contained in:
@ -12,9 +12,7 @@ bash ./uninstall.sh || _die "Failed to uninstall service before restore"
|
||||
|
||||
echo "Restoring data for ${CONTAINER_NAME} from ${BACKUP_FILE}..."
|
||||
|
||||
if ! autorestore "volume=${VOLUME_NAME}" "$1" "$2"; then
|
||||
_die "Failed to restore data from backup file"
|
||||
fi
|
||||
autorestore "$1" "$2" "volume=${VOLUME_NAME}" || _die "Failed to restore data from backup file"
|
||||
|
||||
echo "Restore complete. Reinstalling service..."
|
||||
|
||||
|
Reference in New Issue
Block a user