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 advance
thanks. 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'
Similar Messages
-
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 -
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 -
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 -
I am trying to clone 10g database from one windows machine to another windows machine. I am using RMAN for this purpose.
I have carried out following steps in order to do so ..
On machine - 1
1. Done alter system switch logfile thrice;
2. Shutdown Immediate
3. Startup mount
4. Then took full database backup using RMAN with controlfile autobackup on
5. On machine two I coped backup pieces to same location as that of machine 1
On machibe-2
1. Started database in nomount stage.
2. rman target /
3. restored controlfile from autobackup
4. alter database mount;
5. run{ restore database
Recover database;}
At the end of step 5 on machine-2 I am getting following error
Starting recover at 12-OCT-07
using channel ORA_DISK_1
starting media recovery
unable to find archive log
archive log thread=1 sequence=7
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of recover command at 10/12/2007 11:03:27
RMAN-06054: media recovery requesting unknown log: thread 1 seq 7 lowscn 550503
RMAN>
I don't understand why RMAN is asking for online redo log when I have taken RMAN backup with database mounted.
Cant we take true cold backup using RMAN.. (true in the sense it should not ask for any recovery at the time of restoration)Answers To FAQ For Restoring Or Duplicating Between Different Versions And Platforms Doc ID: Note:369644.1
How to make a copy of a database on the same Windows NT machine
Using a hot backup) Doc ID: Note:73301.1
How To Copy An Oracle Database To Another Machine
Using a cold backup) Note 174226.1
OERR: RMAN-6054 { Message text depends on version }
Doc ID: Note:48210.1
Have you used reset logs?
Adith -
Ebs r12 cloning using rman online backup
dear all,
how are you guys? i have ebs r12 on multi node and i want to clone db tier and apps tier using rman online backup,can anybody provide me the detail steps of cloning ebs(db tier and appstier ) using rman online backup and directory structure on source and target database is also different.your help highly appreciated thanks in advance.
regards.Hi,
You cannot use RMAN to clone the Apps tier of the EBS and you may use RMAN only on the DB tier. For a complete backup, as mentioned by Hemant K Chitale, you will have to use the rapid clone utility.
To perform a rapid clone using RMAN there are plenty of step by step instructions in google which may guide in addition to support.oracle.com, Let me google that for you
Thanks &
Best Regards, -
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 -
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 -
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 -
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 -
Using rman to backup a remote database
I am after a good guide or advice on how (what) to install and (how to) run Oracle RMAN
to backup a remote Oracle database.
RMAN must be installed and run on a Solaris (SunOS 5.8) box remote from the Solaris
box (also SunOS 5.8) running the Oracle database but connected to it via a TCP/IP
network.
The Oracle Recovery Manager and Database version is 9.2.0.1.0.
RMAN must perform the backup of the remote database over the network and store
the backup on a disk local to the RMAN box.
The backups may be full or incremental and may be "hot" backups taken while the
Oracle database is open.
The disk files are to be then backed up to tape using Veritas.
What software do I need to install on the RMAN box ?
What software do I need to install on the remote Oracle database box ?
Thanks,
Brett Morgan.writes to a NFS-mounted diskRman is writing to disk or tape (when is bundled (libraries needed) with some backup software for tapes such as Veritas). The disk device could be local, or mounted disk form other host or storage (over NFS as Werner mentioned, SMB and others).
-
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
Maybe you are looking for
-
Closing browser window from an Applet?
I've written a series of applets that perform different functions. I placed a button on each applet with the purpose to close the window in which that applet is running. However I don't even know where to start looking to find out how to make my appl
-
Regarding Liquidity Planner Customization (Configuration) ?
Hello , Every one Currently i am searchiing basic neccessary Liquidity Planner Customization to be do . My question is could any body tel me the way how should i get the names of all necessary Liquidity Planner Customization ? If
-
Script for moving playhead to last frame, then exporting jpg?
Hi, I have a lot of Flash files for which I need to export jpgs of their last frame. Could a kind soul out there guide me on how to write a command for moving the timeline's playhead to the last frame, then exporting a jpg (at Full Document Size, 72
-
Does anyone know how to copy mail messages found in spotlight to a folder?
I can select all, but the copy is grayed out.
-
Diagnostics won't run following the instructions of holding down D at start-up? any ideas
I am having problems with my display and want to run diagnostics - the apple site says to hold down D when restarting and I have tried 3 times but won't go there... Any ideas? Thanks