Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
My question is about backing up a linux system in detail. For example, I have worked very hard to achieve a certain look and feel with my current distro (things such as tweaking the gui's to look the way I want them too, clearing off unused applications, and adding in my own configurations and software).
Now, how would I go about backing up the system in case of disaster? Are there a certain set of files that I could back up, so that if I have to reload the distro I could just insert those files and revamp the system back to the way I had it before the disaster? As apposed to having to go through it all again?
Backup /etc: all system configs are there.
Backup /home: users files and preferences are there.
Backup /boot: if you've done some kernel config (that's not on the install cd/dvd), tweaked the bootloader, made a new initrd, etc, you will want to keep those.
If you've done some kernel work, you should also backup the /lib/modules directory that goes with the kernel you recompiled (they won't be on the install media either).
Perhaps look through /var to see if there's anything there you want to keep. Everything else should come from the install media.
If all hell breaks loose and you have to re-install, you can then restore the backups and be back in business in the shortest possible time.
Buy thine self a DVD burner!! Back up the whole bloody system and then upgrade your box to FC4! I have FC4 and I love it. It's significantly faster than fc3 too, put good use to those 504 mb ram!
Scrounge yourself a 2nd hard disk that is the exact same model as your current disk, or a different model but larger than your current disk. You want the usable space to be the same or larger than what you have.
Assuming your IDE, plug in the 2nd disk as a primary channel slave.
Then dd if=/dev/hda of=/dev/hdb.
Your 2nd disk will be an exact clone that you can remove and tuck away for safe keeping, or boot from if the original goes poof.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.