mpalmer / lvmsync

Synchronise LVM LVs across a network by sending only snapshotted changes
http://theshed.hezmatt.org/lvmsync
GNU General Public License v3.0
380 stars 60 forks source link

Daily Snapbacks #48

Open airstand opened 8 years ago

airstand commented 8 years ago

Hello, I am a little confused about restoring snapbacks in reverse order. If you want to create snapbacks every 6 hours .. you will have 4 snapback files every day.... How we have to apply them if we have 3 days with 4 files (total 12 snapback files) ? Lets take for example one machine named VM1. You have snapbacks like: 01022016/VM1/1.raw 01022016/VM1/2.raw 01022016/VM1/3.raw 01022016/VM1/4.raw

02022016/VM1/1.raw 02022016/VM1/2.raw 02022016/VM1/3.raw 02022016/VM1/4.raw

03022016/VM1/1.raw 03022016/VM1/2.raw 03022016/VM1/3.raw 03022016/VM1/4.raw

These are backups for example for Monday, Tuesday and Wednesday. In Thursday I want to apply the state of LVM till Wednesday (03022016/VM1/4.raw ) and I want to remove all these snapback files, after that I want to start creating the new 3 daily snapbacks.

Could you please let me know how?

Regards