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 09-06-2007, 10:56 PM   #1
Registered: May 2006
Posts: 32

Rep: Reputation: 15
Thumbs up Question, question...

Hi Reader(s),

I gotta say Fedora 7, linux, open software, GPL, WOW! I wish I'd switched long ago.

I'm trying to establish a good backup system. I would like to make automatic backups to a removable SATA hard drive, and have a CD/DVD that will let me restore with a click or two. For worst case I would see my three SCSI drives fried. Unfortunately I just don't have the background to understand the possibilities from reading the faqs and howtos of the diverse tools and methods.

Do you know of a system that can do this?

Aside from wasting drive space, is copying all the files, mbr(s) and boot sectors a practical way for backup/restore?

Is linux like DOS and the early Windows in that if you copy all the files to another partition and fix the BIOS and partition boot flag, it would start and work fine; and in general, can a linux system be restored to another computer ignoring the hardware differences if identical mbr(s) and boot sectors can be established?

How identical would the new or other drive setup have to be? Could I restore from scsis to SATAs or from 3 drives to 1 or two.

I am not using LVM but have separate (9) partitions for separate folders.

I would be grateful for any comments or answers.
Old 09-06-2007, 11:59 PM   #2
Senior Member
Registered: Feb 2007
Location: Chilliwack,BC.Canada
Distribution: Slackware64 -current
Posts: 2,079

Rep: Reputation: 58
You use the dd command to make and copy an image of a hraddrive
Old 09-07-2007, 01:53 AM   #3
Senior Member
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 3,273

Rep: Reputation: 587Reputation: 587Reputation: 587Reputation: 587Reputation: 587Reputation: 587
You don't need to waste space. Works with any two networked computers:

on the server: >netcat -l -p 1234 | bzip2 > /mnt/sdb/hda_lappy.img

1. >enter

on the lappy: >dd if=/dev/hda bs=16065b conv=notruc,noerror | netcat 1234

2. >enter

This is a bitstream method of backup using compression on a mostly empty 100 GB drive, and yields a 6 GB image file, but I don't think you could mount this image, so it needs to be restored in its entirety, or not at all.

To restore, on laptop: >netcat -l -p 1234 | dd of=/dev/hda bs=4k conv=notrunc,noerror


on server: >bunzip2 /mnt/sdb/hda_lappy.img | netcat 1234


where = server, = lappy, 1234 = tcp port to use.

bzip2 uses an error checking algorithm that is machine, and especially memory intensive. If it bugs out, try turning the AC to a lower temp. in the room where the server is, or get some powerful chassis fans.


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
Question, Apples Contribution to Open Source + MacOs file structure question Higgy3k Other *NIX 5 07-25-2005 05:23 AM
Not your regular GRUB question - just a short question for a fried MBR!! ziphem Linux - General 3 01-31-2005 02:51 PM
2 part question: Speeding up MDK9.1/GNOME question wardialer Linux - Newbie 6 10-14-2004 04:16 PM
login prompt question & kde scheme question JustinCoyan Slackware 2 06-09-2004 03:02 PM
RE: Suse 8.0 hardware question {newbie question, pls help} Radiouk Linux - Distributions 2 06-04-2002 01:53 PM > Forums > Linux Forums > Linux - Newbie

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