fedora-list Digest, Vol 1, Issue 1367

Erik Hemdal ehemdal at townisp.com
Sat Mar 20 20:37:18 UTC 2004


> Date: Sat, 20 Mar 2004 18:08:43 +0200
> From: Rotariu Bogdan <bogdan at alterox.ro>
> Subject: Re: Duplicating a partition remotely
> To: For users of Fedora Core releases <fedora-list at redhat.com>
> Message-ID: <1079798922.29809.4.camel at KobrAs.Ro>
> Content-Type: text/plain; charset="us-ascii"
> 
> try making images
> ex. dd if=/dev/hda1 of=/dev/hdb2
> On Sat, 2004-03-20 at 16:59, Robert wrote:
> > I have a hard drive containing archived stuff accumulated since Oct '99 
> > (RH6.0) that is beginning to get errors. I need to get that stuff copied 
> > to another drive in another machine. The two machines are networked, so 
> > copying is no problem.  The problem I'm having is finding a way to 
> > preserve ownership, permissions and date/time.  I've looked at rcp, ftp, 
> > ftpcp, ftpcopy, wget, smbclient and some others whose names escape me 
> > and haven't found (or have overlooked!) a way to preserve the attributes.
> > 
> > Any suggestions?

You will probably want to use --atime-preserve (see below for an
explanation from the info page).

`--atime-preserve'
     Tells `tar' to preserve the access time field in a file's inode
     when reading it.  Due to limitations in the `utimes' system call,
     the modification time field is also preserved, which may cause
     problems if the file is simultaneously being modified by another
     program.  This option is incompatible with incremental backups,
     because preserving the access time involves updating the
     last-changed time.  Also, this option does not work on files that
     you do not own, unless you're root.
                                                                                Sorry for any confusion about tar.  Erik


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20040320/869e020d/attachment-0002.bin 


More information about the users mailing list