Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - General
User Name
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.


  Search this Thread
Old 10-07-2005, 08:14 AM   #1
Registered: Aug 2005
Location: Ireland
Distribution: Ubuntu, Ubuntu, Ubuntu
Posts: 119

Rep: Reputation: 15
Backing up a Linux Install

Hi all,

I've been using linux for a while now and have went through a couple of Distributions. Im currently installing the Gentoo distribution (about to install fluxbox desktop)

So far I've been pretty impressed with Gentoo and the lack of problems it has caused (and I have already installed my nvidia graphics card) but here is my query and I'm hoping there is an easy solution.

Obviously there is a lot of configuration (and time consuming) to setting up linux to exactly as the user would like it. Is there anyway of backing up this setup onto DVD so if something really fecked up on my computer, I could wipe the hard drive and just copy the contents of the DVD onto the nwly formatted hard drive and say unback-it-up (unrar it maybe?)

The idea is when I'm installing a new piece of hardware and am messing around with a lot of config files, if it goes south I can bring my linux install back to the point it was before I started messing with everything?
Old 10-07-2005, 02:03 PM   #2
LQ Guru
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 379Reputation: 379Reputation: 379Reputation: 379
Old 10-07-2005, 02:46 PM   #3
Registered: Mar 2004
Location: Watching it snow in bush Alaska
Distribution: *ubuntu, Smoothwall, WinXP Pro
Posts: 126

Rep: Reputation: 15
Old 10-07-2005, 10:05 PM   #4
LQ Addict
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
I searched for four years for a backup solution that would do what I wanted it to do, the way I wanted it to do it. In found it in Dar .

For your purposes, Dar allows you to add the Dar static version to the backup media so that you can run Dar to restore a backup, FROM THE MEDIA! In your case, that would be the dvd.

Dar has other advantages.

For instance:

You can backup a directory tree without the files in the directories (files you don't want backed up, but directory you don't want to have to recreate from memory).

You can specify files to NOT compress, because they're alrady compressed (a file extension option).

Dar will make a compressed archive, if you choose compression (I've compressed a 7.7 Gig partition down to 2.7 Gig). Each file is archived individually. If one file is corrupt, I loose only one file. Tar, on the other hand, if one file is corrupt, you risk loosing the entire archive.

For some files, even if there is corruption, dar can skip over the corrupt portion and restore the major portion of the file. Hopefully, you have the necessary paper files to re-create the missing portions.

You can specify which directories/files to not backup: example: /proc, /tmp, etc (see the first 'for instance' above).

Restoration of one file or an entire directory is easy a can be. The only drawback (unless it's been fixed in a newer version) is that Dar does not restore the ctime of a file. The restoration time becomes the new ctime.

It takes a bit of tweaking and trial to get it working, but once it does, WOW!

It's a set of bash scripts and a binary. The bash scripts tell the binary what to do.
Not a day goes by that I don't mentaly kick myself in the hind-end for ignoring Dar for FOUR years!

Now, backup-wise, I'm a happy camper.

Last edited by bigrigdriver; 10-07-2005 at 10:11 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 a linux installation rocksniffer Linux - General 4 04-16-2005 11:32 AM
Backing up Linux zonen Linux - Software 6 02-25-2005 09:00 AM
backing up linux kudos Linux - General 3 01-07-2003 08:27 PM
backing up linux to cd-r/rw mdjames0 Linux - Newbie 2 07-26-2002 01:34 PM
backing up and restoring linux graystarr Linux - General 8 01-06-2002 10:35 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:33 PM.

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