mongo dump and restore database

#1012
Raw
Author
Anonymous
Created
Feb. 9, 2024, 1:07 p.m.
Expires
Never
Size
170 bytes
Hits
73
Syntax
None
Private
No
```bash
mongodump mongodb+srv://<username>:<password>>@<db connectionstring>
```

```bash
mongorestore --drop mongodb://localhost:27017
```