RMAN Cold Backup FINAL
We are upgrading our production database in 2 weeks. We will be using datapump to export the source and then import to the new target database. As a final backup before the source export I want an RMAN cold backup to get a consistent point-in-time backup. The database is in archivelog mode. After shutting down and using RMAN to perform the cold backup, I will have to open the database to do the export. So how would RMAN restore the production source database back to the time the database was down if additional archive logs are generated during the export? Would I have to specify a time or SCN or would I have SCN gap issues in the recovery of the source database? This is for the source database that will no longer be used once the import to the target and subsequent ERP upgrades are applied. However, I need to preserve the source for a month or so. I could also continue to take hot RMAN backups after the export is completed, but I need the point-in-time recovery to the exact time of the export. I currently only use online RMAN backups since this is a 24/7 database, but I have a short window to upgrade to the new production database.
Thank you,
Curt Swartzlander
DBA
>
Would I have to specify a time or SCN or would I have SCN gap issues in the recovery of the source database? TTo do an incomplete recovery with RMAN requires to specify a date/time or SCN or log sequence because by default RMAN will try to do complete recovery: http://download.oracle.com/docs/cd/B19306_01/backup.102/b14194/rcmsynta065.htm#RCMRF160
Edited by: P. Forstmann on 25 janv. 2010 18:32
Edited by: P. Forstmann on 25 janv. 2010 18:34
Similar Messages
-
Clonning using RMAN Cold Backup?
Hi,
I have a COLD RMAN backup in prod server and now i want to clone test db using this backup through RMAN. I have 2 question regarding this
1) Where do i need to place the prod RMAN COLD backup files in test server?
2) If i ran below command how RMAN will know where did i placed the backup in test server?
In Test Server
RMAN> duplicate target database to test;DB Version is : 10.2.0.4
Thanks in advancethanks. Now it is unable to restore the datafiles from rman backup.Below steps i tried.
[oracle@Test test1]$ rman target /
Recovery Manager: Release 10.2.0.4.0 - Production on Tue Feb 21 08:58:46 2012
Copyright (c) 1982, 2007, Oracle. All rights reserved.
connected to target database (not started)
RMAN> startup nomount pfile='/u01/app/oracle/product/10.2.0/db_1/dbs/initprod2.ora';
Oracle instance started
Total System Global Area 603979776 bytes
Fixed Size 1268896 bytes
Variable Size 163578720 bytes
Database Buffers 436207616 bytes
Redo Buffers 2924544 bytes
RMAN> restore controlfile from '/u01/app/oracle/product/10.2.0/backup/test1/21_RMAN_BACKUP_08n3s02u_1_1.bak';
Starting restore at 21-FEB-12
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=156 devtype=DISK
channel ORA_DISK_1: restoring control file
channel ORA_DISK_1: restore complete, elapsed time: 00:00:05
output filename=/u01/app/oracle/product/10.2.0/oradata/test1/control01.ctl
output filename=/u01/app/oracle/product/10.2.0/oradata/test1/control02.ctl
output filename=/u01/app/oracle/product/10.2.0/oradata/test1/control03.ctl
Finished restore at 21-FEB-12
RMAN> alter database mount;
database mounted
released channel: ORA_DISK_1
RMAN> catalog start with '/u01/app/oracle/product/10.2.0/backup/test1';
Starting implicit crosscheck backup at 21-FEB-12
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=156 devtype=DISK
Crosschecked 3 objects
Finished implicit crosscheck backup at 21-FEB-12
Starting implicit crosscheck copy at 21-FEB-12
using channel ORA_DISK_1
Finished implicit crosscheck copy at 21-FEB-12
searching for all files in the recovery area
cataloging files...
no files cataloged
searching for all files that match the pattern /u01/app/oracle/product/10.2.0/backup/test1
List of Files Unknown to the Database
=====================================
File Name: /u01/app/oracle/product/10.2.0/backup/test1/21_RMAN_BACKUP_07n3rvvq_1_1.bak
File Name: /u01/app/oracle/product/10.2.0/backup/test1/21_RMAN_BACKUP_08n3s02u_1_1.bak
Do you really want to catalog the above files (enter YES or NO)? yes
cataloging files...
cataloging done
List of Cataloged Files
=======================
File Name: /u01/app/oracle/product/10.2.0/backup/test1/21_RMAN_BACKUP_07n3rvvq_1_1.bak
File Name: /u01/app/oracle/product/10.2.0/backup/test1/21_RMAN_BACKUP_08n3s02u_1_1.bak
RMAN>
RMAN> restore database;
Starting restore at 21-FEB-12
using channel ORA_DISK_1
channel ORA_DISK_1: starting datafile backupset restore
channel ORA_DISK_1: specifying datafile(s) to restore from backup set
restoring datafile 00001 to /u01/app/oracle/oradata/prod2/system.dbf
restoring datafile 00002 to /u01/app/oracle/oradata/prod2/usr04.dbf
restoring datafile 00003 to /u01/app/oracle/oradata/prod2/undo.dbf
restoring datafile 00004 to /u01/app/oracle/oradata/prod2/sysaux.dbf
restoring datafile 00005 to /u01/app/oracle/oradata/prod2/p1_01.dbf
restoring datafile 00006 to /u01/app/oracle/oradata/prod2/p2_01.dbf
channel ORA_DISK_1: reading from backup piece /u01/app/oracle/product/10.2.0/backup/test1/21_RMAN_BACKUP_07n3rvvq_1_1.bak
ORA-19870: error reading backup piece /u01/app/oracle/product/10.2.0/backup/test1/21_RMAN_BACKUP_07n3rvvq_1_1.bak
ORA-19504: failed to create file "/u01/app/oracle/oradata/prod2/system.dbf"
ORA-27040: file create error, unable to create file
Linux Error: 2: No such file or directory
failover to previous backup
creating datafile fno=1 name=/u01/app/oracle/oradata/prod2/system.dbf
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 02/21/2012 09:01:09
ORA-01180: can not create datafile 1
ORA-01110: data file 1: '/u01/app/oracle/oradata/prod2/system.dbf' -
User managed coldbkp vs rman cold backup
Hi,
I confused about rman cold backup in no catalog mode while restore the backup.please anyone clarify it.
1,I am not confused about user manged cold backup.I took the backup (spfile,control file,redo file,datafile,password file.)Is it right one?
2,In rman cold backup in no catalog mod, we used backup sets for backup,control file is autobackup is enabled.
The backup set format is not OS format.The backup stored at flash recovery area.
Just assume,
I lost all files(spfile,control file,redo file,datafile,password file.)How to recover that.
I am not able to identity spfile & control file in backupset in flash recovery area.
How to identity the spfile,control file during the restoration?
3,Rman takes the copy of online redo file in cold backup?
If it's not,How to recover the database & in user managed backup,copy of online redo log file is must?
4,What is the difference between dbid & sid?when it is used?
5,Can i specifty format for spfile when i take the backup? can i use trace file(control file ) for restoration?
I read the oracle documents, but I am not understand the above things clearly.please anyone rectify it.user3266490 wrote:
Hi,
I confused about rman cold backup in no catalog mode while restore the backup.please anyone clarify it.
1,I am not confused about user manged cold backup.I took the backup (spfile,control file,redo file,datafile,password file.)Is it right one?
Yes,you are right,but first need SHUTDOWN IMMEDIATE;
>
2,In rman cold backup in no catalog mod, we used backup sets for backup,control file is autobackup is enabled.
The backup set format is not OS format.The backup stored at flash recovery area.
If you do not explicitly configured rman then yes it will backup to FRA.
Just assume,
I lost all files(spfile,control file,redo file,datafile,password file.)How to recover that.
First need SET (EXPORT) ORACLE_SID and then
rman target /
startup force nomount;
restore spfile from 'autobackuplocation';
startup force nomount;
restore controlfile from 'autobackuplocation';
catalog start with 'backupandarchiveloglocation';
restore database;
recover database;
alter database open resetlogs;
I am not able to identity spfile & control file in backupset in flash recovery area.
From rman you can execute LIST BACKUP or LIST BACKUP OF CONTROLFILE;
How to identity the spfile,control file during the restoration?
3,Rman takes the copy of online redo file in cold backup?No,RMAN do not backup online logs,due to this do not need.
If it's not,How to recover the database & in user managed backup,copy of online redo log file is must?
If cold backup then you can open database with resetlogs option and online logs will create automatically(if you did not copy this logs)
>
4,What is the difference between dbid & sid?when it is used?
DBID is unique identify database in recovery catalog and using this you can restore controlfile easily.But SID is ORACLE_SID and identify instance.This is environment variable like ORACLE_HOME
5,Can i specifty format for spfile when i take the backup? can i use trace file(control file ) for restoration?
Yes you can identify format manually for spfile. ALTER DATABASE BACKUP CONTROLFILE TO TRACE ... this statement use to getting script for recreating controlfile again.So this is not backup and you can notuse for restoring controlfile.If you do not have a backup of controlfile and all datafilesd available then you can use this statement.
I read the oracle documents, but I am not understand the above things clearly.please anyone rectify it.All these and with all situation clearly explained below doc
http://download.oracle.com/docs/cd/E11882_01/backup.112/e10642/toc.htm -
RMAN Restore using RMAN COLD Backup!!
Hi All,
I Need to restore a database using rman cold backup taken a month back.
Can i use Duplicate database option until time/scn just like we do for hotbackup or is there any other procedure for cloning/refreshing the database using RMAN COLD BACKUP of source.
Thanks & Regards,
PdevThis may be used to clone db
connect target sys/sys@<dba>
connect catalog rman/rman@<dba>
connect auxiliary sys/sys<new>
run {
set newname for datafile 1 to 'e:\oracle\oradata\giri\system01.dbf';
set newname for datafile 2 to 'e:\oracle\oradata\giri\undotbs01.dbf';
set newname for datafile 3 to 'e:\oracle\oradata\giri\users01.dbf';
set newname for datafile 4 to 'e:\oracle\oradata\giri\indx01.dbf';
set newname for datafile 5 to 'e:\oracle\oradata\giri\example01.dbf';
allocate auxiliary channel dupdb1 type disk;
set until sequence 2 thread 1;
duplicate target database to dupdb
logfile
GROUP 1 ('e:\oracle\oradata\giri\redo01.log') SIZE 100k REUSE,
GROUP 2 ('e:\oracle\oradata\giri\redo02.log') SIZE 100k REUSE;
Message was edited by:
Girishh -
How to I find out if rman backup that was done is Rman Cold backup or Rman
Hi,please help me I have backup set ,that is backupset that have rman data backup and autobackup that have control file,I want to restore this backup but I don't know how the backup was done .please advice me how to check if this was Rman cold backup or rman hot backup.I have pfile that is extracted from database before backup was taken.
Hi Thanks for the update,I checked the v$backup_set on the other database ,but it does not tell me whether ithe backup was Rman cold backup in which database was mounted or Rman hot backup ,now I have to do the restore but I don't know what type of backup do I have please assist.
Edited by: user1022397 on 2010/11/11 4:40 AM -
DB version :10.2.0.4
Do you find anything wrong in the below mentioned RMAN cold backup script? Any enhancements, corrections required?
shutdown immediate;
startup mount;
backup database including current controlfile tag='full_bkp';
startup;
crosscheck backup;
delete noprompt obsolete device type disk;
resync catalog;
}Since you are doing a SHUTDOWN IMMEDIATE and STARTUP MOUNT before the BACKUP, there will be no ArchiveLogs generated while the backup is running --- as the database is not OPEN.
However, the PLUS ARCHIVELOG can include ArchiveLogs that had been generated from the previous STARTUP or ALTER DATABASE OPEN.
(In that case, I would suggest an SQL 'ALTER SYSTEM ARCHIVE LOG CURRENT' before the SHUTDOWN IMMEDIATE).
Is your database running in ARCHIVELOG mode ? If not, then this discussion is moot.
If yes, the next question is, obviously : Why not take a Hot Backup while the database is running (in which case you MUST backup archivelogs !)
Hemant K Chitale -
RMAN cold backup taking more time than usual
Hi everybody.. please help me resolving below issue..
I have configured the RMAN in one of the production database with separate catalogue database six months earlier. I have sceduled weekly cold backup through RMAN on sunday 6pm. Normally it used to take one hour to complete the cold backup and database goes down soon as the job starts.
But since from then every week the time taken to just initiate the database shutdown continuosly increasing and recently when i checked it is taking 1 hour to initiate the database shutdown. Once the initiation starts it hardly take 1 to 3 min to shutdown.
Database is up and running during that one Hour. I was in the assumption that RMAN takes some time to execute its internal packages.
Please help
Regards,
Arun KumarHi John and Tychos,
Thank you very much for your valuable inputs.
Yesterday there was cold backup and i have monitored the CPU usage. But there was no load on the CPU at that time and CPU usage was 0%
I have tried connecting to RMAN manually and it connects within a second. And also noticed in prstat -a that rman connects as soon as the job starts.
So i think that its taking time at the deleting obsolete backups.
But I have observerd following observation.
Before executing the delete obsolete command as mentioned before
RMAN> REPORT OBSOLETE RECOVERY WINDOW OF 35 DAYS DEVICE TYPE 'SBT_TAPE';
Report of obsolete backups and copies
Type Key Completion Time Filename/Handle
Backup Set 83409 25-JUL-09
Backup Piece 83587 25-JUL-09 arc_SID_20090725_557_1
Backup Set 83410 25-JUL-09
Backup Piece 83588 25-JUL-09 arc_SID_20090725_558_1
Backup Set 83411 25-JUL-09
Backup Piece 83589 25-JUL-09 arc_SID_20090725_559_1
After executing the delete obsolete command
RMAN> REPORT OBSOLETE RECOVERY WINDOW OF 35 DAYS DEVICE TYPE 'SBT_TAPE';
Report of obsolete backups and copies
Type Key Completion Time Filename/Handle
Backup Set 83409 25-JUL-09
Backup Piece 83587 25-JUL-09 arc_SID_20090725_557_1
Backup Set 83410 25-JUL-09
Backup Piece 83588 25-JUL-09 arc_SID_20090725_558_1
Backup Set 83411 25-JUL-09
Backup Piece 83589 25-JUL-09 arc_SID_20090725_559_1
Please advice me on the following.
1. Why its not deleting the obsolete BACKUP SETS?
2. Is it normal that RMAN takes this much deleting obsolete backup sets? How can i minimize the time taking for deleting obsolete files.
Thanks and Regards,
Arun Kumar -
Create new database using rman cold backup
It oracle 10g database version 10.2.0.4
I took the cold backup of the database using rman ( Database name TEST)
1.RMAN> startup mount;
2.RMAN> backup database include current controlfile;
3.RMAN> alter database open;
I aim to create the new database called DEMO using this backup
Please let know the setps for creating new database
Edited by: prajeevan on Jan 19, 2011 9:09 PMI took the cold backup of the database using rman ( Database name TEST)
1.RMAN> startup mount;
2.RMAN> backup database include current controlfile;
3.RMAN> alter database open;
I aim to create the new database called DEMO using this backup
Please let know the setps for creating new databaseIf it is in archivelog mode you can use duplicate to refresh database DEMO from TEST..
or after cold backup, go to mount ,
create trace file of controlfile becuase you are chaning database name
recreate the controlfile
open database in resetlogs;
check also http://blogs.oracle.com/AlejandroVargas/gems/RMANDUPDBPRACTICE.pdf -
RMAN cold backup without shuting down R12 application services?
Hi,
Due to some reasons I can't shutdown appstier bcz every time I have to regenrate JAR files.I want to take RMAN cold database backup with stopping all services or I want to shutdown only concurrent manager(adcmctl stop) and apps listener(adalnctl.sh stop).Please comment if this is workable.
Thanks
M LatifHi Latif;
Due to some reasons I can't shutdown appstier bcz every time I have to regenrate JAR files.I want to take RMAN cold database backup with stopping all services or I want to shutdown only concurrent manager(adcmctl stop) and apps listener(adalnctl.sh stop).Please comment if this is workable.Why tou are generate Jar files? What is your reason? RMAN=hotbackup means you dont need to shutdown db or apps. For our client we never close appstier while we are taking RMAN backup
Regard
Helios -
RAC to RAC CLONE FROM RMAN Cold Backup
Hi All,
I need your kind assistance in Cloning my Oracle RAC 11.2.0.2 Environment to remote host. Following is Disk layout
DGVOT (ASM Disk group holding OCR and Voting Disk)
DGDATA (ASM Disk Group Holding Data FIles)
DGFRA (ASM Disk Group Holding Fast Recovery FIles)
Remote Host is on different location so cannot use RMAN duplicate with auxiliary channel.
Have luxury of downtime so I want to take RMAN Consistent( Cold Backup)
SAME Disk layout is available to remote hosts.
11.2.0.2 CLusterware (GI) Plus the oracle binaries are already installed.
Can any body tell me the steps to
1) How to take cold backup to disk so that I can tar and copy to remote host
2) clone the database on remote host
3) How i will add the database listener and other resources of this databasee to clusterware.
actually this is my first RAC clone so i am not much aware of detail steps.
I have gone though many metalink notes but no one is matching with my requirements. your expert advice will help me a lot
Regards,Hi
1) How to take cold backup to disk so that I can tar and copy to remote host.
Use Rman for cold backupIn mount stage execute
RMAN>backup database plus archivelog format '<disk_path>/dbp%U';
RMAN> backup current controlfile format '<disk_path>/ctl%U';
Copy thse backup sets to remote host
2) clone the database on remote host
Create Similar ASM Disk groups as on source
create pfile/spifile, startup instance in nomount mode
catalog backup set
RMAN> catalog start with '<backup_set location>';
Restore controlfile
RMAN>restore controlfile;
RMAN> restore database;
RMAN> recover database;
On successfull recovery
RMAN>sql 'alter database open';
3) How i will add the database listener and other resources of this databasee to clusterware.
User srvctl to add resources
Usage: srvctl <command> <object> [<options>]
commands: enable|disable|start|stop|relocate|status|add|remove|modify|getenv|setenv|unsetenv|config|convert|upgrade
objects: database|instance|service|nodeapps|vip|network|asm|diskgroup|listener|srvpool|server|scan|scan_listener|oc4j|home|filesystem|gns|cvu
For detailed help on each command and object and its options use:
srvctl <command> -h or
srvctl <command> <object> -h
Thanks,
Ajay More -
Rman cold backup for oracle rac
Hi experts;
I want to create a cold backup for an oracle 10g rac DB.
It has 2 nodes, it's not in archive log, this will be the next step.
But now, I want to backup before to proceed.
My doubts are:
I need to shutdown the both nodes?
If yes:
I need to startup nomount just in one node?
If there any document with this specifics steps?
Thanks for your help.
AlCold backups are done with the DB completely shut down.
For RAC the data files are used by all nodes in the cluster.
You need to shut down all instances in the RAC.
Then use your OS utilities or RMAN to do the backup.
Here is an 'Ask Tom' topic that discusses this:
http://asktom.oracle.com/pls/apex/f?p=100:11:0::::P11_QUESTION_ID:851658400346232494 -
To apply a patch it taking around 3 hours including backing up database.
My question is why should i take cold backup, why not hot backup that can be taken online by placing tablespace into backup mode. Then we can reduce the downtime of backup.
oracle 10.2.4If you are talking about Oracle Database patch set/interim patch/CPU patch, you don't need to do a cold backup of the database: if you are doing a hot backup with archived redo logs backups, you can restore database to a point in time just before applying patch (incomplete recovery). Of course, this hot backup must be run before patch installation and not during patch installation.
Note that :
- you must also backup ORACLE_HOME installation directories to be able to restore ORACLE_HOME in this case
- you must also backup Oracle Inventory
- if you using RMAN, you don't need to put tablespace in backup mode when doing a hot backup.
Edited by: P. Forstmann on 6 janv. 2010 11:21 -
Restore 11g rman cold backup on same server.
Hi All,
I have a requirement , where we have to clone one development database's to other database's sitting on the same host.
I have taken the cold rman backup and copy it different database's local folder.
I changed the db_name in target pfile and did the nomount , but when I tries to restore the controlfile , it throws me below errors.
Just to add to to it, I was ale to restore the controlfile to the location specified in pfile.
now , when I tries to mount the database , it throws me following errors
Snippet from target database's
SQL> startup mount pfile=/db/epmtrain/oracle/11.1.0/dbs/initepmtrain.bkp
ORACLE instance started.
Total System Global Area 1.3696E+10 bytes
Fixed Size 2132152 bytes
Variable Size 6173202248 bytes
Database Buffers 7516192768 bytes
Redo Buffers 4362240 bytes
ORA-00205: error in identifying control file, check alert log for more info
RMAN> run {
2> restore controlfile from '/db/epmtrain/export/rman/EPMDEV_06ogm377.bkp';
3> }
Starting restore at 07-AUG-13
using channel ORA_DISK_1
channel ORA_DISK_1: restoring control file
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 08/07/2013 07:12:21
ORA-19870: error while restoring backup piece /db/epmtrain/export/rman/EPMDEV_06ogm377.bkp
ORA-19504: failed to create file "/db/epmtrain/oracle/11.1.0/dbs/db/epmtrain/data1/epmtrain/control01.ctl'"
ORA-27040: file create error, unable to create file
HPUX-ia64 Error: 2: No such file or directory
Regards940856 wrote:
I restored the controlfile to the path mentioned in pfile. after that , when I tries to mount the database , it throws me the following errors.
---------- Snippet from alert.log ------
ORA-00210: cannot open the specified control file
ORA-00202: control file: '/db/epmtrain/data1/epmtrain/control01.ctl''
ORA-27037: unable to obtain file status
HPUX-ia64 Error: 2: No such file or directory
Additional information: 3
ORA-205 signalled during: ALTER DATABASE MOUNT...
------------ controlfile location in pfile ---------
*.control_files=/db/epmtrain/data1/epmtrain/control01.ctl','/db/epmtrain/data1/epmtrain/control02.ctl'
--------------- show parameter control output -------------
SQL> show parameter control
NAME TYPE VALUE
control_file_record_keep_time integer 7
control_files string /db/epmtrain/data1/epmtrain/co
ntrol01.ctl', /db/epmtrain/dat
a1/epmtrain/control02.ctl
control_management_pack_access string DIAGNOSTIC+TUNING
Regards
So present proof that "/db/epmtrain/data1/epmtrain/control01.ctl" actually exists ..... -
Restoring and Recovering from RMAN cold backup
DB Version: 11gR2
os : Solaris
Before dropping a DB we had taken an RMAN backup of the DB using
RMAN> backup database;We hadn't set a FORMAT (like db_%d_S_%s_P_%p_T_%t) for this DB , so the backups went to ORACLE_HOME/dbs directory. The 2 backup files are
/u02/app/oracle/11.2/db/dbs/01mo9fms_1_1
/u02/app/oracle/11.2/db/dbs/02mo9fnc_1_1 -- spfile and control fileNow we need to recreate this DB on a new server.
In the new server, we've placed the backup files in /u04/backup/rmanbkp .
Since We hadn't set a FORMAT parameter for the original DB which we have dropped what format i will give during restore?
Will RMAN automatically recognize the FORMAT of the backup piece and restore ?
RMAN> run
allocate channel c1 device type disk format 'i_dont_know_the_format';
allocate channel c2 device type disk format 'i_dont_know_the_format';
restore controlfile;
restore database;
}This the SHOW ALL output from the DB we have dropped .
RMAN> show all;
RMAN configuration parameters for database with db_unique_name BRCFTST are:
CONFIGURE RETENTION POLICY TO REDUNDANCY 1; # default
CONFIGURE BACKUP OPTIMIZATION OFF; # default
CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
CONFIGURE CONTROLFILE AUTOBACKUP OFF; # default
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default
CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE MAXSETSIZE TO UNLIMITED; # default
CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
CONFIGURE COMPRESSION ALGORITHM 'BASIC' AS OF RELEASE 'DEFAULT' OPTIMIZE FOR LOAD TRUE ; # default
CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/u02/app/oracle/11.2/db/snapcf_brcftst.f'; # defaultAs you can see we hadn't set the format explicitly , ie. the line
CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT is missingHi,
Before dropping a DB we had taken an RMAN backup.I hope you were in mount mode.
Will RMAN automatically recognize the FORMAT of the backup piece and restore ?No it won't.
First you have to restore a controlfile in nomount mode with:
restore controlfile from '/u04/backup/rmanbkp /02mo9fnc_1_1';
and do alter database mount.
Than you have to run "catalog start with '/u04/backup/rmanbkp'; " so the instance now knows where to find the pieces.
Now you can run a restore database command.
Than open the database with resetlogs.
Regards,
Tycho -
10.2.0.4 + RMAN + catalog + Data Guard
Hi, I am confused about couple of things here :) Wondering if anyone has faced the same issues.
1. Documentation states the following about taking backups on standby, rather then on primary:
Only the backups that have been written to tape are available to the primary database for restoration and recovery.So if I took a backup to disk and then it went to tape (not directly to tape via RMAN), I cannot use this backup to restore my primary? This doesn't make sense.
2. Oracle recommends to use incrementally-updateable image copy backups as the best practice of backing up standby database. Does anyone have a link to a good explanation of this? Thank you!Oracle documentation reads:
The accessibility of a backup is different from its association. In a Data Guard environment, the recovery catalog considers disk backups as accessible only to the database with which it is associated, whereas tape backups created on one database are accessible to all databases. If a backup file is not associated with any database, then the row describing it in the recovery catalog view shows null for the SITE_KEY column. By default, RMAN associates files whose SITE_KEY is null with the target database.
http://download.oracle.com/docs/cd/B28359_01/server.111/b28294/rman.htm#BAJFFFFJ
If I take backups to disk on the standby and they don't go to FRA (due to space limitations there) and I then move those disk backups to tape (outside of RMAN), can I use those backups to restore on primary?
Oracle documentation further reads (same site):
When deciding on your backup strategy, Oracle recommends that you take advantage of daily incremental backups. Datafile image copies can be rolled forward with the latest incremental backups, thereby providing up-to-date datafile image copies at all times. RMAN uses the resulting image copy for media recovery just as it would use a full image copy taken at that system change number (SCN), without the overhead of performing a full image copy of the database every day. An additional advantage is that the time-to-recover is reduced because the image copy is updated with the latest block changes and fewer redo logs are required to bring the database back to the current state.
When you take a backup on standby, you still have to take a control backup on BOTH.
Edited by: rysalka on Aug 6, 2009 7:47 AM
Maybe you are looking for
-
Bank Reconcilliation Report in Foreign Currency
Hi, We are on SAP B1 8.8 PL4. Please advise on how to get/print the bank reconciliation report in foreign currency. The current report (Reports-Banking-External Reconcilliation-Bank Reconcilliation report) only allows printing of the report in the lo
-
Library resources are not rendering properly...?
I just installed Motion and opened a new project (Multimedia Large). When I preview resources in the Library (Particle Emitters etc) they don't render properly in the preview window (they break up and their attributes seem to fall apart). When I appl
-
HT201317 How can I restore photo stream photo which is old
I reset my iPad so my photo stream photo got deleted is there any way to restore from iCloud....
-
In MIRO transaction, Where will be the image path get stored?
Dear Friends, In MIRO transaction, Where will be the image path get stored? There must be some standard tables/functionality which is maintaining PATH. Please help me to find out the Document Path Details.. Thanks in Advance. Regards, Lijo
-
Photoshop Elements 10 won't open today.
Yesterday I installed Photoshop Elements 10 on my new Lenovo desk top. Today it won't open. What should I do?