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: rman/standby

RE: rman/standby

From: Hallas John <John.Hallas_at_btcellnet.net>
Date: Wed, 15 Aug 2001 00:55:30 -0700
Message-ID: <F001.0036ACCF.20010815005021@fatcity.com>

Ravindra,
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

John

-----Original Message-----
From: Ravindra Basavaraja [mailto:ravindra_at_sentica.com] 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';
backup
  incremental level 1
  tag Dialy_Incremental_Backup_Level1
  filesperset 5
  format 'Data_%d_%s_%p_%t'

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

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

How do I do it.?

Thanks
Ravindra

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

  INET: ravindra_at_sentica.com
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: 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). ********************************************************************** 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

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