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

Document update conflict upon restore #79

Open
AlexTM84 opened this issue Dec 21, 2018 · 3 comments
Open

Document update conflict upon restore #79

AlexTM84 opened this issue Dec 21, 2018 · 3 comments

Comments

@AlexTM84
Copy link

Hi,
I'm trying to use your script to dump dbs: everything's fine during export, but when I try to restore the DB,

["... WARN: CouchDB Reported an error during import - Attempt 1/3 - Retrying...","... WARN: CouchDB Reported an error during import - Attempt 2/3 - Retrying...","... ERROR: CouchDB Reported: {"error":"conflict","reason":"Document update conflict."}"]

Am I missing something? Do I have to delete records manually before restore?
Thank you

@nicknaychov
Copy link

I am having the exact same issue. Did you find any solution?
Thanks

@schwichti
Copy link

Any updates on this issue? Did you restore the data into an empty database or non-empty? I am just speculating, but maybe you get conflicts when you want to restore into a non-empty database?

@dmitry-cherkas
Copy link

dmitry-cherkas commented Feb 17, 2023

For anyone interested, I was able to work around the issue by manually removing the _design documents from the backup.

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

4 participants