[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to restore BIOS-based backup on a UEFI machine



On Thu, Jan 14, 2021 at 04:41:50PM +0100, Jesper Dybdal wrote:
> I backup my Buster server simply as a (compressed, encrypted) cpio archive.
> 
> Restoring it to a BIOS-based machine is simple: boot a rescue cd, partition
> the disk, restore all files, fix fstab if necessary, run update-grub and
> grub-install in a chroot environment.  That works.
> 
> But if the machine should some day die and I can only find/buy a UEFI-only
> machine to restore it to, how do I do that?  And are there any precautions I
> should take in advance (on the BIOS system, before creating backups that may
> be needed on a future UEFI system) in order to make it easier to restore to
> a UEFI machine?
> 
> (My knowledge of UEFI is almost non-existent, and my knowledge of grub is
> very limited.)

If/when your machine dies I would suggest that the simplest thing is for you to
do a completely fresh Debian install (which will get EUFI, etc, right) and then
import your data from backups.

So what you need to do now is to ensure that your backups make it easy for you
to do that:

* most of non system data is prob in /home So make that a separate cpio file

* ditto for other places where you have files that do not come from .deb

* keep a copy of /etc where it is easy to get hold of (maybe /home/etc.tar.gz)

* ensure that you know what has been installed: dpkg --list

> -- 
> Jesper Dybdal
> https://www.dybdal.dk
> 

-- 
Alain Williams
Linux/GNU Consultant - Mail systems, Web sites, Networking, Programmer, IT Lecturer.
+44 (0) 787 668 0256  https://www.phcomp.co.uk/
Parliament Hill Computers Ltd. Registration Information: https://www.phcomp.co.uk/Contact.html
#include <std_disclaimer.h>


Reply to: