eventman/docker-tools/restore.sh

4 lines
228 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"