LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   full system backup (http://www.linuxquestions.org/questions/linux-general-1/full-system-backup-128658/)

dbc254 12-24-2003 01:13 PM

full system backup
 
is there a way to backup my entire linux system? I'm running MDK 9.1 and I backup my data every other month to CD. Is there a way to backup the whole shebang? If I backup the /home directory, am I getting all my settings minus the applications?

Nu-Bee 12-24-2003 04:02 PM

Re: full system backup
 
Quote:

Originally posted by dbc254
is there a way to backup my entire linux system? I'm running MDK 9.1 and I backup my data every other month to CD. Is there a way to backup the whole shebang? If I backup the /home directory, am I getting all my settings minus the applications?
I run 9.2 but only installed 9.1 & never ran it...but doesn't 9.1 have a backup option in the Mandrake Control Center?

9.2 does...and you can backup whatever you want to.

jailbait 12-24-2003 04:20 PM

"Is there a way to backup the whole shebang? "

Yes, use a series of tar commands to backup the various base directories to CD just like you do for /home. It takes 3 CDs for me to back up my entire system.


___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites

trickykid 12-26-2003 02:50 PM

Moved: Not a Success Story. You should really read the Stickies and pay more attention to the Forums you are posting in, before asking your question, creating your threads. Regards.

itsjustme 12-26-2003 10:03 PM

Hey, it seems it's easy enough to make backups with some tar'ing, but how do you actually recover them if you actually have to reformat and reinstall?
Would you just do a fresh new install and them overwrite the newly created directories with your saved tars? Seems like it would be a pain to pick and choose what to save. What if you recovered a tar file and it included whatever the problem was that made you reinstall. :eek:

jailbait 12-26-2003 10:21 PM

"Hey, it seems it's easy enough to make backups with some tar'ing, but how do you actually recover them if you actually have to reformat and reinstall?
Would you just do a fresh new install and them overwrite the newly created directories with your saved tars? Seems like it would be a pain to pick and choose what to save. "

I am a huge advocate of rescue CDs:

http://users.rcn.com/srstites/LifeBo...home.page.html

My usual method of restoring from my tar CD backups is to boot my rescue CD, mount my backup CD, copy the relevant tar file to a spare partition, unpack the tarball, and cp -pR the relevent portions to the proper place on my system. Then I delete the files on the spare partition.

"What if you recovered a tar file and it included whatever the problem was that made you reinstall."

You keep generations of backup. I have a daily cron job that backs up all changed files to a backup partition. I use cpbk to do the backups so that it can also prune the dead wood in the backup partition. This backup is not compressed and any portion can simply be copied to the relevant place in my live system, either running the live system or running the LifeBoat CD.

I have a weekly backup that is tar files on CD. I keep two generation of backup CDs so that I can restore from as far back as two weeks ago.

I keep two generations of LifeBoat CDs. That way I have a workable LifeBoat CD even if my current system has a fatal bug.

The amount of work for me to keep all this backup is:
Once a week I run the tar CD backup.
Whenever I make a major change to Linux I create a new LifeBoat CD.

___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites

itsjustme 12-26-2003 10:27 PM

Cool, thanks.

(Sorry, I wasn't trying to hijack the thread.)


All times are GMT -5. The time now is 09:56 PM.