Link to home
Start Free TrialLog in
Avatar of jculkincys
jculkincysFlag for United States of America

asked on

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
Avatar of jculkincys
jculkincys
Flag of United States of America image

ASKER

FYI ALL:

The file-system of the drive that I want to backup is NTFS.
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
ASKER CERTIFIED SOLUTION
Avatar of xDamox
xDamox
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of rindi
Partimage by the way is included on knoppix, so you don't need to download anything either!
Avatar of Heem14
Heem14

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.
Hi,

Heem14, partimage will not take up as much space as dd
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.
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
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
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
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.
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?
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.