10g Physical Standby to be used for Backup through RMAN

Dear All,
I have 10g Database Primary and Standby Server which is operating in Maximum Performance Mode. I want to use Standby Database for performing Weekly Full and Daily Incremental Backups through RMAN. Kindly inform me is it possible, if yes how should I configure it. I will also be using Compression and Encryption while performing backups.
Best Regards,
Asif

Yes, that is possible.
Because the standby databases are in mount mode, they can be accessed through the SYS account .
I use the following RMAN script for the same purpose. Please note that we have configure the flashback area, so we are not letting RMAN delete the archive files:
run {
sql 'alter system archive log current';
sql 'alter system archive log current';
allocate channel ch1 type 'sbt_tape' parms 'ENV=(TDPO_OPTFILE=/usr/tivoli/tsm/client/oracle/bin64/tdpo.opt)';
backup
incremental level 0
tag full_bk_db_webshop
format 'df_%d_t%t_s%s_p%p'
(database include current controlfile);
backup archivelog all;
This script is for a FULL backup ( level 0 ). You could also use the "backup full" command
You can easily change the level of the Backup for incremental purposes.
Starting RMAN - if configured correctly - is the same as with an open database
export ORACLE_SID=<STDBYSID>
rman target / rcvcat <rman/rman>@<catalogsid>
the user for, and the catalogsid are merely examples
Edited by: fjfranken on Mar 24, 2009 4:07 AM

Similar Messages

  • What can I do? I've forgotten my password and dont remember the answers to my sercurity questions, and no longer have access to the email account i used for backup. How do I get my icloud password reset?

    What can I do? I've forgotten my password and dont remember the answers to my sercurity questions, and no longer have access to the email account i used for backup. How do I get my icloud password reset? Please help. Thanks in advance.

    Please see Kappy's User Tip here:
    https://discussions.apple.com/docs/DOC-4551

  • I recently moved and had to disconnect my WD My Pro Edition II 2TB external drive I had been using for backup.  Its been several months and now when i try to reconnect the external dire (Use a firewire cable) it does not recognize the drive is there.  I a

    I recently moved and had to disconnect my WD My Pro Edition II 2TB external drive I had been using for backup. 
    Its been several months (many upgrades to the iMac software during this time), and now when I try to reconnect the external dire (Use a firewire cable) it does not recognize the drive is there.  I also tried "reloading" software from the Western Digital site, but after following all the instructions, it looks like my iMac doesn't support this software (I can't even locate it after I follow all the instructions.
    Thnaks,  for anyones ideas on how I can get this working again.....

    First of all, you do not really want to use their software; if you want a bootable clone, use either Carbon Copy Cloner or SuperDuper. If you simply want to drag and drop some files, you don't need software to do that. The important thing on any external drive is that you format/partition it correctly (Mac OS Extended (Journaled) and using GUID partition scheme). 
    Unfortunately, I don't know anything about WD drives or their software, so I don't have any idea what kind of backup you did. Having said that, it should still recognize the external even if it's outdated. Have you tried mounting it manually in Disk Utility? If you can get it to mount, you could (worst case scenario) just drag your stuff off onto your internal and then reformat the external.

  • After install of Lion, secondary internal hard drive used for backup and time machine is not showing on the desktop.

    After an install of Lion, my secondary internal hard drive used for backup and time machine is not showing on the desktop. Cannot be located with Disk Utility either. Contains vital files! please help...

    I have a TB internal drive, but this is what it shows for memory slots:
    Memory Slots:
      ECC:    Enabled
    DIMM Riser B/DIMM 1:
      Size:    2 GB
      Type:    DDR2 FB-DIMM
      Speed:    800 MHz
      Status:    OK
      Manufacturer:    0x0000
      Part Number:    0x000000463732353642363145353830304600
      Serial Number:    0x00000000
    DIMM Riser B/DIMM 2:
      Size:    2 GB
      Type:    DDR2 FB-DIMM
      Speed:    800 MHz
      Status:    OK
      Manufacturer:    0x0000
      Part Number:    0x000000463732353642363145353830304600
      Serial Number:    0x00000000
    DIMM Riser A/DIMM 1:
      Size:    1 GB
      Type:    DDR2 FB-DIMM
      Speed:    800 MHz
      Status:    OK
      Manufacturer:    0x80AD
      Part Number:    0x48594D5035313241373243503844332D5335
      Serial Number:    0x42076007
    DIMM Riser A/DIMM 2:
      Size:    1 GB
      Type:    DDR2 FB-DIMM
      Speed:    800 MHz
      Status:    OK
      Manufacturer:    0x80AD
      Part Number:    0x48594D5035313241373243503844332D5335
      Serial Number:    0x4207631E
    DIMM Riser B/DIMM 3:
      Size:    Empty
      Type:    Empty
      Speed:    Empty
      Status:    Empty
      Manufacturer:    Empty
      Part Number:    Empty
      Serial Number:    Empty
    DIMM Riser B/DIMM 4:
      Size:    Empty
      Type:    Empty
      Speed:    Empty
      Status:    Empty
      Manufacturer:    Empty
      Part Number:    Empty
      Serial Number:    Empty
    DIMM Riser A/DIMM 3:
      Size:    Empty
      Type:    Empty
      Speed:    Empty
      Status:    Empty
      Manufacturer:    Empty
      Part Number:    Empty
      Serial Number:    Empty
    DIMM Riser A/DIMM 4:
      Size:    Empty
      Type:    Empty
      Speed:    Empty
      Status:    Empty
      Manufacturer:    Empty
      Part Number:    Empty
      Serial Number:    Empty

  • HT3275 This file 'Volumes/Data/iMac van Bruno Heutz.sparsebundle' which is used for backup copie is already in use. What do I have to do?.

    Every 30 min I get this message from Time Machine.
    This file 'Volumes/Data/iMac van Bruno Heutz.sparsebundle' which is used for backup copie is already in use.
    What do I have to do?.
    Kind regards,
    Bruno

    Restart the TC..
    But yours might be more serious than that.
    Read C12 in pondini.
    http://pondini.org/TM/Troubleshooting.html
    I would suggest you change all names to match what Pondini writes here.
    C9
    And use ethernet not wireless.

  • What thrid party tools are you using for backup compression?

    I have a few SQL Server 2008 standard edition instances and I'm curious to what third party tools people are using for backup compression. I know upgrading to enterprise edition or  SQL Server 2008R2 or above will give me that compression but I do not
    have that option right now. I'm familiar with Idera, Red gate and Litespeed and I just want to know what else is out there.
    Thank you in Advance.

    There are many third party tools.
    But Why third party tools?
    SQL Server integrated Backup and restore feature is complete. For more info please see these links:
    Backup Overview (SQL Server)
    Introduction to Backup and Restore Strategies in SQL Server
    SQL
    Server Backup Best Practices
    sqldevelop.wordpress.com

  • Can Time Capsule be used for Backup of Iphone

    Can Airport Time Capsule be used for Backup of Iphone & ipad

    The iPhone and iPad cannot back up directly to the Time Capsule.....they only back up to iTunes on your Mac or PC....or....to iCloud.
    If you are using Time Machine to backup your Mac to the Time Capsule, then all of the backups of your iOS devices in iTunes will then be backed up to the Time Capsule.
    See this Apple support document for more information on iOS backups.
    http://support.apple.com/kb/ht1766

  • Application to use for backup

    Hi,
    I am using MBP with Snow Leopard, and I have this 500G external drive as my backup (Sometime use on windows to open backup files from mac).
    My question is , is there a program / application to use for backup? I tried backing up, but the folder on my target drive (500gb ext), was replaced with the folder on my mbp.
    Scenario:
    on MBP - I have folder Documents
    on 500ext drive - I have folder Documents
    When I copy the entire Documents folder from MBP to 500G Ext Drive, the one in 500G was replaced with the one in MBP. I dont want that to happen because sometimes I have files on 500g documents that doesn't exists on MBP Docs. I just want to COPY folders on either way and will retain files even not exists. Which means, I need a file manager that copy files to files not folder to folder.
    As much as possible, I want a free apps.
    Thanks

    Use the ditto command in the Terminal, which is in the /Applications/Utilities/ folder; for instructions on its use, enter 'man ditto' without the quote marks into the Terminal prompt.
    (55711)

  • What to use for backup?

    To back up my mac computer, do I need to purchase a product such as time capsule, or do i just use a blank CD, or what? I would like to back up my mac, but i don't know what to use.
    Message was edited by: Mr Macintosh

    Basic Backup
    Get an external Firewire drive at least equal in size to the internal hard drive and make (and maintain) a bootable clone/backup. You can make a bootable clone using the Restore option of Disk Utility. You can also make and maintain clones with good backup software. My personal recommendations are (order is not significant):
    1. Retrospect Desktop (Commercial - not yet universal binary)
    2. Synchronize! Pro X (Commercial)
    3. Synk (Backup, Standard, or Pro)
    4. Deja Vu (Shareware)
    5. PsynchX 2.1.1 and RsyncX 2.1 (Freeware)
    6. Carbon Copy Cloner (Freeware - 3.0 is a Universal Binary)
    7. SuperDuper! (Commercial)
    8. Intego Personal Backup (Commercial)
    9. Data Backup (Commercial)
    The following utilities can also be used for backup, but cannot create bootable clones:
    1. Backup (requires a .Mac account with Apple both to get the software and to use it.)
    2. Toast
    3. Impression
    4. arRSync
    Apple's Backup is a full backup tool capable of also backing up across multiple media such as CD/DVD. However, it cannot create bootable backups. It is primarily an "archiving" utility as are the other two.
    Impression and Toast are disk image based backups, only. Particularly useful if you need to backup to CD/DVD across multiple media.
    Visit The XLab FAQs and read the FAQs on maintenance, optimization, virus protection, and backup and restore. Also read How to Back Up and Restore Your Files.
    Although you can buy a complete FireWire drive system, you can also put one together if you are so inclined. It's relatively easy and only requires a Phillips head screwdriver (typically.) You can purchase hard drives separately. This gives you an opportunity to shop for the best prices on a hard drive of your choice. Reliable brands include Seagate, Hitachi, Western Digital, Toshiba, and Fujitsu. You can find reviews and benchmarks on many drives at Storage Review.
    Enclosures for FireWire and USB are readily available. You can find only FireWire enclosures, only USB enclosures, and enclosures that feature multiple ports. I would stress getting enclosures that use the Oxford chipsets (911, 921, 922, for example.) You can find enclosures at places such as;
    Cool Drives
    OWC
    WiebeTech
    Firewire Direct
    California Drives
    NewEgg
    All you need do is remove a case cover, mount the hard drive in the enclosure and connect the cables, then re-attach the case cover. Usually the only tool required is a small or medium Phillips screwdriver.

  • Wireless 1TB Plus used for backup?

    Could a Seagate Wireless Plus 1TB Storage/Buildin Wi-Fi Streaming unit be used for backup in Time Machine, or do I have to use a USB connection?

    The first requirement would be that the drive is formatted in Mac OS Extended (Journaled). If not, the next question for Seagate support would be.....can it be formatted in Mac OS Extended (Journaled)?.
    If yes.....in theory.....it would work, but backups will be mighty S L O W this way due to a "double hop" wireless situation.
    In other words, your Mac would have to send the signal to the wireless router......hop one.....and then the wireless router would have to send the signal back out to the Seagate......hop two.
    In addition to doubling the amount of time that it would take for backups to occur, the chances of an error are doubled as well.

  • Error while taking backup  through RMAN in 10g XE

    While taking backup through RMAN in XE instance , an error comes out.
    The contents of oxe_backup_current file is as below :
    XE Backup Log
    Recovery Manager: Release 10.2.0.1.0 - Production on Wed Jul 6 15:49:51 2011
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    connected to target database: XE (DBID=2635631092)
    RMAN>
    echo set on
    RMAN> shutdown immediate;
    using target database control file instead of recovery catalog
    database closed
    database dismounted
    Oracle instance shut down
    RMAN> startup mount;
    connected to target database (not started)
    Oracle instance started
    database mounted
    Total System Global Area     805306368 bytes
    Fixed Size                     1261444 bytes
    Variable Size                209715324 bytes
    Database Buffers             591396864 bytes
    Redo Buffers                   2932736 bytes
    RMAN> configure retention policy to redundancy 2;
    old RMAN configuration parameters:
    CONFIGURE RETENTION POLICY TO REDUNDANCY 2;
    new RMAN configuration parameters:
    CONFIGURE RETENTION POLICY TO REDUNDANCY 2;
    new RMAN configuration parameters are successfully stored
    RMAN> configure controlfile autobackup format for device type disk clear;
    RMAN configuration parameters are successfully reset to default value
    RMAN> configure controlfile autobackup on;
    old RMAN configuration parameters:
    CONFIGURE CONTROLFILE AUTOBACKUP OFF;
    new RMAN configuration parameters:
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    new RMAN configuration parameters are successfully stored
    RMAN> sql "create pfile=''/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/dbs/spfile2init.ora'' from spfile";
    *sql statement: create pfile=''/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/dbs/spfile2init.ora'' from spfile*
    *RMAN-00571: ===========================================================*
    *RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============*
    *RMAN-00571: ===========================================================*
    *RMAN-03009: failure of sql command on default channel at 07/06/2011 15:50:57*
    *RMAN-11003: failure during parse/execution of SQL statement: create pfile='/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/dbs/spfile2init.ora' from spfile*
    *ORA-27086: unable to lock file - already in use*
    *Linux Error: 11: Resource temporarily unavailable*
    Additional information: 8
    Additional information: 16476
    RMAN> backup as backupset device type disk database;
    Starting backup at 06-JUL-11
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=102 devtype=DISK
    channel ORA_DISK_1: starting full datafile backupset
    channel ORA_DISK_1: specifying datafile(s) in backupset
    input datafile fno=00003 name=/usr/lib/oracle/xe/oradata/XE/sysaux.dbf
    input datafile fno=00005 name=/usr/lib/oracle/xe/oradata/XE/ftress_data_log01.dbf
    input datafile fno=00006 name=/usr/lib/oracle/xe/oradata/XE/ftress_data_lrg01.dbf
    input datafile fno=00001 name=/usr/lib/oracle/xe/oradata/XE/system.dbf
    input datafile fno=00009 name=/usr/lib/oracle/xe/oradata/XE/ftress_indx_log01.dbf
    input datafile fno=00010 name=/usr/lib/oracle/xe/oradata/XE/ftress_indx_lrg01.dbf
    input datafile fno=00002 name=/usr/lib/oracle/xe/oradata/XE/undo.dbf
    input datafile fno=00004 name=/usr/lib/oracle/xe/oradata/XE/users.dbf
    input datafile fno=00008 name=/usr/lib/oracle/xe/oradata/XE/ftress_data_sml01.dbf
    input datafile fno=00012 name=/usr/lib/oracle/xe/oradata/XE/ftress_indx_sml01.dbf
    input datafile fno=00011 name=/usr/lib/oracle/xe/oradata/XE/ftress_indx_mdm01.dbf
    input datafile fno=00007 name=/usr/lib/oracle/xe/oradata/XE/ftress_data_mdm01.dbf
    channel ORA_DISK_1: starting piece 1 at 06-JUL-11
    channel ORA_DISK_1: finished piece 1 at 06-JUL-11
    piece handle=/usr/lib/oracle/xe/app/oracle/flash_recovery_area/XE/backupset/2011_07_06/o1_mf_nnndf_TAG20110706T155057_718dw649_.bkp tag=TAG20110706T155057 comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:00:15
    Finished backup at 06-JUL-11
    Starting Control File and SPFILE Autobackup at 06-JUL-11
    piece handle=/usr/lib/oracle/xe/app/oracle/flash_recovery_area/XE/autobackup/2011_07_06/o1_mf_s_755797849_718dwofy_.bkp comment=NONE
    Finished Control File and SPFILE Autobackup at 06-JUL-11
    RMAN> configure controlfile autobackup off;
    old RMAN configuration parameters:
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    new RMAN configuration parameters:
    CONFIGURE CONTROLFILE AUTOBACKUP OFF;
    new RMAN configuration parameters are successfully stored
    RMAN> alter database open;
    database opened
    RMAN> delete noprompt obsolete;
    RMAN retention policy will be applied to the command
    RMAN retention policy is set to redundancy 2
    using channel ORA_DISK_1
    Deleting the following obsolete backups and copies:
    Type                 Key    Completion Time    Filename/Handle
    Backup Set           3      06-JUL-11        
      Backup Piece       3      06-JUL-11          /usr/lib/oracle/xe/app/oracle/flash_recovery_area/XE/backupset/2011_07_06/o1_mf_nnndf_TAG20110706T133443_7184wr4d_.bkp
    Backup Set           4      06-JUL-11        
      Backup Piece       4      06-JUL-11          /usr/lib/oracle/xe/app/oracle/flash_recovery_area/XE/autobackup/2011_07_06/o1_mf_s_755789675_7184x7fp_.bkp
    deleted backup piece
    backup piece handle=/usr/lib/oracle/xe/app/oracle/flash_recovery_area/XE/backupset/2011_07_06/o1_mf_nnndf_TAG20110706T133443_7184wr4d_.bkp recid=3 stamp=755789684
    deleted backup piece
    backup piece handle=/usr/lib/oracle/xe/app/oracle/flash_recovery_area/XE/autobackup/2011_07_06/o1_mf_s_755789675_7184x7fp_.bkp recid=4 stamp=755789699
    Deleted 2 objects
    RMAN>
    Recovery Manager complete.
    RMAN error: See log for details.

    I think it is trying to overwrite exiting file. Either give a different name or cleanup the files in preferred location.

  • Find how many archive logs are generated and backup through RMAN

    friends,
    how many arhcive logs are generating between 2 consecutive backups through RMAN.
    Ur help is really appricated.
    Thanks

    Sorry, I misunderstood the question
    I think you are not asking how many logs are generated since last backup. My initial repy was the answer for this
    The answer of you question on 10G R2 is like below. Query groups your archivelog backup sessions and counts the logs in one session which is the number of generated archivelog file between two backup session/.
    select session_key,count(sequence#) from V$BACKUP_ARCHIVELOG_DETAILS group by session_key order by 1 desc
    Coskan Gundogar
    http://coskan.wordpress.com

  • Backup through RMAN

    Hi guys.
    I am new in oracle database.my database is in no archive mode
    i want to take backup through RMAN .
    rman target sys/oracle
    backup database;
    but fail to backup. please see error
    ORA -19602: cannot backup or copy active file in noarchivelog mode

    Enable archiving in 10g
    1. shutdown immediate;
    2. edit init.ora set log_archive_start=TRUE /*Set this if your database is 9i. If 10g DB then ignore this step*/
    3. startup mount;
    4. alter database archivelog;
    5. alter database flashback on; /*Not required to enable archiving. Just extra info to enable flashback logs*/
    6. alter database open;
    7. archive log list;
    Now take backup
    run
    allocate channel ch1 type disk format '%D_%d_%t_%T_%s.bak';
    backup database plus archivelog;
    report obsolete;
    delete noprompt obsolete;
    crosscheck backupset;
    crosscheck archivelog all;
    resync catalog;
    Sami Malik
    [email protected]

  • Implementing RAC database backup through RMAN and grid control.

    Hi...
    plz... can any one give me good document (metalink documents id or else) to implement RAC database backup through RMAN. and also grid document...

    user8943492 wrote:
    Hi...
    plz... can any one give me good document (metalink documents id or else) to implement RAC database backup through RMAN. and also grid document...Read below links
    http://download.oracle.com/docs/cd/B19306_01/rac.102/b14197/backup.htm#i443637
    http://download.oracle.com/docs/cd/B19306_01/rac.102/b14197/rmanops.htm#i474611
    http://download.oracle.com/docs/cd/B19306_01/rac.102/b14197/toc.htm

  • Oracle 10g physical standby error

    Hi all,
    We been frequently getting this error on our standby DB and not sure if it's network related or a possible configuration tuning.
    RFS[425]: Assigned to RFS process 3640
    RFS[425]: Identified database type as 'physical standby'
    Primary database is in MAXIMUM PERFORMANCE mode
    Primary database is in MAXIMUM PERFORMANCE mode
    RFS[425]: No standby redo logfiles created
    Mon Nov 23 09:47:28 2009
    Fetching gap sequence in thread 1, gap sequence 35418-35418
    Mon Nov 23 09:48:02 2009
    FAL[client]: Failed to request gap sequence
    GAP - thread 1 sequence 35418-35418
    DBID 3292763437 branch 615642223
    FAL[client]: All defined FAL servers have been attempted.
    Check that the CONTROL_FILE_RECORD_KEEP_TIME initialization
    parameter is defined to a value that is sufficiently large
    enough to maintain adequate log switch information to resolve
    archivelog gaps.
    Mon Nov 23 09:48:17 2009
    RFS[384]: No standby redo logfiles created
    Mon Nov 23 09:48:21 2009
    RFS[425]: Possible network disconnect with primary database
    Closing latent archivelog for thread 1 sequence 35419
    EOF located at block 1201 low SCN 0:-1055223653 next SCN 0:-1055223015
    Latent archivelog 'E:\ORACLE\ARCH\xxxxx\LOG_615642223_1_35419.ARC'
    If you wish to failover to this standby database, you should use the
    following command to manually register the archivelog for recovery:
    ALTER DATABASE REGISTER LOGFILE 'E:\ORACLE\ARCH\xxxxx\LOG_xxx615642223_1_35419.ARC';
    Redo Shipping Client Connected as PUBLIC
    -- Connected User is Valid
    RFS[426]: Assigned to RFS process 3200
    RFS[426]: Identified database type as 'physical standby'
    Primary database is in MAXIMUM PERFORMANCE mode
    Primary database is in MAXIMUM PERFORMANCE mode
    RFS[426]: No standby redo logfiles created
    Any ideas?
    thx

    I've inherited this DB and never really looked at the settings.
    The error I see in the primary DB is
    FAL[server]: Fail to queue the whole FAL gap
    Protection level on primary is
    SQL> SELECT PROTECTION_MODE, PROTECTION_LEVEL FROM V$DATABASE;
    PROTECTION_MODE PROTECTION_LEVEL
    MAXIMUM PERFORMANCE MAXIMUM PERFORMANCE
    Edited by: jrmtl on Nov 23, 2009 7:32 AM

Maybe you are looking for

  • War file created in Eclipse works, but fails when created by Ant

    Hi, I am having trouble getting my flex war file to work when I create it using Ant, even though the same war works fine when I create it from my Eclipse Export War function. This is a critical problem and any ideas or suggestions would be greatly ap

  • How do I find my pictures on Photoshop Elements 3.0?

      I have been using Photoshop Elements 3.0 for many years. Today I attempted to restore pictures from several discs. When finished I tried to view my photos and got this message:    The calalog named "My Catalog" could not be found. Please open or cr

  • Need info on the class that is used for BUILHEADER Genil query

    Hi All, Can some one pls let me know the class that is called by executing the query BUILHEADER. I m facing a strange error, everytime when i search and open any account other than sold to party in WEBUI, I am noticing soldto party in the Roles Assig

  • Mailbox for Text messages

    Hi, i have a E51 that i just want to use without email. can i set it up in such a way that when i press the mail button i access my text messages as opposed to any emails? i don't want email access on this phone. thanks for your help

  • Out of memory errors when reporting on checked out files

    My Dreamweaver CC version is up to date. I haven't been able to complete a report to find checked out files. I can see it running at a speed of about 2 files per second. We have a few thousand files on the web server, but I didn't have a problem with