diff --git a/.gitignore b/.gitignore index 66f35aee..eba6677a 100644 --- a/.gitignore +++ b/.gitignore @@ -16,3 +16,4 @@ /pillar/pillar.egg-info/ /pillar/google_app.json profile.stats +/dump/ diff --git a/backup-db.sh b/backup-db.sh new file mode 100755 index 00000000..66e15c9e --- /dev/null +++ b/backup-db.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +mongodump -h localhost:27018 -d eve --out dump/$(date +'%Y-%m-%d-%H%M') --excludeCollection tokens