I recently discovered Promox VE and made many tests with it. I really like it, and very probably will go in production with it (Windows and Linux VMs).
I am now testing VM backups and disaster recovery scenarios. I tried all three backup modes.
I would run VMs with web servers therefore I am concerned by downtimes.
Of course --snapshot (lvm) is interesting thanks to the no downtime.
But, despite what is stated, it does not seem correct to me that it
provide consistency. For exemple:
- if datas are cached in some disk write buffer while the snapshot occurs,
these datas would be lost.
- furthermore with a database, it seem to me that the snapshot could cut
a transaction and may save a database in an inconsistent state.
In other words, I would say that the snapshot dump provide only an O/S crash consistency
(VM image will boot). No filesystem consistency, non database consistency.
My idea is to add a fourth backup mode to vzdump: snapshot+suspend.
I mean : suspend the VM, make the snapshot, resume the VM, then save the snapshot.
This way, there should be a small downtime (a few seconds I hope), a filesystem consistency, and (I think) a database consistency.
Regarding the downtime, if not too long, connected clients may not even notice.
All comments or suggestions would be appreciated.
Thanks for this great product to Promox Team.
Phil Ten
I am now testing VM backups and disaster recovery scenarios. I tried all three backup modes.
I would run VMs with web servers therefore I am concerned by downtimes.
Of course --snapshot (lvm) is interesting thanks to the no downtime.
But, despite what is stated, it does not seem correct to me that it
provide consistency. For exemple:
- if datas are cached in some disk write buffer while the snapshot occurs,
these datas would be lost.
- furthermore with a database, it seem to me that the snapshot could cut
a transaction and may save a database in an inconsistent state.
In other words, I would say that the snapshot dump provide only an O/S crash consistency
(VM image will boot). No filesystem consistency, non database consistency.
My idea is to add a fourth backup mode to vzdump: snapshot+suspend.
I mean : suspend the VM, make the snapshot, resume the VM, then save the snapshot.
This way, there should be a small downtime (a few seconds I hope), a filesystem consistency, and (I think) a database consistency.
Regarding the downtime, if not too long, connected clients may not even notice.
All comments or suggestions would be appreciated.
Thanks for this great product to Promox Team.
Phil Ten