/etc is 10–50 MB of mostly text: take the whole directory, not cherry-picked configs:
| |
Those two lists make a rebuild an hour, not a weekend. Easy to forget beyond /etc: ~/.config, the shell dotfiles, ~/.ssh, ~/.gnupg, ~/.gitconfig, the bootloader config — /etc/default/grub for GRUB, /boot/loader/ for systemd-boot, outside /etc.
One Borg run covering system, user config and package state:
| |
Preview and retention:
| |
⚠️ Restoring
/etcwholesale onto a fresh install is the mistake: some of it is machine-specific or generated at install time. Diff first, then apply what you want:
1 2rsync -a --dry-run etc-backup/ /etc/ diff -ruN etc-backup/ /etc/
pacman -Qkk verifies tracked files against their package — the check for an altered restore.
Which bootloader is in use
archinstall picks by firmware; the bootloader matters when restoring /boot:
| Scenario | Bootloader |
|---|---|
| UEFI (the default path) | systemd-boot |
| BIOS / legacy | GRUB |
| Manual selection | either, or none |
systemd-boot installs to /boot/EFI/systemd/, entries under /boot/loader/entries/arch.conf. Confirm, do not assume:
| |
bootctl reporting systemd-boot information means systemd-boot; if not found, GRUB or a manual setup.