Update backup.md
This commit is contained in:
parent
77979ec37b
commit
e93a2991a9
@ -7,7 +7,7 @@ Make sure **mongodb-tools** installed.
|
|||||||
|
|
||||||
In your shell:
|
In your shell:
|
||||||
``` shell
|
``` shell
|
||||||
$ mongodump --archive=db-backup
|
$ mongodump --archive=db-backup -u <YourUserName> -p <YourPassword>
|
||||||
```
|
```
|
||||||
|
|
||||||
For details, plese see [mongodump docs](https://docs.mongodb.com/manual/reference/program/mongodump/).
|
For details, plese see [mongodump docs](https://docs.mongodb.com/manual/reference/program/mongodump/).
|
||||||
|
Loading…
Reference in New Issue
Block a user