mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-27 01:13:08 +02:00
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