Compare commits
1 commit
fad0b9d526
...
166a947497
Author | SHA1 | Date | |
---|---|---|---|
|
166a947497 |
|
@ -12,7 +12,7 @@ SOURCE_DIR="/volumes/portainer"
|
|||
|
||||
# Stop portainer container
|
||||
log "Stopping portainer container..."
|
||||
docker stop $APP_CONTAINER || { log "Error: Failed to stop portainer."; exit 1; }
|
||||
docker stop "$APP_CONTAINER" || { log "Error: Failed to stop portainer."; exit 1; }
|
||||
|
||||
# Backup all files to target destination
|
||||
log "Backing up portainer files (including the SQLite database)..."
|
||||
|
|
Loading…
Reference in a new issue