Bare metal restore from restic repo: worked fine!

@betatester77

Hiya, I wonder if the following steps are sound.

Backup laptop and perform BMR
source: Debian 12 laptop (LUKS LVM, / and /home and /var, etc. all reside on the same partition)
destination: sftp (ssh) backend

  1. backup laptop to sftp (ssh) backend (without running restic as root, see: Examples — restic 0.16.4 documentation)
  2. partition new external hard drive (partition table mbr or gpt?), create LUKS LVM and format ext4
  3. boot into, e.g. Debian Live and install restic
  4. unlock LUKS and mount new external hard drive to /mnt/external
  5. restore backup from sftp (ssh) to new external hard drive
  6. chroot /mnt/external
  7. grub2-install, grub2-mkconfig, dracut -f (I believe the commands are identical for Debian)
  8. update fstab on /mnt/external with new UUID of new external hard drive
  9. exit chroot, umount /mnt/external, reboot to new external hard drive

Thank you very much.