eventman/docker-tools/restore.sh
2017-11-28 22:25:11 +01:00

4 lines
226 B
Bash
Executable file

#!/bin/sh
docker build -t eventman-dump-and-restore .
docker run --name eventman-restore --rm --network="eventman_default" -v `pwd`:/data --link=eventman_eventman-mongo_1:eventman-mongo eventman-dump-and-restore --restore $1