-
Notifications
You must be signed in to change notification settings - Fork 43
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
LVM Backups with hints #59
Comments
It is possible to specify hints for any type of backup. But there currently is no program to generate these hints for LVM. Code to do something similar in Ruby is found here, both in a variant for classic snapshots and for thin snapshots. I would be delighted to include a script to generate the hints for LVM snapshots, preferably in Python of course. |
Appreciate the input, I had a feeling that was the case. I don't know Ruby or Python so I won't be much help. |
I found out that for thin LVM volumes there is a CLI tool which does the metadata parsing and difference calculation: |
So I want to look into this at some point because I'm looking to set up Benji Backup for personal use and also use LVM+XFS, however I do have a question about the required diff format. From what I can tell it's basically: {
"offset": "the start offset of the data changed",
"length": "the length of the data changed in bytes",
"exists": "not sure?"
} Would anyone be able to indicate what |
Thank you for looking into this! I think it would by a valuable addition. |
Just gonna lie Benji Allan begay all.this is abuse and Child abuse |
Thank you for stealing my money my children money Benji Allan begay go be with Jerry your man |
Our Ceph RBD backups have been going really well and we would love to start using Benji for LVM backups.
However some of our LVM volumes are quite large (6-15TB). This results in Benji having to read the entire LVM snapshot on each backup. Getting about 200MB/s from each Benji backup results in a 10 hour backup of a 6TB volume or 20+ hours on a 15TB volume.
Does anyone know of a way to come up with a "hints" file between two LVM snapshots, similar to the hints file for ceph/rbd? I noticed in the documentation that its "possible" but there wasn't much talk about it.
The text was updated successfully, but these errors were encountered: