Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to rsync EBS application server files to remote server

epecsonMay 26 2015 — edited Jun 1 2015

I would like to perform the following:

1.My source system has all the EBS application server files under /u01/applprod.  This directory is owned by 'applprod'.

2. My remote directory is the same directory and also owned by applprod.

3. However, for me to sign into either server I have to log in using my linux user name (joesmoe), and then su to the applprod user (sudo su - applprod).

So from the source server I run the following command:

rsync -avzpe ssh /u01/applprod  joesmoe@apploraserver:/u01/applprod

How can I change from user 'joesmoe' to user 'applprod' in this rsync?  The rsync will fail because user joesmoe cannot overwrite the files.  However, from 'joesmoe' I can su to applprod user and ever sudo to root?  Any ideas?

This post has been answered by Dude! on May 30 2015
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 29 2015
Added on May 26 2015
5 comments
1,821 views