Backup Proxmox

Egaria

Active Member
Jun 19, 2017
19
0
41
34
Good morning,

I would like to know if it was possible to save the configuration of proxmox, let me explain, my server where proxmox is installed is not replicated on another disk via raid or other. It is only one SSD, is it possible to save the configuration, so that if one day my SSD fails, I can reinstall proxmox, inject the configuration and have my VMs again?
 
PVE doesn't offer any config import/export feature like many appliances do. Best would always be to run your system disks as a mirror, so you won't lose any data and won't have downtime when the disk fails.

Always a good idea to have backups of the whole "/etc" folder and/or the config.db file. But a restore is more complex than just overwriting the whole contents of the "/etc" folder.

Another option would be to create a block level backup of your system disk(for example by booting into clonezilla).
 
The most direct way to do what you ask is to save key config files from /etc/pve/, namely
/etc/pve/qemu-server/*
/etc/pve/lxc/*
/etc/pve/storage.cfg

Of course, none of this would be of any value if you dont have your VMs on the same disk as they will all die anyway. If the intention is to restore your vms from backup there is little to be gained by "restoring" the original proxmox anyway- just restore them on your new environment.
 
The most direct way to do what you ask is to save key config files from /etc/pve/, namely
/etc/pve/qemu-server/*
/etc/pve/lxc/*
/etc/pve/storage.cfg

Of course, none of this would be of any value if you dont have your VMs on the same disk as they will all die anyway. If the intention is to restore your vms from backup there is little to be gained by "restoring" the original proxmox anyway- just restore them on your new environment.
Even when restoring the guests from VZDump/PBS backups, important configs like the security groups used by your restored guests, stored in "/etc/pve/firewall/datacenter.fw", would be missing. There it only helps to also backup the /etc folder so you could restore such config files when needed.
 
Last edited:
  • Like
Reactions: alexskysilk
You could always clone your boot disk with clonezilla, and save the image to another location (separate NAS, cloud, etc.), or you could run Proxmox backup server on another machine
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!