[PVE-User] VZDump and Ceph Snapshots

Alexandre DERUMIER aderumier at odiso.com
Wed Aug 29 08:11:08 CEST 2018


Hi,

vma backup only work on running vm (attached disk),
so no, it's not possible currently.

Currently, I'm doing ceph backup to another remote ceph backup cluster
with custom script


* Start 
* guest-fs-freeze 
* rbd snap $image at vzdump_$timstamp 
* guest-fs-thaw 
* rbd export $image at vzdump_$timstamp  | rbd import ....
....

works very fine. (with incremental backup)


I'll try to put my code on github soon.

(I have a nice gui/cli too, to restore a full vm, or some files inside the backup)





----- Mail original -----
De: "Mark Schouten" <mark at tuxis.nl>
À: "proxmoxve" <pve-user at pve.proxmox.com>
Envoyé: Mardi 28 Août 2018 16:27:42
Objet: [PVE-User] VZDump and Ceph Snapshots

Hi, 

I'm currently using vzdump with the snapshot method to periodically 
generate vma-files for disasterrecovery. vzdump in snapshot mode 
instructs Qemu to start backing up the disk to a specific location, and 
while doing so, VM users can suffer poor performance. 

We run practically all VMs on Ceph storage, which has snapshot 
functionality. 

Would it be feasable to alter VZDump to use the following flow: 

* Start 
* guest-fs-freeze 
* rbd snap $image at vzdump_$timstamp 
* guest-fs-thaw 
* qemu-img convert -O raw rbd:$image at vzdump_$timstamp $tmpdir 
* vma create 
* rbd snap rm $image at vzdump_$timstamp 
* Done 

Regards, 

-- 
Kerio Operator in de Cloud? https://www.kerioindecloud.nl/ 
Mark Schouten | Tuxis Internet Engineering 
KvK: 61527076 | http://www.tuxis.nl/ 
T: 0318 200208 | info at tuxis.nl 


_______________________________________________ 
pve-user mailing list 
pve-user at pve.proxmox.com 
https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user 




More information about the pve-user mailing list