Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 May 2005 21:21:59 -0400
From:      James Skinner <james@tunasafedolphin.org>
To:        Garance A Drosihn <drosih@rpi.edu>
Cc:        freebsd-questions@freebsd.org, Lisa Casey <lisa@jellico.com>
Subject:   Re: moving /var/mail to another machine
Message-ID:  <4293D337.50708@tunasafedolphin.org>
In-Reply-To: <p06210202beb9718eb0de@[128.113.24.47]>
References:  <004001c560b7$c51c3910$d580a23f@lisac> <p06210202beb9718eb0de@[128.113.24.47]>

next in thread | previous in thread | raw e-mail | index | archive | help
Garance A Drosihn wrote:

> At 7:24 PM -0400 5/24/05, Lisa Casey wrote:
>
>> Hi,
>>
>> I want to move all of the mailboxes (all of /var/mail/*) on one
>> machine to another one across a network. I need to preserve
>> permissions, uid's and gud's. (It would probably be good to
>> preserve modification times as well). I can move a file using
>> scp, but it doesn't preserve uid/gid
>
>
> Check the port named net/rsync .  You can sync a directory from
> one machine to another over ssh by using it.
>
You could also tar it with -p. which would preserve the permissions, and 
then scp it, but rsync is probably a  better idea.

James




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4293D337.50708>