How does PBS backup ensure point-in-time consistent filesystems and ZVOL states?

carsten2

Renowned Member
Mar 25, 2017
277
29
68
55
How does the proxmox backup client ensure a point-in-time-consistent backup? From the backup client syntax I only see that a filesystem or image (no snapshot) is specified, which does not ensure that the filesystem is not changed during backup. This could lead to an inconsistent backup.
 
Last edited:
for backups of pve ct/vm see the reference documentation for backups https://pve.proxmox.com/wiki/Backup_and_Restore
especially the modes (stop/suspend/snapshot)

for 'host' backups, there is no consistency check and the admin has to ensure that it is ok (like when you use rsync for example)
 
If snapshot mode for containers is used, how does the backup client access the snapshot (via the hidden .zfs directory?).
Is it possible to specifiy this for host backups also?
 
via the hidden .zfs directory?
no the snapshot subvolumes get mounted by us and we sync from there

Is it possible to specifiy this for host backups also?
since you have to script/schedule the call yourself anyway at the moment, you can simply include that
in the proxmox-backup-client call

e.g.

* make zfs snapshot
* mount it somewhere
* call proxmox-backup-client
* unmount the snapshot
* delete snapshot
 

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!