Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wekan.database-restore cannot restoring backup from db-backups #124

Open
ram19890 opened this issue May 21, 2020 · 0 comments
Open

wekan.database-restore cannot restoring backup from db-backups #124

ram19890 opened this issue May 21, 2020 · 0 comments

Comments

@ram19890
Copy link

'$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`

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!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant