Update backup.md
This commit is contained in:
parent
77979ec37b
commit
e93a2991a9
|
@ -7,7 +7,7 @@ Make sure **mongodb-tools** installed.
|
|||
|
||||
In your 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/).
|
||||
|
|
Loading…
Reference in a new issue