LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This 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


Reply
  Search this Thread
Old 07-12-2005, 04:15 PM   #1
matthewa
Member
 
Registered: Mar 2005
Distribution: Slackware 10.1
Posts: 123

Rep: Reputation: 15
A word about backing up?


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?
 
Old 07-12-2005, 04:29 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
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.
 
Old 07-12-2005, 04:33 PM   #3
worldgnat
Member
 
Registered: Oct 2004
Posts: 337

Rep: Reputation: 30
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!

-Peter
 
Old 07-12-2005, 06:29 PM   #4
matthewa
Member
 
Registered: Mar 2005
Distribution: Slackware 10.1
Posts: 123

Original Poster
Rep: Reputation: 15
bigrig, nice post thanks! I've bought myself an old cheap computer to use as a test bed for these things so I'll test this out.

worldgnat..........lol! Actually Im not running fedora anymore. I do have a friend who loves core 4 though. Thanks for the post.
 
Old 07-12-2005, 07:31 PM   #5
elfoozo
Member
 
Registered: Feb 2004
Location: Washington, USA
Distribution: Debian
Posts: 265

Rep: Reputation: 32
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Backing up ChristineCrawford Linux - Newbie 8 12-17-2005 07:21 AM
Microsoft Word won't word wrap Micro420 General 1 06-13-2005 04:36 PM
[BASH] How to filter characters away? !{param#word} {param%word}! Dark Carnival Programming 8 03-17-2005 01:49 PM
backing up koyi Linux From Scratch 2 10-09-2004 10:54 AM
Viewers for Word, Word Perfect, etc. Claude Williams Linux - General 2 11-22-2001 04:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:43 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration