fix ISO8601 datetime format for dump

This commit is contained in:
Davide Alberani 2017-11-28 21:20:20 +01:00
parent 291a77e532
commit ade59480d9

View file

@ -2,5 +2,5 @@
mongodump --host mongo --out /tmp/ --db eventman
cd /tmp
tar cfz /data/eventman-dump-`date +'%Y-%m-%dT%H.%M.%S'`.tgz eventman
tar cfz /data/eventman-dump-`date +'%Y-%m-%dT%H:%M:%S'`.tgz eventman