Backing up Proxmox Backup Server
from dimjim@sh.itjust.works to selfhosted@lemmy.world on 12 Jul 13:40
https://sh.itjust.works/post/63285040

Hello all,

I’m hoping to get some advice on my self hosting environment. I currently run Proxmox VE with a few VMs, and use Proxmox VE’s built in VM backup method to my NAS. I don’t currently have a good backup method for the host server itself, and I know I’m playing with fire not having that properly backed up.

I have an older laptop that I’m considering turning into a Proxmox Backup Server, which should allow me to backup the host server and VMs, which would make me feel a lot better. The one thing I haven’t really seen info on in my research is if there’s a convenient way to backup THE backup server. If anyone uses PBS, do you back that up as well? How so?

I appreciate any assistance or advice!

#selfhosted

threaded - newest

Krafting@lemmy.world on 12 Jul 13:50 next collapse

Quick info: you cannot backup the Host server with PBS, only VMs and LXCs.

Edit: there seems to be some ways to send a manual backup of the PVE host to PBS but it seems to be CLI only and I don’t think the GUI allows that.

Also, you might want to put the backups in a dedicated partition or drive if you can, so you’d just have to reinstall pbs in case it get bad. I don’t know any way to backup pbs, as I don’t do that myself, maybe backuppc ?

dimjim@sh.itjust.works on 12 Jul 14:14 collapse

Also, you might want to put the backups in a dedicated partition or drive if you can, so you’d just have to reinstall pbs in case it get bad.

Yea that’s the main plan, the laptop would hold the PBS system, but all backups would go straight to the NAS. if the laptop dies I can just find something else to put PBS on with minimal hassle.

rogueranga@lemmy.world on 12 Jul 13:55 next collapse

Pretty sure PBS doesn’t support backing up the PVE host itself. You can find Scripts on github to backup the PVE config

dimjim@sh.itjust.works on 12 Jul 14:13 collapse

Yea that’s what I’ve seen so far, just a backup of the /etc/pve files and other network configs should be good enough I suppose.

ShredderFeeder@shredderfood.net on 12 Jul 14:04 next collapse

Most people don’t. in the event of a total failure you reinstall Proxmox, you configure your networks, then you restore your backups into it.

Honestly it’s the same method I’ve used countless times on VMware / Rubrik.

frongt@lemmy.zip on 12 Jul 14:08 next collapse

I don’t. But I do sync the backup data to cloud storage.

ggrey@social.thelab.uno on 12 Jul 14:57 next collapse

@dimjim

There is this script. Never used so use it at your own risk. It's from Proxmox VE scripts

https://community-scripts.org/scripts/host-backup

dimjim@sh.itjust.works on 12 Jul 15:02 collapse

Interesting, I’ll take a look. Thanks!

thoralf@discuss.familie-will.at on 12 Jul 15:27 next collapse

Why should I?

Ok, I have a cluster setup, which makes it less likely that all nodes die. But in case they do, I do get a new server, set it up and get the lxc/vm back from my local disk or cloud copy.

curbstickle@anarchist.nexus on 12 Jul 15:41 collapse

Why would you?

The important part is your VMs and LXCs. Your Proxmox server, at most, requires configuration for specific needs (GPU passthrough for example). The only thing you need for that would be notes on configuration (unless you have this automated, in which case you don’t generally need that, just the notes in your scripts).

So a more important question, to me, is why do you want to back it up in the first place?