Is there any special handling of mysql databases required when using PBS to backup VMs via PVE?
Keeping in mind that I'm no mysql expert (and not a backup expert either!):
With Acronis backups, which need a client installed in the VM, a freeze script is launched that I think freezes mysql tables while /var/lib/mysql is backed up, then thaws them. At any rate it does a "flushes tables with read lock" at some point.
With PBS, which requires no client for VMs, obviously this doesn't happen.
I'm therefore wondering what happens when PBS (and for that matter vzbackup) backups up /var/lib/mysql. Is there potential for inconsistency in the backup?
We do regular mysqldumps in the VMs at the moment, but not daily.
Keeping in mind that I'm no mysql expert (and not a backup expert either!):
With Acronis backups, which need a client installed in the VM, a freeze script is launched that I think freezes mysql tables while /var/lib/mysql is backed up, then thaws them. At any rate it does a "flushes tables with read lock" at some point.
With PBS, which requires no client for VMs, obviously this doesn't happen.
I'm therefore wondering what happens when PBS (and for that matter vzbackup) backups up /var/lib/mysql. Is there potential for inconsistency in the backup?
We do regular mysqldumps in the VMs at the moment, but not daily.