Rsync over ssh with root access on both sides

Posted by Tim Abell on Server Fault See other posts from Server Fault or by Tim Abell
Published on 2010-04-28T09:18:20Z Indexed on 2010/04/28 9:23 UTC
Read the original article Hit count: 256

Filed under:
|
|
|
|

Hi,

I have one older ubuntu server, and one newer debian server and I am migrating data from the old one to the new one. I want to use rsync to transfer data across to make final migration easier and quicker than the equivalent tar/scp/untar process.

As an example, I want to sync the home folders one at a time to the new server. This requires root access at both ends as not all files at the source side are world readable and the destination has to be written with correct permissions into /home. I can't figure out how to give rsync root access on both sides.

I've seen a few related questions, but none quite match what I'm trying to do.

I have sudo set up and working on both servers.

© Server Fault or respective owner

Related posts about rsync

Related posts about root