Re: OT: Hard disk mirror with Paragon on USB stick?



Joerg <notthisjoergsch@xxxxxxxxxxxxxxxxxxxxx> writes:

Archimedes' Lever wrote:
On Sun, 14 Dec 2008 09:41:44 -0800, Joerg
<notthisjoergsch@xxxxxxxxxxxxxxxxxxxxx> wrote:

That boils down to about the same effort as a complete re-install
onto a new HD, plus Linux is quite nerdy, requires you to know the
magic command line Swahili with which I am not familiar.


Bulloney. Linux distros support archival retrieval, and copying that
volume to another will yield a perfect, functional, bootable copy. No
re-installs required, no magic words. Linux installations are typically
image copies for most applets and applications that get installed. Not
much gets compiled during the installation runtime.


Yeah, to a Linux expert probably. But when I looked at an instruction
on the web on how to do a mirror archive of a Windows machine using a
Knoppix CD in order to dump that back onto a new hard drive that was
at least two pages of intricate command line stuff.

You can do it in one line using e.g. ntfsclone. That's what I use to
image laptops in their pristine state, before giving them to the
user. The man page for ntfsclone gives the required command line for
the most common scenarios (backup, restore, to/from a local file, and
to/from the network.

Boot from a knoppix CD/DVD and choose from:

==================================================================

Clone NTFS on /dev/hda1 to /dev/hdc1:

ntfsclone --overwrite /dev/hdc1 /dev/hda1

Save an NTFS to a file in the special image format:

ntfsclone --save-image --output backup.img /dev/hda1

Restore an NTFS from a special image file to its original partition:

ntfsclone --restore-image --overwrite /dev/hda1 backup.img

Save an NTFS into a compressed image file:

ntfsclone --save-image -o - /dev/hda1 | gzip -c > backup.img.gz

Restore an NTFS volume from a compressed image file:

gunzip -c backup.img.gz | \\
ntfsclone --restore-image --overwrite /dev/hda1 -

Backup an NTFS volume to a remote host, using ssh. Please note, that ssh may ask for a password!

ntfsclone --save-image --output - /dev/hda1 | \\
gzip -c | ssh host ’cat > backup.img.gz’

Restore an NTFS volume from a remote host via ssh. Please note, that ssh may ask for a password!

ssh host ’cat backup.img.gz’ | gunzip -c | \\
ntfsclone --restore-image --overwrite /dev/hda1 -

==================================================================

--

John Devereux
.



Relevant Pages

  • Re: OT: Hard disk mirror with Paragon on USB stick?
    ... magic command line Swahili with which I am not familiar. ... Restore an NTFS from a special image file to its original partition: ... Backup an NTFS volume to a remote host, using ssh. ...
    (sci.electronics.design)
  • Re: mounting a w2k directory
    ... > If the windows share is on an NTFS formatted partition, ... > your smb mount command. ... a Solaris, *BSD, or Linux filesystem the files are hosted on? ...
    (comp.os.linux.networking)
  • Re: mounting a w2k directory
    ... > If the windows share is on an NTFS formatted partition, ... > your smb mount command. ... a Solaris, *BSD, or Linux filesystem the files are hosted on? ...
    (comp.os.linux)
  • Re: Mounting NTFS partitions
    ... Writing to NTFS is still experimental in Linux and is not advised, ... The command line is the front line. ...
    (alt.os.linux.suse)
  • Re: Mounting NTFS partitions
    ... >>I installed suse 7 on my Dad's newer computer, command line only. ... and I use a lilo floppy to boot linux. ... >>a NTFS partition so that linux will write on it? ...
    (alt.os.linux)