Thursday, January 26, 2006

Reinstalling Linux: a checklist

I thought it would be nice for people to have a checklist of what they need to back up before installing a different Linux flavour.
  • /etc - system configuration
  • /home - your files and configurations
  • /boot/grub/menu.lst or grub.conf
  • /var/httpd - only if you're running web services and using the global directory; on some distributions, this is not placed in /var (e.g. in Arch it's in /home/httpd)
  • do a mysqldump if you're using mysql; similarly for any other relational database
  • dump your package list - sometimes this is done by reading file names from /var/cache/pkg or similar after cleaning out old package files; some package managers will output a list (something like dpkg --get-selections on Debian and derivatives)

No comments: