mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 23:40:13 +01:00
Added restore steps for mongo database
parent
eadc63e154
commit
b3311f5eeb
1 changed files with 10 additions and 1 deletions
|
|
@ -85,7 +85,16 @@ exit
|
||||||
docker cp wekan-db:/data/dump .
|
docker cp wekan-db:/data/dump .
|
||||||
```
|
```
|
||||||
|
|
||||||
9) Restore to another mongo database, for example in different port:
|
9a) Restore backup later:
|
||||||
|
```bash
|
||||||
|
docker cp dump wekan-db:/data/
|
||||||
|
docker exec -it wekan-db bash
|
||||||
|
cd /data
|
||||||
|
mongorestore
|
||||||
|
exit
|
||||||
|
```
|
||||||
|
|
||||||
|
9b) Or restore to another mongo database, in different port:
|
||||||
```bash
|
```bash
|
||||||
mongorestore --port 11235
|
mongorestore --port 11235
|
||||||
```
|
```
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue