4 lines
198 B
Bash
Executable file
4 lines
198 B
Bash
Executable file
#!/bin/sh
|
|
|
|
docker build -t ibt2-dump-and-restore .
|
|
docker run --name ibt2-restore --rm --network="ibt2_default" -v `pwd`:/data --link=ibt2_ibt2-mongo_1:ibt2-mongo ibt2-dump-and-restore --restore $1
|