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

I'm trying to backup and restore a CouchDB following the official documentation: #4486

Open
hdisp opened this issue Mar 22, 2023 · 0 comments

Comments

@hdisp
Copy link

hdisp commented Mar 22, 2023

    I'm trying to backup and restore a CouchDB following the official documentation:

https://docs.couchdb.org/en/latest/maintenance/backups.html

"However, you can also copy the actual .couch files from the CouchDB data directory (by default, data/) at any time, without problem. CouchDB’s append-only storage format for both databases and secondary indexes ensures that this will work without issue."

Since the doc seems to not show clearly the steps to restore from files, i copy the entire data folder, build up a local CouchDB docker container and try to paste the files into container opt/couchdb/data folder.

But what i get when i start/restart the container and access localhost:5984 to see the databases, is: "This database failed to load."

lxciS

What should i do after copy the files? Paste directly should work? What is the right time to paste? Should i create the DBs before?

Thank you all

Originally posted by @defremont in #3436

MrS-E added a commit to MrS-E/CouchRecipes that referenced this issue Jun 1, 2023
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