• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 307
  • Last Modified:

image a Hard drive over network

Hello

What I want to do is back up a hard drive over the network to another computer

I have tried booting from Knoppix and using the following command
dd if=/dev/sd2 bs=4k | gzip -c | split -b 2000m - /mnt/remote_share/backup.img
but it takes a lot of space.

Any other suggestions There must be an easy solution that I am not seeing.

I have a dos version of ghost.exe from norton - is there an easy way to use this in Linux?

Thanks

jculkinycs
0
jculkincys
Asked:
jculkincys
  • 5
  • 3
  • 3
  • +1
1 Solution
 
jculkincysAuthor Commented:
FYI ALL:

The file-system of the drive that I want to backup is NTFS.
0
 
jculkincysAuthor Commented:
What would be the best way to restore the image since the filesystem is NTFS?

It seems it would be benefical to do these two steps before imaging the drive:

1.)Do the defragmentation twice or even thrice.

2.) To further help gzip later on, boot into windows and run a small program made that just opens a new file and keeps on writing 0x00 to it till the disk is full.

These steps were gathered from http://lists.debian.org/debian-user/2005/03/msg00942.html
0
 
xDamoxCommented:
Hi,

I would recommend partimage http://www.partimage.org/Main_Page

Partimage allows you to backup partitions and is much more efficient than dd it also allows
network backup.
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
rindiCommented:
Partimage by the way is included on knoppix, so you don't need to download anything either!
0
 
Heem14Commented:
the way you were doing it is fine - partimage is also a great way - but it's still going to take up alot of space no matter what you do. compression can only compress so much.
0
 
xDamoxCommented:
Hi,

Heem14, partimage will not take up as much space as dd
0
 
Heem14Commented:
point being it's still going to be alot of space. you can't fit a Loaf of bread into a matchbox, no matter how hard you squeeze.
0
 
jculkincysAuthor Commented:
partimage still have NTFS listed as experimental - does anyone have any experience with it?

It looks like I will have to defrag after I use it but thats not a big deal

Also my drive is not compressed so I will not have to worry about that.


This computer that I want o back up is a Dell and it has its own rescue partition - which I don't want to bother with. Assuming that I make a successful back up and then I need to restore it on a new blank hard drive what would I need to do? just restore the image? how would the MBR be affected by all this?

Thanks
jculkincys
0
 
jculkincysAuthor Commented:
It looks like I will have to defrag after I use it but thats not a big deal

should be

It looks like I will have to defrag BEFORE I use it but thats not a big deal
0
 
xDamoxCommented:
Hi,

Yes is a very good idea to defag it before backing up. I have also heared that partimage has been pretty sycessful with NTFS
partitions, but I guess there still testing it out etc
0
 
rindiCommented:
I've used partimage on ntfs systems and it worked fine. If necessary it also has the option to restore just the mbr from an image, so that shouldn't be a problem either. One problem I've has was when the destination partition had a different size from the originating partition. But that was at least 1 year back and might have been resolved by now.
0
 
jculkincysAuthor Commented:
I just had some good experiences with partimage while booting from Knoppix.

I have one last question. How can I have it back up hda1 - currently the only choices it gives me are sda1 and sda2.  

I think Imaging hda1 would be better because I am coping the entire drive - is this correct?
0
 
rindiCommented:
What disks do you have? hda1 would normally be the first partition of the master drive on ide channel 0, sda1 and sda2 could partition 1 and 2 of a SCSI or SATA HD. Partimage only lets you image each partition, but no the complete disk.
0

Featured Post

Become an Android App Developer

Ready to kick start your career in 2018? Learn how to build an Android app in January’s Course of the Month and open the door to new opportunities.

  • 5
  • 3
  • 3
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now