Jump to content

Talk:Migrate installation to new hardware

From ArchWiki

Swapfile

When I migrated my install using rsync (https://wiki.archlinux.org/title/Rsync#File_system_cloning) I had to remake the swapfile because the cloned one had holes in it. This is probably worth mentioning as a caveat somewhere

--Jmcb (talk) 16:19, 24 April 2023 (UTC)Reply

Expand section on 2.1 with a "reminder list" of what you might want to backup?

E.g.

  • Configuration Files:
    • /etc/: System-wide configuration files.
    • /home/: User-specific configurations and dotfiles.
  • Installed Packages:
    • Use pacman -Qqe > pkglist.txt to create a list of explicitly installed packages.
  • Database and Application Data:
    • Backup database files or create dumps for databases (e.g., MySQL, PostgreSQL).
    • Backup application-specific data from /var/lib/, /var/log/, etc.
  • Kernel and Initramfs:
    • Backup custom kernels or initramfs images from /boot/.
  • User Data:
    • Backup important files or documents in your home directory.
  • Custom Scripts and Services:
    • Backup custom scripts or systemd services from /usr/local/bin/, /usr/local/sbin/, or /etc/systemd/system/.
  • Network Configuration:
    • Backup specific network configurations from /etc/netctl/ or /etc/systemd/network/.
  • Grub Configuration:
    • Backup bootloader configuration files from /boot/grub/ or /etc/default/grub.