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:
- Install timeshift on the original system (can be installed directly via archlinuxcn repo)
- Create a full backup (including all files)
- Perform a minimal installation of Linux on the new environment (including timeshift and xorg)
- Copy/link backup files to /timeshift
- Add
exec timeshift-gtkto ~/.xinitrc (create if it doesn’t exist) - Execute command
startx - Restore backup, automatic reboot will occur
- Modify uuid in various files according to machine differences (e.g. fstab, grub files)
- Check environment for missing components (docker images won’t be synchronized)
PS: Keep backups secure until confirming everything works properly