[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: HDA is crashing..How can I duplicate it?



You could also instead of using tar, which will create a large backup file,
just use cp -Rdp /old /new

Cheers,
Jason.

> From: Viktor Rosenfeld <rosenfel@informatik.hu-berlin.de>
> Date: Mon, 12 Jun 2000 15:10:09 +0200
> To: Kevin Cobb <kcobb@east.delfin.com>
> Cc: debian-user@lists.debian.org
> Subject: Re: HDA is crashing..How can I duplicate it?
> Resent-From: debian-user@lists.debian.org
> Resent-Date: 12 Jun 2000 13:10:59 -0000
> 
>> Kevin Cobb wrote:
> 
>> Can anyone tell me how I can place another hard drive into the Linux
>> 2.1 box, copy everything from drive 1 to drive 2 and then come up on
>> drive 2?
> 
> How about booting from a rescue disk with its own filesystem, mounting
> the old drive under /old, the new one under /new and then issuing as
> root:
> % cd /old
> % tar cvf /new/backup.tar *
> % cd /new
> % tar xvf backup.tar
> 
> IIRC that should preserve file ownerships, file permissions, and
> symlinks ... but than again, I've never done it myself.
> 
> MfG Viktor
> -- 
> Viktor Rosenfeld
> E-Mail:         mailto:rosenfel@gmx.de
> or:             mailto:rosenfel@informatik.hu-berlin.de
> HertzSCHLAG:    http://www.informatik.hu-berlin.de/~rosenfel/hs/
> 
> 
> -- 
> Unsubscribe?  mail -s unsubscribe debian-user-request@lists.debian.org <
> /dev/null
> 
> 



Reply to: