Newest Wekan Snap docs wiki. Repo has old Snap code, newest Snap code at https://github.com/wekan/wekan , where is also more of newest WeKan docs at wiki.
using bind ip
2020-05-21T12:05:27.962+0530 creating intents for archive
2020-05-21T12:05:28.032+0530 reading metadata for wekan.meteor-migrations from archive '/var/snap/wekan/common/db-backups/wekan-20200521T114110.backup'
2020-05-21T12:05:28.033+0530 restoring wekan.meteor-migrations from archive '/var/snap/wekan/common/db-backups/wekan-20200521T114110.backup'
2020-05-21T12:05:28.092+0530 reading metadata for wekan.presences from archive '/var/snap/wekan/common/db-backups/wekan-20200521T114110.backup'
2020-05-21T12:05:28.092+0530 restoring wekan.presences from archive '/var/snap/wekan/common/db-backups/wekan-20200521T114110.backup'
2020-05-21T12:05:28.136+0530 error: multiple errors in bulk operation:
............
2020-05-21T12:05:28.435+0530 restoring indexes for collection wekan.customFields from metadata
2020-05-21T12:05:28.436+0530 reading metadata for wekan.unsaved-edits from archive '/var/snap/wekan/common/db-backups/wekan-20200521T114110.backup'
2020-05-21T12:05:28.436+0530 restoring wekan.unsaved-edits from archive '/var/snap/wekan/common/db-backups/wekan-20200521T114110.backup'
2020-05-21T12:05:28.469+0530 restoring indexes for collection wekan.checklists from metadata
2020-05-21T12:05:28.469+0530 restoring indexes for collection wekan.unsaved-edits from metadata
2020-05-21T12:05:28.470+0530 finished restoring wekan.customFields (0 documents)
2020-05-21T12:05:28.470+0530 finished restoring wekan.checklists (0 documents)
2020-05-21T12:05:28.470+0530 finished restoring wekan.unsaved-edits (0 documents)
2020-05-21T12:05:28.470+0530 done`
Here is an error log when I try to use the command wekan.database-restore to restore a specific backup after executing sudo snap stop wekan.wekan
I have no issues when trying to backup the database using mongodump and mongorestore --drop commands, I can backup using the wekan.database-backup command but cannot add the --drop for wekan.database-restore and cannot restore using this method, please help!
'$wekan.database-restore /var/snap/wekan/common/db-backups/wekan-20200521T114110.backup
using bind ip 2020-05-21T12:05:27.962+0530 creating intents for archive 2020-05-21T12:05:28.032+0530 reading metadata for wekan.meteor-migrations from archive '/var/snap/wekan/common/db-backups/wekan-20200521T114110.backup' 2020-05-21T12:05:28.033+0530 restoring wekan.meteor-migrations from archive '/var/snap/wekan/common/db-backups/wekan-20200521T114110.backup' 2020-05-21T12:05:28.092+0530 reading metadata for wekan.presences from archive '/var/snap/wekan/common/db-backups/wekan-20200521T114110.backup' 2020-05-21T12:05:28.092+0530 restoring wekan.presences from archive '/var/snap/wekan/common/db-backups/wekan-20200521T114110.backup' 2020-05-21T12:05:28.136+0530 error: multiple errors in bulk operation:
- E11000 duplicate key error collection: wekan.meteor-migrations index: id dup key: { : "vEatemkhxtuiFGrLn" }
- E11000 duplicate key error collection: wekan.meteor-migrations index: id dup key: { : "CmNNYhTRX4aheo2bp" }
- E11000 duplicate key error collection: wekan.meteor-migrations index: id dup key: { : "Larh5Te2Aq3zfRmbh" }
............ 2020-05-21T12:05:28.435+0530 restoring indexes for collection wekan.customFields from metadata 2020-05-21T12:05:28.436+0530 reading metadata for wekan.unsaved-edits from archive '/var/snap/wekan/common/db-backups/wekan-20200521T114110.backup' 2020-05-21T12:05:28.436+0530 restoring wekan.unsaved-edits from archive '/var/snap/wekan/common/db-backups/wekan-20200521T114110.backup' 2020-05-21T12:05:28.469+0530 restoring indexes for collection wekan.checklists from metadata 2020-05-21T12:05:28.469+0530 restoring indexes for collection wekan.unsaved-edits from metadata 2020-05-21T12:05:28.470+0530 finished restoring wekan.customFields (0 documents) 2020-05-21T12:05:28.470+0530 finished restoring wekan.checklists (0 documents) 2020-05-21T12:05:28.470+0530 finished restoring wekan.unsaved-edits (0 documents) 2020-05-21T12:05:28.470+0530 done`