LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices



Reply
 
Search this Thread
Old 02-14-2008, 08:32 PM   #1
charlestsai4001
LQ Newbie
 
Registered: Apr 2006
Posts: 1

Rep: Reputation: 0
Linux full Hard disk backup or mirror


Is there a better solution for Linux full hard disk backup or mirror. Because I am planning to change my
Linux server's hard disk (I don't want to re-install
and re-config all the setting).
My system is Fedora Core5, SCSI HDD *4 (Raid 5+hot spare)
Dell Poweredge 2850 server.
Is there any opensource software for this function like Windows ghost? Please advised.
Thanks
 
Old 02-14-2008, 08:47 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Squeeze
Posts: 5,805

Rep: Reputation: 324Reputation: 324Reputation: 324Reputation: 324
The dd command can make an exact copy of one disk to another. There is a long-running thred at LQ in re using the dd command. It will clone everything from the MBR to the end of the object disk (or the target disk if it's smaller than the object disk).
 
Old 07-08-2010, 03:09 PM   #3
innoshare
LQ Newbie
 
Registered: Jul 2010
Posts: 5

Rep: Reputation: 0
Try netcat + dd

Netcat is also a really handy utility for cloning drives as it allows you to do the transfer over the network (make sure you have a fast connection) without putting copy-from and copy-to drives in the same machine.

Basically, you do do this...

On the machine you are copying from:
Code:
dd if=/dev/sda | nc 10.1.1.2 9000
On the machine you are copying to (assume ip is 10.1.1.2):
Code:
nc -l -p 9000 | dd of=/dev/sda
__________________
Atlanta Georgia Search Engine Optimization | Atlanta Website Design
 
Old 07-08-2010, 07:47 PM   #4
alpha01
Member
 
Registered: Jul 2008
Location: Orange County
Distribution: Ubuntu/Debian, CentOS, RHEL, FreeBSD, OS X
Posts: 75

Rep: Reputation: 19
Quote:
Originally Posted by charlestsai4001 View Post
Is there a better solution for Linux full hard disk backup or mirror. Because I am planning to change my
Linux server's hard disk (I don't want to re-install
and re-config all the setting).
My system is Fedora Core5, SCSI HDD *4 (Raid 5+hot spare)
Dell Poweredge 2850 server.
Is there any opensource software for this function like Windows ghost? Please advised.
Thanks

If you need a bit by bit copy of your current hard drive (clone), essentially the following example command accomplishes it:
Code:
dd if=/dev/sda of=/dev/sdb
This assumes sda is the drive your cloning and sde is the backup.
 
Old 07-08-2010, 07:54 PM   #5
FredGSanford
Member
 
Registered: Nov 2005
Location: USA
Distribution: Mageia Cauldron & Salix 14
Posts: 943
Blog Entries: 5

Rep: Reputation: 88
Also there are Partimage and Clonezilla...

Just noticed you mention a scsi hdd, they may not work with those, sorry.

Last edited by FredGSanford; 07-08-2010 at 07:56 PM.
 
  


Reply

Tags
backup, disk, full, hard, linux, mirror


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
hard disk is full because of what ? bendani Linux From Scratch 6 02-27-2007 03:11 PM
Disk full - external hard drive gaugain_ns Linux - Software 6 12-20-2006 02:08 AM
mirror 2 hard disk under suse kafnir Linux - General 1 05-11-2005 01:17 AM
Linux corrupted due to full hard disk ravykanth Linux - Newbie 7 10-20-2003 07:42 PM
help! full hard disk! huffboy Slackware 4 10-11-2003 02:07 AM


All times are GMT -5. The time now is 05:41 AM.

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