We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent efa48a0 commit 5662a3aCopy full SHA for 5662a3a
scripts/docker-persistent.sh
@@ -58,7 +58,7 @@ if [ "$ACTION" = "backup" ]; then
58
fi
59
elif [ "$ACTION" = "list" ]; then
60
echo "# Listing backups in $BACKUP_DATA_IMAGE"
61
- docker run -it --rm --volumes-from $BACKUP_DATA_IMAGE --entrypoint /bin/find $DOCKER_IMAGE $BACKUP_DIR/data -maxdepth 2 -type d -name "[0-9]*_*"
+ docker run -it --name $BACKUP_IMAGE --rm --volumes-from $BACKUP_DATA_IMAGE --entrypoint /bin/find $DOCKER_IMAGE $BACKUP_DIR/data -maxdepth 2 -type d -name "[0-9]*_*"
62
elif [ "$ACTION" = "get" ]; then
63
DIR=$2
64
[ -z $DIR ] && echo "Usage: $0 get [backup path]" && exit 1
0 commit comments