I had ProxMox 7.3 running on a Dell R820 as a mirror (rpool). The rpool status is "clean", but...
after several power outages (South Africa has "load-shedding" which makes for interesting times) my server wouldn't boot.
I managed to rescue boot it and all seemed well...but obviously wasn't. It has slowly deteriorated to the point of not being bootable (automatically or via rescue) now.
I thought I could do a fresh install onto an alternative non-redundant disk, then mount the zpool(s) to a different path.... copy off the essential data to a safe location, then wipe/reinstall on the original pair, and copy the data back.
I used the info from this post to get them mounted...
The install, though absolutely not ideal (via an external USB SSD drive) is a bit slow, is temporary, so I don't particularly care.
I have 99.9% (by size) right [including all the CT/VM images etc], but the
/etc/pve/*
.conf files are not all showing up in the mounted rpool.... especially/specifically, the qemu/lxc config files are "vanished" (the /etc/pve/nodes/* is not there in the mounted rpool).
I did build all of them using commandline and have copies of the scripts, so I could probably rebuild them from there, but I'm wondering if anyone has/knows or could point me in the right direction to extract them from some cached copy or location. (I do admit to being an idiot for not having backed up the .confs - which was part of the plan right up to the point when it was too late). The price of stupidity is, indeed, high.
1) Is it correct to assume that once I have the configs back, I can overwrite the stored images from the backup and they should be fine?
2) Alternatively, if I have to recreate them, I do have the vzdumps which I could probably use to restore them to almost as good as new? (ie. would the system detect the backups associated and allow restore?)
Thanks
after several power outages (South Africa has "load-shedding" which makes for interesting times) my server wouldn't boot.
I managed to rescue boot it and all seemed well...but obviously wasn't. It has slowly deteriorated to the point of not being bootable (automatically or via rescue) now.
I thought I could do a fresh install onto an alternative non-redundant disk, then mount the zpool(s) to a different path.... copy off the essential data to a safe location, then wipe/reinstall on the original pair, and copy the data back.
I used the info from this post to get them mounted...
The install, though absolutely not ideal (via an external USB SSD drive) is a bit slow, is temporary, so I don't particularly care.
I have 99.9% (by size) right [including all the CT/VM images etc], but the
/etc/pve/*
.conf files are not all showing up in the mounted rpool.... especially/specifically, the qemu/lxc config files are "vanished" (the /etc/pve/nodes/* is not there in the mounted rpool).
I did build all of them using commandline and have copies of the scripts, so I could probably rebuild them from there, but I'm wondering if anyone has/knows or could point me in the right direction to extract them from some cached copy or location. (I do admit to being an idiot for not having backed up the .confs - which was part of the plan right up to the point when it was too late). The price of stupidity is, indeed, high.
1) Is it correct to assume that once I have the configs back, I can overwrite the stored images from the backup and they should be fine?
2) Alternatively, if I have to recreate them, I do have the vzdumps which I could probably use to restore them to almost as good as new? (ie. would the system detect the backups associated and allow restore?)
Thanks
Last edited: