forked from FoundKeyGang/FoundKey
Update backup.md
This commit is contained in:
parent
8c355b4223
commit
6e8f309b5d
1 changed files with 7 additions and 0 deletions
|
@ -7,3 +7,10 @@ $ mongodump --archive=db-backup
|
||||||
```
|
```
|
||||||
|
|
||||||
Make sure **mongodb-tools** installed.
|
Make sure **mongodb-tools** installed.
|
||||||
|
|
||||||
|
Restore
|
||||||
|
-------
|
||||||
|
|
||||||
|
``` shell
|
||||||
|
$ mongorestore --archive=db-backup
|
||||||
|
```
|
||||||
|
|
Loading…
Reference in a new issue