forked from FoundKeyGang/FoundKey
Update backup.md
This commit is contained in:
parent
ac97cb358d
commit
8b60f7c6a2
1 changed files with 4 additions and 0 deletions
|
@ -10,9 +10,13 @@ In your shell:
|
||||||
$ mongodump --archive=db-backup
|
$ mongodump --archive=db-backup
|
||||||
```
|
```
|
||||||
|
|
||||||
|
For details, plese see [mongodump docs](https://docs.mongodb.com/manual/reference/program/mongodump/).
|
||||||
|
|
||||||
Restore
|
Restore
|
||||||
-------
|
-------
|
||||||
|
|
||||||
``` shell
|
``` shell
|
||||||
$ mongorestore --archive=db-backup
|
$ mongorestore --archive=db-backup
|
||||||
```
|
```
|
||||||
|
|
||||||
|
For details, please see [mongorestore docs](https://docs.mongodb.com/manual/reference/program/mongorestore/).
|
||||||
|
|
Loading…
Reference in a new issue