Skip to content

Installing Proxmox and restoring Ubuntu server in a VM

So it does in fact seem that my old m.2 hard drive which is running my Ubuntu server is dying. I've had to restart it daily the last couple of days and now multiple times today and from what I've seen in the logs it looks like there is some corruption going on.

The plan is going to be to boot up a new m.2 hard drive and install Kopia onto it.

I'm going proceed to do the following

  • Copy my Kopia repository from my external drive to my PC as a precautionary backup.
  • Boot up my Server again. Shut down docker, and just do a copy of my docker apps over to my RAID array, hopefully this will make it easier to restore rather than doing a restore from Kopia. I typically keep my database mounts on my SSD.
  • Shut down the server again.
  • Download Proxmox ISO and burn it onto a USB.
  • Install the new m.2 hard drive, plug in the usb, and boot from the Proxmox installer.
  • Mount the RAID array into proxmox.
  • Create a new VM to run Ubuntu.
  • Create a storage pool that can be mounted into Ubuntu.
  • Migrate the data into the storage pool.
  • Boot up my docker containers again.

Comments