eventman/docker-tools/mongodump/run.sh
2017-11-28 21:20:20 +01:00

6 lines
138 B
Bash
Executable file

#!/bin/sh
mongodump --host mongo --out /tmp/ --db eventman
cd /tmp
tar cfz /data/eventman-dump-`date +'%Y-%m-%dT%H:%M:%S'`.tgz eventman