Mailinglist Archive: opensuse (4053 mails)

< Previous Next >
Re: [SLE] How to make exact HD copy in Linux
  • From: Juergen Braukmann <juergen.braukmann@xxxxxxxxxxxx>
  • Date: Tue, 07 Aug 2001 19:12:32 +0200
  • Message-id: <3B70217F.5E181275@xxxxxxxxxxxx>
Steven Hatfield wrote:
>
> On Monday 06 August 2001 03:12 am, Jeff Armstrong wrote:
> > There's probably lots of other ways but what I would do is:
> >
> > mount newdrive as whatever, then:
> >
> >
> > tar cSpf - / | ( cd newdrivemountpoint ; tar xvSpf - )
>
> I prefer to use dd, as it is a direct "device dump" of the data.
>
> dd if=/dev/hda of=/dev/hdb
>
> where /dev/hda is the drive to be backed up (the input file) and /dev/hdb is
> the drive to get the copy (the output file).
>

Will this also work with a different HD geometry?
I'd preffer the tar option, or "cp -ax / /mnt"
(just wondering seeing this answer twice)

Juergen

--
=========================================== __ _
Juergen Braukmann juergen.braukmann@xxxxxx| -o)/ / (_)__ __ ____ __
Tel: 0201-743648 dk4jb@db0qs.#nrw.deu.eu | /\\ /__/ / _ \/ // /\ \/ /
===========================================_\_v __/_/_//_/\_,_/ /_/\_\

< Previous Next >
Follow Ups