Additionally, you should capture your system settings so you can put your configuration back to the way you enjoy.
# makebootdisk
# mount
# ls -l /dev | egrep "^l"
# cat /proc/cpuinfo
# cat /proc/interrupt
# cat /proc/ioports
# ls -l /proc/kcore; cat /proc/meminfo
# cat /proc/modules
# route -n
# ifconfig -a
| / | Note if there are any mount points you may want to preserve. Note the permissoins and owners. mnt, mnt2, zip, cdrom |
| /tmp | Sometimes important files get left behind in /tmp. Save anything that looks important. |
| /ramdisk | If you are running a ramdisk device, make sure you know what permissions are set for the mount point. Additionally, there may be useful content still in there. |
| /lost+found | Check the lost and found, make sure that you aren't forgetting anything. |
| /etc/rc.d | While you may not restore this directory directly, it is often useful to have.
This contains how your system boots. rc.local may be of special importance. |
| /etc | This directory contains virtually all of your system settings. You may not be
restoring it directly, it will have important settings.
passwd - your accounts
alises - your mail aliases
resolv.conf - DNS
sudoers - who can use sudo
syslog.conf - where log info goes You may want to save your logs
fstab - file system table
issue - your system message
|
| /usr/local | This will save all your localized changes. Typically including your webserver, games, Java, MySQL, DNS settings, Samba, programs, libraries, Python, info and man pages, Tcl/Tk, etc. |
| /opt | This is another common place where software you installed goes, if you didn't put it under /usr/local |
| /home | Save all of your user's home directories. When restored the UIDs/GIDs must match the /etc/passwd and /etc/group files. |
| /root | Do not forget that root has a different location for his home directory. |
| /var | This is where applications that need to store or persist data put it. Backing up the whole /var branch may record megabytes of log files you might not want to keep. |
| /var/games | Sometimes some game settings will be in here. |
| /var/spool/mail | Your user's mailboxes hide here. |
| /var/cron | You may have cron jobs hiding here |
| /var/lib/httpd | Some versions of Apache used to hide here, but now most are under /usr/local/apache |
This page last updated 21-Feb-2000 11:38:34.
Linux Quick Help by MindPrint