mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 15:30:13 +01:00
use absolute directory to avoid confusion
parent
3fff34a7f9
commit
9a6abb35c9
1 changed files with 2 additions and 2 deletions
|
|
@ -110,13 +110,13 @@ docker cp wekan-db:/dump .
|
|||
docker cp dump wekan-db:/data/
|
||||
docker exec -it wekan-db bash
|
||||
cd /data
|
||||
mongorestore --drop --db wekan dump/wekan/
|
||||
mongorestore --drop --db wekan /data/dump/wekan/
|
||||
exit
|
||||
```
|
||||
|
||||
That dbname can be for example wekan:
|
||||
```
|
||||
mongorestore --drop --db wekan dump/wekan/
|
||||
mongorestore --drop --db wekan /data/dump/wekan/
|
||||
```
|
||||
|
||||
9b) Or restore to another mongo database, in different port:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue