Re: How do I save a disk image of my laptop hard drive?

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: George Toft
Date:  
To: Main PLUG discussion list
Subject: Re: How do I save a disk image of my laptop hard drive?
Method 1:
1. Boot a knoppix cd
2. Open a root terminal window and issue this command:
dd if=/dev/hda | ssh user@someremotehost "> /path/to/file/backup.img"


Method 2:
Trinity - clone NTFS filesystems over the network
http://trinityhome.org/Home/index.php?wpid=1&front_id=12



Keep in mind you will be limited by your network or disk drive.
Experience has shown this takes a really long time for a large drive.
If you want to watch the progress:
1. Log into someremotebox and issue this command:
watch "ls -lh /path/to/file/*"



To copy the image from the remote box:
ssh user@someremotehost "cat /path/to/file/backup.img" | dd of=/dev/hda




George Toft, CISSP, MSIS
623-203-1760




Mark Phillips wrote:
> I have a laptop that dual boots Windows and Debian. I need to make a complete
> backup of the entire drive. I have another Windows XP machine on my network
> (or another Debian machine) with some extra disk space, so I would like to
> create an image of the disk drive and store it there. I then want to restore
> it later. How do I do that?
>
> I have been googling around for "hard drive backup" and "partition backup". I
> found a few options, tested them on the Window 200 partition, and they don't
> seem to be able to do the job. One problem I have is that Windows 2000 does
> not see the Linux partition and Debian does not see the Windows 2000
> partition. Based on what I read, I should unmount the drive I am copying - is
> this true?
>
> I am not enough of a Linux guru to figure out how to use dd across the
> network. Can I run dd on the system I am imaging?
>
> Can I do this with a knoppix CD? Is there a howto somewhere? I couldn't find
> it.
>
> Thanks!
>
> Mark
> ---------------------------------------------------
> PLUG-discuss mailing list -
> To subscribe, unsubscribe, or to change you mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>
>

---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss