Hrm,
perhaps I am naive and not understanding the whole situation, but an rsync
-p (or rsync -a would probably be preffered) would seem a simple way to do a
great job, plus with the added features of showing you transfer progress and
graceful resuming in case of a disconnect.

Am I wrong on that one?

On Wed, Nov 17, 2010 at 11:55 AM, Robert LeBlanc <[email protected]>wrote:

> +1 for tar. I've also used the numeric gid/uid for transferring whole Linux
> systems  between hardware with a live CD.
>
>
> On Wed, Nov 17, 2010 at 11:51 AM, Jon Jensen <[email protected]> wrote:
>
>> On Tue, 16 Nov 2010, James Carroll wrote:
>>
>> > What is the right way to do this backup over ssh while preserving this
>> > user/group information?
>>
>> tar over ssh (or if on a secure local network, tar over nc is a little
>> faster). Something like this to push:
>>
>> tar cp . -C /source/path | ssh dest-server 'tar xp -C /dest/path'
>>
>> Or to pull:
>>
>> ssh source-server 'tar cp . -C /source/path' | tar xp -C /dest/path
>>
>> Jon
>>
>> --
>> Jon Jensen
>> End Point Corporation
>> http://www.endpoint.com/
>> --------------------
>> BYU Unix Users Group
>> http://uug.byu.edu/
>>
>> The opinions expressed in this message are the responsibility of their
>> author.  They are not endorsed by BYU, the BYU CS Department or BYU-UUG.
>> ___________________________________________________________________
>> List Info (unsubscribe here):
>> http://uug.byu.edu/mailman/listinfo/uug-list
>>
>
>
> --------------------
> BYU Unix Users Group
> http://uug.byu.edu/
>
> The opinions expressed in this message are the responsibility of their
> author.  They are not endorsed by BYU, the BYU CS Department or BYU-UUG.
> ___________________________________________________________________
> List Info (unsubscribe here): http://uug.byu.edu/mailman/listinfo/uug-list
>
--------------------
BYU Unix Users Group 
http://uug.byu.edu/ 

The opinions expressed in this message are the responsibility of their
author.  They are not endorsed by BYU, the BYU CS Department or BYU-UUG. 
___________________________________________________________________
List Info (unsubscribe here): http://uug.byu.edu/mailman/listinfo/uug-list

Reply via email to