fix ISO8601 datetime format for dump
This commit is contained in:
parent
291a77e532
commit
ade59480d9
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue