Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: archiving redo logs

RE: archiving redo logs

From: Stephen Lee <slee_at_dollar.com>
Date: Tue, 10 Dec 2002 13:02:27 -0800
Message-ID: <F001.00516D73.20021210130227@fatcity.com>

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.



--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author: Stephen Lee
  INET: slee_at_dollar.com
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

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US