-
-
Notifications
You must be signed in to change notification settings - Fork 46
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
Feature/PR proposal: Merge incremental backups into full (synthetic full backup) #149
Comments
I think it might be easier to implement if #57 is solved first, then you Could rebase the images as required using regular qemu utils. Currently i don't intend to implement such a feature with the used backup format. |
Hmmm, that seems interesting. I know python well enough but I'm a noob when it comes to KVM/QEMU. I'll try to look into the other issue. |
In issue #100 something similar was discussed. Using virtnbdrestore to create an "synthetic full backup" which serves as base for further incremental backups. With the current stream based backup format its a bit more complicated as if the qcow based backup format would be in place (#57) Basically the workflow with the current backup format could look like:
The
From this point on the user can schedule the next backup runs:
and continue with incremental backups into this new folder, remove the old folder to free up some disk space. It could also considered that --create-synthetic-full operates on the same directory (does an in-place merge to the existing full backup file) but then, if something goes wrong during this non-atomic operation you're likely to nuke your current full backup. I understand the point in having synthetic full backups if your full backup takes very long and is an pain in the ass. |
I don't know if this is possible at all, but it would be nice if incrementals could be merged back into a full backup.
For our use case, a month of backups is enough. Being able to have a rolling full backup where the oldest incremental is merged with the full would save on disk space for two months of data.
Again, not something we require, but it would be cool.
The text was updated successfully, but these errors were encountered: