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: Dan Lund
Date:  
To: Main PLUG discussion list
Subject: Re: How do I save a disk image of my laptop hard drive?
My mistake, syntactical problem with what I gave.

The following works (just tested it)
dd if=/dev/hda | ssh userid@remotemachine "gzip -9 -c > /root/test.img.gz"


On 4/6/07, Dan Lund <> wrote:
> dd if=/dev/hda | gzip -9 -c | ssh userid@someremotehost ">
> /directory/file-name-to-be-stored.gz
>
> Replace /dev/hda with the drive you want backed up (or /dev/hda1 for
> first partition), userid with the userid on the remote host your
> backing up to, someremotehost with the hostname of the remote machine,
> and /directory/file-name-to-be-stored.gz with the name of the file you
> want it to be named as on the remote machine.. with the .gz extension.
>
>
>
> On 4/6/07, Bryan O'Neal <> wrote:
> > (Again I am sure some one has beaten me to this, but)
> >
> > dd will not compress your drive, so if you have an 80GB drive you will
> > need at least 80GB of space. Though I remember some trick to this like
> > dd|tar|zip|net but I do not recall.
> >
> > I have used several windows based tools off of a live windows diag disk
> > I have (ultimate boot disk for windows 4) such as xml drive copy and
> > they work great and are much cheaper then ghost, but somehow not as
> > comforting as ghost...
> >
> > -----Original Message-----
> > From:
> > [mailto:plug-discuss-bounces@lists.plug.phoenix.az.us] On Behalf Of Mark
> > Phillips
> > Sent: Thursday, April 05, 2007 12:21 PM
> > To: PLUG
> > Subject: How do I save a disk image of my laptop hard drive?
> >
> > 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
> >
>
>
> --
> "Courage is like love; it must have hope to nourish it."
> -Napoleon Bonaparte
>



--
"Courage is like love; it must have hope to nourish it."
-Napoleon Bonaparte
---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss