On Tuesday 29 October 2002 11:02, Glynn S. Condez wrote:
> From: "Ruel Masil" <[EMAIL PROTECTED]>
>

scp -Cpr /var/spool/mail/* [EMAIL PROTECTED]:/var/spool/mail

to be sure you can use tar to create archive with the option
of preserving the actual file permission then use scp to transfer the file
then explode it to it's original location

:)

> > How can i copy all files in /var/spool/mail and /home to another linux
> > server. They both reside on the same subnet. Upon copying can i retain
>
> their
>
> > rights/permissions.
>
> Hi Ruel,
>
> You can tar both mail and home directory using tar command and use the
> options that
> retain the permission of a certain file/directory. man tar would give you a
> better understanding on how
> to create a tar files.
>
> Helpful example which you can use/refer.
> tar -cvfp target.tgz source.tgz
>
> You can transfer/copy the tar file by secure copy or scp.
> scp -p source.tgz user@remoteserver:~/yourhomedir
>
> HTH
> glynn
>
> > Ruel R. Masil
> > Network Administrator
> > Information Services Division
> > Berkley International Philippines, Inc.
> >   visit our website:
> >   www.myfamilyfirst.com
> >   www.berkley.com.ph
> >
> >
> > This message may contain privileged information. Recipients who are not
>
> the
>
> > addressees of this message are not authorized to copy, alter, forward, or
> > deliver it to any third party, nor to use or benefit from its contents in
> > any manner whatsoever. They should notify the sender through a reply
>
> e-mail
>
> > and destroy the message immediately upon receipt.  The sender shall not
> > be bound by any unauthorized copying, alteration, forwarding, delivery,
> > or
>
> use
>
> > of any part of this message and shall not be responsible for the
> > consequences of any such act.
> > _
> > Philippine Linux Users Group. Web site and archives at
>
> http://plug.linux.org.ph
>
> > To leave: send "unsubscribe" in the body to
> > [EMAIL PROTECTED]
> >
> > Fully Searchable Archives With Friendly Web Interface at
>
> http://marc.free.net.ph
>
> > To subscribe to the Linux Newbies' List: send "subscribe" in the body to
>
> [EMAIL PROTECTED]
>
>
> _
> Philippine Linux Users Group. Web site and archives at
> http://plug.linux.org.ph To leave: send "unsubscribe" in the body to
> [EMAIL PROTECTED]
>
> Fully Searchable Archives With Friendly Web Interface at
> http://marc.free.net.ph
>
> To subscribe to the Linux Newbies' List: send "subscribe" in the body to
> [EMAIL PROTECTED]

_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

Fully Searchable Archives With Friendly Web Interface at http://marc.free.net.ph

To subscribe to the Linux Newbies' List: send "subscribe" in the body to 
[EMAIL PROTECTED]

Reply via email to