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
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
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 ?
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.
Pretty sure PBS doesn’t support backing up the PVE host itself. You can find Scripts on github to backup the PVE config
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.
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.
I don’t. But I do sync the backup data to cloud storage.
@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
Interesting, I’ll take a look. Thanks!
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.
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?