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

Create DB backups without interrupting operation #6

Open
cespare opened this issue Dec 3, 2014 · 0 comments
Open

Create DB backups without interrupting operation #6

cespare opened this issue Dec 3, 2014 · 0 comments

Comments

@cespare
Copy link
Collaborator

cespare commented Dec 3, 2014

Right now we have to stop the DB to make a backup or copy of the DB. But it would be quite easy to implement this in the DB itself: we just need to take a snapshot of the current DB static table state, and then copy all the segment files to the backup location. We need to wait on the backup to finish before deleting segments in the same way we wait for readers.

We could even do this same thing but make hard links rather than copying the files to do an almost instantaneous full DB snapshot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant