Backing up my PVE/PBS setup/configuration

gctwnl

Member
Aug 24, 2022
78
12
13
I've seen some older threads (specifically 5 year old) on this subject and I was wondering if there have been improvements since on the question of making a backup of your Datacenter configuration in case you need to rebuild it from scratch or if you have messed things up (not yet...) and you want to restore a known clean situation.
 
It seems like backing up /etc (not that large) would be enough of an insurance. Also, the settings do not change often, so a manual last step, like, ssh-ing into the PVE system and running

Bash:
tar zcvf "pve-pbs-etc-backup-$(date -I).tar.gz" -C "/etc/" .
# copy the .tar.gz to a good place]

Might actually be enough for me.

I am running a single system, with internal hardware-encrypted SSD and external LUKS-encrypted (at the PVE level. clients don't have to bother) hardware-RAID SSD (LUKS key is stored in /etc, I am mostly interested in encryption at rest for when the hardware is stolen). The single system also contains a PBS so VMs are backed up. Important data goes to the RAID SSD and the clients use restic backup to the RAID SSD and B2.
 
Last edited: