To Confgure RMAN backup through Netvault
Hi All,
I have configured RMAN backup through a Net-Vault. Previously I was taking User Managed backup, Backup ran successfully. I have issues with RMAN Backup through NetVault.
The following is the error message received.
RMAN-00571: ===========================================================
: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00554: initialization of internal recovery manager package failed
RMAN-04005: error from target database:
ORA-01031: insufficient privileges
Failed with exit code 3
RMAN returned exit code 3
But when I take RMAN backup directly(Without Netvault) with that oracle user, I have no problem - Backup Runs properly.
What should I do to take Backup through NetVault.
Thanks In Advance,
Suresh S.
No it's not at all possible to take backup of multiple database through the manually allocated channel.
Allocating the channel manually is only possible while running the commands in batch mode
eg. run {
allocate channel ch1 type disk format='/backup1/RMANBACKUP/PROD521_%s_%p';
allocate channel ch2 type disk format='/backup1/RMANBACKUP/PROD521_%s_%p';
backup database setsize=12582912;
release channel ch1;
release channel ch2;
And you can connect through single rman prompt to only one target database not more than that. So at any point of time you connect to only one database you can user channels to backup that database only.
connected to recovery catalog database
RMAN> CONN TARGET SYS/ORACLE@RMAN
RMAN> CONNECT TARGET SYS/ORACLE@RMAN
connected to target database: RMAN (DBID=1528877161)
RMAN> CONNECT TARGET SYS/ORACLE@CLS
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-06167: already connected
Edited by: sac on Sep 4, 2008 12:59 PM
Similar Messages
-
How to take RMAN backup through a single (default) channel
Sir,
In an interview I was asked a question that how can I allocate a single channel to multiple databases to take simultaneous backup. I was unanswer.
Pl. tell me if it is possible what will be the query with an example.
Regards
NeerajNo it's not at all possible to take backup of multiple database through the manually allocated channel.
Allocating the channel manually is only possible while running the commands in batch mode
eg. run {
allocate channel ch1 type disk format='/backup1/RMANBACKUP/PROD521_%s_%p';
allocate channel ch2 type disk format='/backup1/RMANBACKUP/PROD521_%s_%p';
backup database setsize=12582912;
release channel ch1;
release channel ch2;
And you can connect through single rman prompt to only one target database not more than that. So at any point of time you connect to only one database you can user channels to backup that database only.
connected to recovery catalog database
RMAN> CONN TARGET SYS/ORACLE@RMAN
RMAN> CONNECT TARGET SYS/ORACLE@RMAN
connected to target database: RMAN (DBID=1528877161)
RMAN> CONNECT TARGET SYS/ORACLE@CLS
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-06167: already connected
Edited by: sac on Sep 4, 2008 12:59 PM -
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.
-
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,
AsifYes, 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 -
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 modeEnable 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] -
Oracle Online Backup through EMC Networker - RMAN Script
Hi,
For taking online oracle backup through EMC Networker, we configure the RMAN script to connect to the target database, create the media channels, backup format etc. The password for the sys or rman user entered in the RMAN script is in clear-text format.
Due to security reasons, I don't want the passwords to be entered in the RMAN script. Is there any option for configuring RMAN script without mentioning the username/password to connect to the target database ?
Thanks & Regards,
Shreejesh.When you have to connect remotely to RMAN, you cannot hide the password, you can only define very restricted access for the script itself. Remote OS authentication will not work, because the target db user needs SYSDBA privilege, which cannot be granted to an externally identified user.
Werner -
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.
ThanksSorry, 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 -
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 -
Problem wit backup through rman
version 10 2 0 5
windows xp
i am trying to take cold backup from test database without using catalog.
i mounted database and tried the following query,, its throwing below errror... please help
RMAN> backup database;
Starting backup at 17-FEB-11
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=155 devtype=DISK
channel ORA_DISK_1: starting full datafile backupset
channel ORA_DISK_1: specifying datafile(s) in backupset
RMAN-03009: failure of backup command on ORA_DISK_1 channel at 02/17/2011 15:56:28
ORA-19602: cannot backup or copy active file in NOARCHIVELOG mode
continuing other job steps, job failed will not be re-run
channel ORA_DISK_1: starting full datafile backupset
channel ORA_DISK_1: specifying datafile(s) in backupset
including current control file in backupset
including current SPFILE in backupset
channel ORA_DISK_1: starting piece 1 at 17-FEB-11
channel ORA_DISK_1: finished piece 1 at 17-FEB-11
piece handle=D:\ORACLE\PRODUCT1\10.2.0\FLASH_RECOVERY_AREA\CATALOG\BACKUPSET\2011_02_17\O1_MF_NCSNF_TAG20110217T155628_6OSXYQHK_.BKP tag=TAG20110217T155628 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:03
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of backup command on ORA_DISK_1 channel at 02/17/2011 15:56:28
ORA-19602: cannot backup or copy active file in NOARCHIVELOG mode
Thanks and Regards
Arunarundba wrote:
Thanks Werner.
It was because of the shut abort. I have done it once and then mounted back and tried backup.. it gave error. again i did shut immediate and mounted back and error again... I havent tried opening it once.. now i opened database first and then shut immediate and then mount... backup running fine.. :-) thanks a lot..
Regards
Arun
Edited by: arundba on Feb 17, 2011 2:55 AMSince there had been a shutdown abort, you had to do a full open to allow crash recovery to occur and get everything back in sync. As long as you were only doing STARTUP MOUNT, it couldn't perform the necessary recovery. -
Standby database from RMAN backup
I have been assigned to create a standby database from our RMAN backups in a different machine, as this is my first attempt at recovering, I am struggling a bit. I would appreciate if someone can throw any light on what dumb mistakeI am doing here. I ahve absolutely no control over the back up script which is done by my vendor, but can do anything in the reocvery portion. I did try going through the documentaiton and other help available for the last 2 days.
Database : Oracle 10G R2
OS : Windows Server 2003
My backup script is
configure channel device type disk format 'J:\RMAN\RMAN_df_%U' maxpiecesize 2048M;
SQL "ALTER SYSTEM SWITCH LOGFILE";
SQL "ALTER SYSTEM SWITCH LOGFILE";
backup database;
SQL "ALTER SYSTEM SWITCH LOGFILE";
SQL "ALTER SYSTEM SWITCH LOGFILE";
backup current controlfile for standby FORMAT='J:\RMAN\RMAN_sc_%U';
For recovery of a standby database,
I have copied the the back up pieces and the archive logs to the standby server where I have just created an instance with the same name as production db.
set ORACLE_SID=NGINPROD
set dbid 820336652
STARTUP NOMOUNT
RESTORE STANDBY CONTROLFILE FROM 'I:\TEMP\RMAN_Backup\RMAN\RMAN_SC_2UMIUJM1_1_1';
CATALOG BACKUPPIECE 'I:\TEMP\RMAN_Backup\RMAN\RMAN_DF_2RMIUIE4_1_1',
'I:\TEMP\RMAN_Backup\RMAN\RMAN_DF_2RMIUIE4_2_1',
'I:\TEMP\RMAN_Backup\RMAN\RMAN_DF_2RMIUIE4_3_1',
'I:\TEMP\RMAN_Backup\RMAN\RMAN_DF_2RMIUIE4_4_1',
'I:\TEMP\RMAN_Backup\RMAN\RMAN_DF_2RMIUIE4_5_1',
'I:\TEMP\RMAN_Backup\RMAN\RMAN_DF_2RMIUIE4_6_1',
'I:\TEMP\RMAN_Backup\RMAN\RMAN_DF_2RMIUIE4_7_1',
'I:\TEMP\RMAN_Backup\RMAN\RMAN_DF_2SMIUJ88_1_1',
'I:\TEMP\RMAN_Backup\RMAN\RMAN_DF_2SMIUJ88_2_1',
'I:\TEMP\RMAN_Backup\RMAN\RMAN_DF_2SMIUJ88_3_1',
'I:\TEMP\RMAN_Backup\RMAN\RMAN_DF_2SMIUJ88_4_1',
'I:\TEMP\RMAN_Backup\RMAN\RMAN_DF_2TMIUJLN_1_1',
'I:\TEMP\RMAN_Backup\RMAN\RMAN_SC_2UMIUJM1_1_1';
RESTORE DATABASE;
Till this step I do not encounter any issues, but when i try to recover the database I am hit with the below error.
RMAN> recover database;
Starting recover at 16-AUG-11
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=156 devtype=DISK
starting media recovery
unable to find archive log
archive log thread=1 sequence=253340
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of recover command at 08/16/2011 09:31:57
RMAN-06054: media recovery requesting unknown log: thread 1 seq 253340 lowscn 4696173517
------------------------------------------------------------------------------------------------------------------------------------------------Here's the standard dcoumentation on the procedure :
http://download.oracle.com/docs/cd/B19306_01/server.102/b14239/rcmbackp.htm#i636377
Appendix "F Creating a Standby Database with Recovery Manager" of the "Oracle® Data Guard Concepts and Administration" guide.
I don't see ArchiveLog backups being done by the vendor's script. How do you backup the ArchiveLogs ?
In your post you state that you have copied the ArchiveLogs. Are they copied to the same log_archive_dest location ? RMAN needs to be "aware" of them. You can use the "CATALOG" command in RMAN to register them into the controlfile.
http://download.oracle.com/docs/cd/B19306_01/backup.102/b14194/rcmsynta011.htm#sthref230
A Standby Database uses a Standby Controlfile which is created from the Primary (with the "ALTER DATABASE CREATE STANDBY CONTROLFILE AS 'locaion';" command) and then copied over to the Standby server.
Hemant K Chitale -
Need Advice on RMAN backup script
Hi;
Can any one advice if any error or guide to make RMAN backup proper :
Backup Policy are:
1. 0 level backup
2. current log file is arvhived before backing up
3. backup whole database (datafiles)
4. backup separate control file
5. backup is done on disk
6. control file auto backup ON
7. only 7 days archive log are need to be preserve ; old need to be deleted
### one time paramters seting
RMAN> CONFIGURE DEFAULT DEVICE TYPE TO DISK;
RMAN> CONFIGURE DEVICE TYPE DISK PARALLELISM 2;
RMAN> CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO 'O:\rman\backup\Auto_Ctrl_weekly_%F';
RMAN> CONFIGURE CONTROLFILE AUTOBACKUP ON;
### Command for weekly 0 level backup
run {
allocate channel c1 type disk;
sql 'alter system archive log current';
backup incremental level 0 tag = weekly_database format 'o:\rman\backup\full_weekly_%d_%s_%p_%t'(database);
release channel c1;
configure controlfile autobackup format for device type disk to 'o:\rman\backup\auto_ctrl_weekly_%f';
allocate channel c1 type disk;
backup tag = weekly_arch archivelog until time 'sysdate-7' format 'o:\rman\backup\archive_weekly_%d_%s_%p_%t';
delete archivelog until time 'sysdate-7';
release channel c1;
Regards
SmithDear Pierre F.;
Actually, I just added in my backup plan to have daily backup through RMAN, instead of COLD backup.
I have planned to take cold backup once a week. here is the side of data:
*** datafile 410
*** size of database : 86 GM
*** relog files size : 250MB
*** daily archive logs are : 250MB * 4(number of files) = 1GM aprox.
yes, time constraint is there; just because of the size of database. and we r going for 24/7
Is this script going to run only one per week ?
Ans: no I this was level 0 backup; i will take level 1 incremental backup with same script daily too.
Do you have any other RMAN script ?
ANS: no, I will modify same script for incremental.
after local copy of backup all backup files (RMAN) will be copy over network to backup server or we can install LTO tape device to copy directly from database server.
kindly advise me I am new in RMAN.
regards;
SMITH -
Related to Unused compression in RMAN backup for 10.2.0.4 database
Hi
I recently read through one of the document related to Unused compression in RMAN backup for 10.2.0.4 database. According to this
Unused Block Compression is done, if all of the following conditions apply:
+ The COMPATIBLE initialization parameter is set to 10.2
+ There are currently no guaranteed restore points defined for the database
+ The datafile is locally managed
+ The datafile is being backed up to a backup set as part of a full backup or a level 0 incremental backup
+ The backup set is being created on disk.
I have two queries
1) What is meant by "uaranteed restore points defined for the database"
2) If backup is being directly taken to tape, this feature would not be used
Rgds
Harvinder1. Normal and Garanteed Restore Points
2. No -
RMAN backup job status not showing in OEM
Hi, I have created an RMAN backup job and scheduled it through OEM to run daily. The first run of this backup job completed today - however I do not see any entry for the job in OEM through SERVER - ORACLE SCHEDULER - JOBS
A lot of scheduler jobs are listed but not my backup job.
Has anyone else experienced this ?Duplicate post. Please do not add to this thread.
-
RMAN / backup. oracle 9 vs. oracle 10
My colleague mentioned a while ago that we had to investigate RMAN &/or a backup client, "because in oracle 10, when doing an export of a live db, oracle does not switch into "single user mode" like it did in 9. So we couldn't have 100% faith in our .dmp file."
I'd like to do some further research on this, but looking through the "Oracle 10 Complete reference" and googling - I don't see any information about it. Has anyone here dealt with this or know of a link I should see?
Finally... Does anyone know if an RMAN backup for Oracle 10 accounts for any "in progres" transactions?
Thanks in advance,
Mike.Oracle, itself, doesn't switch to single user mode.
Your colleague might have been talking of scripts which shutdown and restart the
database in restricted mode to run an export of the database.
RMAN backups as in 8.0/8i/9i/10g (or EBU in Oracle 7) and scripted (aka
"user managed") backups are all physical backups. They take database blocks
"as they are". Conceptually, the datafile backups aren't aware of active transactions.
It is the redo stream in the archivelogs that is required for you to be able to restore
and recreate a consistent database image. -
Create standby DB with RMAN backup in Oracle 9.2.0.6
I am tring to create a standby DB in different host with different directory using RMAN. The commandv with which I tried to create the standby database is the follow:
(in the primary server side)
RUN
ALLOCATE AUXILIARY CHANNEL DUP1 TYPE DISK;
DUPLICATE TARGET DATABASE FOR STANDBY
NOFILENAMECHECK
DORECOVER;
but RMAN give me this error:
Starting restore at 18-FEB-08
channel DUP1: starting datafile backupset restore
channel DUP1: restoring controlfile
output filename=/opferi/oradata/oradata01/data01/cntrl01.dbf
released channel: DUP1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 02/18/2008 17:57:20
RMAN-03015: error occurred in stored script Memory Script
ORA-19505: failed to identify file "/opferi/oracle/product/9.2.0/dbs/l4j9127p_1_1"
ORA-27037: unable to obtain file status
SVR4 Error: 2: No such file or directory
Additional information: 3
The standby database is in a different host with the same directory structure. I started (with nomount option) with the same init file that the primary database.
I read solution like the backupset must be copied manually to the standby host, but for me is not a solution.
The RMAN backup script is the follow (like
RUN {
CROSSCHECK BACKUPSET;
DELETE NOPROMPT OBSOLETE;
DELETE NOPROMPT EXPIRED BACKUPSET;
crosscheck archivelog all;
ALLOCATE CHANNEL ch00 TYPE disk;
BACKUP
$BACKUP_TYPE
FORMAT '/rman/opferi2/df_sipd_%d_%u_%s_%p'
DATABASE INCLUDE CURRENT CONTROLFILE FOR STANDBY;
sql 'alter system archive log current';
backup format '/rman/opferi2/archive_log_%d_t%t_s%s_p%p' (archivelog all);
RELEASE CHANNEL ch00;
when $BACKUP_TYPE=0
Can anyone help my with this problem?? Thaks
Cristian.
PS. Sorry my bad english because I am from Latin AmericaRequirements are:
1 the backup should be accessible to both target and auxiliary database in the same location.
2 On Unix this can be arranged through NFS, provided you set the read and write buffer to 32k.
Obviously the backup can not be located in $ORACLE_HOME/dbs, as you can not mount a NFS directory over $ORACLE_HOME/dbs without loosing functionality.
Hth
Sybrand Bakker
Senior Oracle DBA
Maybe you are looking for
-
How to cancel an itunes account
I have an itunes account which my son also uses for his iphone, I have now purchased an ipad Air and it has caused all sorts of problems with his contacts coming onto my devices and vica versa. We need two seperate accounts, how can I remove my son f
-
Solman to compare profile params
hi all.. can any one help me in guiding to use solman to compare the profiles in satellite systems? I found a presentation in the ASUG website mentioning that solman can be used to compare instance profiles/parameters in the satellite systems. Have a
-
Anyone see this error on trying to install Lightroom 6?
This is what I get when trying to install Lightroom 6, either as a stand-alone product or Lightroom CC as part of my CC membership. Exit Code: 7 Please see specific errors below for troubleshooting. For example, ERROR: DF024 ... --------------------
-
Flash slideshows not working.
Every since the latest upgrade of Flash I have been haveing problems with YouTube Videos not playing in Firefox, and now I note my Flash Slideshows (generated with Showit Web) are not playing at all. I have not had a problem with this in many years o
-
Many Statement/ResultSet using a single Connection
Hi, all, I'm a beginner to Java and JDBC, and i faced a problem doing some tests with JDBC. My application is designed to be a 2 tier desktop application, with a single main frame where the user can open many child frames inside it. Each child frame