Backup PVE root (ZFS)?

virtualbitz

Active Member
Nov 6, 2020
39
5
28
34
This may be a noob question, but is it possible to backup the root of a PVE server (root is on ZFS)? Would that even be a good idea? Could such a backup even be restored properly? The only reason I ask is that I host file shares from a bare metal PVE server (separate zpool) and would like to back some of the data related to samba and kerberos that live on the root of the PVE box. It's a single host config, so if the host was completely lost I would like to be able to procure a new box and restore everything like nothing happened. Is this feasible or is there a better way to go about this? I plan on setting up ZFS replication in the future but need to migrate another box to PVE / ZFS first.
 
Yes that is possible. Make sure you don't run PBS as a VM on the same PVE though ;) might get tricky when PVE dies and you can't restore.
 
Yea of course

What directory would I specify to back up? I'm a little fuzy on what, if any directories I need to specify to exclude. The way ZFS mounts everything on boot is a little abstract for my knowledge level at the moment.