Does ZFS replication call qemu guest-fsfreeze?

mailinglists

Renowned Member
Mar 14, 2012
641
66
93
Hi,

does ZFS replication (GUI option) call qemu geust-fsfreeze upon each sync? It seems so to me.
Is it really necessary, as it seems that VMs without qemu agent enabled are replicated just fine?
 
Hi,

Yes it does. I suggest to keep guest-fsfreeze in order to have consistent backups.
Mandatory for SQL databases. I use it to backup a ZFS disk for my SQL Server 2016 (every 2 hours). It locks FS only 2 or 3 seconds.

If it's not the point, you could create your own scripts...
 
Wow, that is a fast reply TwiX. :)

I also do backups with my own scripts (need more history on backup server than on prod.) where I do not lock fs of guest.
Unless database spans across multiple ZFS volumes, snapshots should be atomic and databases as well as journaled fs shoud have no problem.
But I will leave it on, unless it starts to become a real problem (I do 1 minute sync interval). I just investigated where does these guest fs freezes come from.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!