mirror of
https://codeberg.org/yeentown/barkey
synced 2024-11-25 14:05:14 +00:00
Update backup.md
This commit is contained in:
parent
77979ec37b
commit
e93a2991a9
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue