Score:1

What is the best way to set up backup settings for Proxmox, not for a virtual machine?

br flag

At the moment, I'm only backing up my VMs, but I want to also back up my Proxmox settings, important files and configurations, so that if I need to set up a new machine/server, I can restore from this backup. Which method is best at the moment?

I want to add recurring backups, as well as my VM snapshots.

Score:1
za flag

Ideally you don't need to backup host. You just install it from scratch. VM configurations are backed up together with the VMs, and all cluster-wide things are shared amongst the cluster, so you need to have some kind of auto-provision for them, like an Ansible playbook which configures network and joins a node into a cluster.

This is, obviously, not the case for the single host. Backup /etc and /etc/pve which is a FUSE-based file system bases on SQLite file stored somewhere in /var and which contains PVE-related things. Finer selection of things from /etc is possible, see this PVE forum thread.

I ended up installing Proxmox Backup client on the host itself and backing up the whole root file system and important mounts (since it doesn't span across file systems) into a Proxmox Backup Server: /, /etc/pve, /boot. It's possible to extract individual files from such a backup afterwards. Such a backup tends to be around 2 GB and, considering the deduplication PBS provides, subsequent backups will consume far less additional space, so this is not a concern. PBS team has "backup for Proxmox hosts" in their road map by the way, so this approach must be close to the view Proxmox developers themselves have on the problem.

Never used those backups because both cases I did a host reinstall I used an Ansible playbook and there was a cluster.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.