Oracle FAQ Your Portal to the Oracle Knowledge Grid

Home -> Community -> Mailing Lists -> Oracle-L -> RE: rman/standby

RE: rman/standby

From: Hallas John <>
Date: Wed, 15 Aug 2001 00:55:30 -0700
Message-ID: <>

Two thoughts

1)      Why not copy the archivelogs as they are created by setting the log_archive_dest_1 parameter in your init.ora. This will make 2 copies of the archivelog file, the 2nd one of which can be either be local or to the remote server.

2)      In RMAN is it not possible to put a host command in your script prior to the 2nd backup command.This host command can then unix cp the files to an alternate directory or FTP as appropriate


-----Original Message-----
From: Ravindra Basavaraja [] Sent: 15 August 01 02:41
To: Multiple recipients of list ORACLE-L Subject: rman/standby

I have configured a standby database operating in "manual mode" for our production database.
I will have to apply the archive logs manually for the standby database.

The Archive logs that are genarated on the production server is backed up by RMAN/netbackup and deleted after the backup.I have the stopped the deletion of archive files from the RMAN script.

I want to find the best way of getting both RMAN/netbackup to happen and also delete
the archive logs.But before they are deleted they need to be copied to a seperate
directory so that I can apply those backed up files to the standby database.I want to
make sure that I don't loose any of the archive files that the standby database needs
to be in sync with the production database inclucing the current archive logs that
may be backed up on the production database.

The rman script is like this
run {
allocate channel t1 type 'SBT_TAPE';
  incremental level 1
  tag Dialy_Incremental_Backup_Level1
  filesperset 5
  format 'Data_%d_%s_%p_%t'

  sql 'alter system archive log current';
  filesperset 20
  format 'Arch_%d_%s_%p_%t'

#  (archivelog all delete input);
   (archivelog all);

How do I do it.?


Please see the official ORACLE-L FAQ:
Author: Ravindra Basavaraja

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051 San Diego, California        -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: (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). ********************************************************************** This email and any attachments may be confidential and the subject of legal professional privilege. Any disclosure, use, storage or copying of this email without the consent of the sender is strictly prohibited. Please notify the sender immediately if you are not the intended recipient and then delete the email from your inbox and do not disclose the contents to another person, use, copy or store the information in any medium. **********************************************************************
Received on Wed Aug 15 2001 - 02:55:30 CDT

Original text of this message