Talk:Migrate installation to new hardware
Appearance
Latest comment: 19 April by Kerbless in topic Expand section on 2.1 with a "reminder list" of what you might want to backup?
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)
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.
- Use
- 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/
.
- Backup custom kernels or initramfs images from
- 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/
.
- Backup custom scripts or systemd services from
- Network Configuration:
- Backup specific network configurations from
/etc/netctl/
or/etc/systemd/network/
.
- Backup specific network configurations from
- Grub Configuration:
- Backup bootloader configuration files from
/boot/grub/
or/etc/default/grub
.
- Backup bootloader configuration files from
Maybe starting from this we can summarize and find a good balance keeping in mind the wiki goals. Kerbless (talk) 20:32, 19 April 2025 (UTC)