reinstall proxmox and keep the settings

mihaib

Member
Oct 10, 2024
31
3
8
Amsterdam
Hi all,

I have a noob question: I am currently running 8.4.14 - one single node - everything works perfectly.
Unfortunately I need to reinstall it as my system ssd is almost dead.
I was thinking of installing 9.1 on the new ssd. Now, I have back-ups for all containers and vms.
How can I bkp my storage and network settings? also the Nvidia and HBA driver setup.
Also, I have 2 SSDs where I keep my images and Apps. Is there a way I can import them in the new setup without being forced to format them and loose all data ?

Thank you
 
Last edited:
you might want to install 9.1. on the new ssd and copy /etc/pve/ from your pve 8.4.14. Then, you could pick parts of your old setting in your new setting, e.g., designated configs relating to storage and network settings
 
  • Like
Reactions: mihaib
If you back up the following, it should contain the information needed to restore it. Whether you can restore it or not is up to you, so I can't say for sure.

*Programs added via the package manager or compiled using `make` must be configured in the same manner as when originally set up on the disk.

Code:
/etc/kernel/cmdline        // boot *Do Not Overwrite. Paste the necessary parts from the file.
/etc/default/grub        // boot *Do Not Overwrite. Paste the necessary parts from the file.

/etc/network/interfaces        // network *Do Not Overwrite. Paste the necessary parts from the file.
/etc/pve/storage.cfg        // storage *Do Not Overwrite. Paste the necessary parts from the file.

/etc/pve/qemu-server/*        // vm config
/etc/pve/lxc/*            // lxc config

/var/lib/vz/snippets/*        // hookscript *After copying, chmod +x * is required.
/etc/modprobe.d/*        // modprobe

/usr/share/kvm/*        // bios/firmware

/etc/modules            // modules