Reinstalling Arch Linux Using Timeshift


🤖This article was translated by AI (LLM). There may be errors or inaccuracies. For the original content, please refer to the original version.

Timeshift is a backup utility that features incremental/scheduled backups and backup management.

Use case: Need to migrate the entire system

Detailed steps/precautions:

  1. Install timeshift on the original system (can be installed directly via archlinuxcn repo)
  2. Create a full backup (including all files)
  3. Perform a minimal installation of Linux on the new environment (including timeshift and xorg)
  4. Copy/link backup files to /timeshift
  5. Add exec timeshift-gtk to ~/.xinitrc (create if it doesn’t exist)
  6. Execute command startx
  7. Restore backup, automatic reboot will occur
  8. Modify uuid in various files according to machine differences (e.g. fstab, grub files)
  9. Check environment for missing components (docker images won’t be synchronized)

PS: Keep backups secure until confirming everything works properly