Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: archiving redo logs
If security policy allows, and you don't have any religious convictions against doing it, you can put a .rhosts file in the home directory of the target user/box that will allow you to use rcp on the source box. Be sure to set the permissions to 400 after creating it.
If you can't do this, another option is to use ftp. You can do something like:
#!/usr/bin/ksh
ftp -n <<-XXX
open 123.123.123.123
user oracle the_password
cd /yada/yada/yada
mput *.extension
bye
XXX
You can also investigate using a .netrc file in the home directory on the source box.
-----Original Message-----
If UNIX script is the only option, I appreciate if you can share it here.
Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services ---------------------------------------------------------------------To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Tue Dec 10 2002 - 15:02:27 CST
![]() |
![]() |