Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 06-05-2007, 06:20 PM   #1
LQ Newbie
Registered: Oct 2004
Distribution: kubuntu 6.10 edgy
Posts: 16

Rep: Reputation: 0
Backup Strategy

i have been backing up my whole system using a bash script (yes i have been burned, thank you). it occured to me that this may not be the most efficient or effective strategy.

in the event of a catastrophic failure i could extract only my critical directories (~/ and /var/www) to a new linux configuration. what would happen if i restored my old system completely to a different hardware platform? could i just restart the machine and be home free or would my configuration from the old system screw everything up?

Old 06-05-2007, 06:38 PM   #2
LQ Guru
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 272Reputation: 272Reputation: 272
I've been fighting with this myself lately. In my limited experience, restoring an image to different hardware hasn't worked very well.

I settled on just backing up critical directories (/home and /etc). More often than not, my need for recovery is because I accidentally deleted something I wanted to keep.

I must caveat that with saying that I use dpkg in Debian to keep a list of what's installed on my system. There's a mechanism for taking that list and importing it into dselect, then doing an upgrade that installs the same packages (though not necessarily the same versions). Basically it looks like this
dpkg --get-selections > installed.txt
aptitude update && dselect update
dpkg --set-selections < installed.txt
apt-get dselect-upgrade
It works across machines, even across architectures. Then I just weed through my backed up /etc to replace the config files I need. You do have to be careful though to make sure config files haven't changed if you get a newer program version installed than on the old machine.


backup, complete, restore

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Backup strategy DIL23 Linux - Newbie 4 03-10-2007 07:59 PM
Linux backup strategy feffer777 Linux - Software 4 01-24-2006 09:54 PM
Backup strategy xpucto Linux - Networking 2 11-16-2005 12:19 PM
Building a backup strategy pembo13 Linux - General 16 04-28-2004 01:02 PM
Backup strategy Swift&Smart Linux - General 3 04-17-2003 03:07 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:50 AM.

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