Restoring Centos after rebuild?

So I'm going to rebuild a Centos server in order to have the disk encrypted, it's a clean install (no data on it yet) other than it was tricky getting the GPU/drivers to work properly.

So I want to take a backup before I rebuild, that way I just set the partition layout the way it was before and choose to install with encryption, then restore the backup so that all the necessary drivers/packages are already on there with no fuss.

I'm sure there are multiple options, is there an "easiest" way to do this? I was thinking of two ways, either a tar backup or Clonezilla partition backup prior to the rebuild, just want to verify that whichever way I do the backup, that whatever packages and drivers, specifically the funky GPU drivers are transferred back over in the restore to the newly encrypted machine.

https://www.serverpronto.com/kb/page.php?id=Backing\+Up\+and\+Restore\+Your\+Server

1 Like