Review your favorite Linux distribution.
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 01-22-2007, 04:33 PM   #1
LQ Newbie
Registered: Jan 2007
Location: Florida
Posts: 5

Rep: Reputation: 0
Backups and reinstalls

I am running Ubuntu 6.06 and I have had to configure the OS to make diferent things work Wireless, flash, java.....ect. My question..Is there a way to make a recovery disk with all the changes so if I need to recover I wont have to set everything up again?
Old 01-22-2007, 05:03 PM   #2
Registered: Sep 2005
Location: US
Distribution: Gentoo AMD64 Testing
Posts: 129

Rep: Reputation: 16
If you have the space, the entire hard drive can be imaged using the command (as root):
dd if=/dev/hda bs=1k conv=sync,noerror | gzip -c > /<a partition not on hda>/backup.img.gz
Then, if your system crashes a Linux live-cd can restore it using the command (again, as root):
zcat /<path to backup device>/backup.img.gz | dd of=/dev/hda bs=1k
Ubuntu might have it's own backup/restore utility... I don't know.

Note: I just wrote the above commands off the top of my head... check them before use.

Last edited by chadl; 01-22-2007 at 05:10 PM.
Old 01-22-2007, 05:52 PM   #3
LQ Guru
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 124Reputation: 124
I do something similar and make a rsync mirror image of my system onto another disk. It does take some extra space, but it's great for disaster recovery.
Old 01-22-2007, 06:01 PM   #4
LQ Newbie
Registered: Jan 2007
Location: Florida
Posts: 5

Original Poster
Rep: Reputation: 0
Im glad it can be done, but I must be honest......its a little over my head. is there a place I can get a step by step? Thanx
Old 02-06-2007, 05:45 AM   #5
Registered: Jan 2007
Location: Valbonne, France
Distribution: Mandriva 2008 (Free)
Posts: 135

Rep: Reputation: 15
Don't know if you found what you were looking for but here is a good thread explaining dd command.



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
All About Backups GNewbie Linux - Newbie 2 04-19-2006 11:38 AM
Backups? katoom187 Linux - Software 3 03-08-2006 03:39 PM
Suse 10.0 installation problem(System reinstalls continuously) kingkongadp64 SUSE / openSUSE 17 11-07-2005 09:49 PM
Try to update software, but SuSE reinstalls old version Spudley Linux - Newbie 6 10-04-2003 04:35 PM
CD-RW backups Perdido Linux - Software 1 09-09-2003 04:27 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:57 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