RMAN Nocatalog
Hi,
when using RMAN to BACKUP with NOCATALOG option, would it be any table for recording Backupset and other RMAN informations ?
Thanks.
PS : versions 9i, 8i, 10g.
>
when using RMAN to BACKUP with NOCATALOG option, would it be any table for recording Backupset and other RMAN informations ?
>
No. If you think about it, that would not be a good idea, if you don't get the DB opened. The information is stored in the controlfile instead.
You are supposed to put RMAN in controlfile autobackup mode, in order to be able to restore the controlfile prior to any other restore of datafiles, should your controlfile get damaged also.
Kind regards
Uwe
http://uhesse.wordpress.com
Similar Messages
-
Restore backups on new server with RMAN (nocatalog).
Hi,
On my production database (Oracle8i/Solaris8) I use RMAN(nocatalog) to backup database:
connect target
run {
allocate channel d1 type disk;
backup full tag = 'Full Backup'
format '/oracle_backups/db_%t_%s_p%p'
(database);
sql 'alter system switch logfile';
backup
full
etc.}
I need to test backup by restoring it on test server (Oracle8i/Linux7.3). How I can point RMAN on test server to backup files location?
Thanks.If you use a recovery catalog and want to duplicate database in a fresh server.
1. connect with the target database.
2. connect with the recovery catalog.
3. connect with the auxiliary database.
4. Run the duplicate command.
Before running the duplicate command copy the backup piece to your fresh server from the target server. Both mount point should be same.
Regards
Asif Kabir
-- mark your helpful post as correct/helpful. -
hi,
if i take backup by rman nocatalog ,where it cud be problematic if take backup in nocatalog & wt should i do to resolve them.
thxsHi,
As you said that you are rman is with nocatalog, then its going to use the Control file for storing the informaiton about the backups.
Could not able to understand "where it cud be problematic if take backup in nocatalog "
Got, Control file is going to store the information for a period time "CONTROL_FILE_RECORD_KEEP_TIME " specifies the minimum age in days of a record before it can be reused. Manily it will fall under the "Circular reuse records".
Problem will as the if you are want to go for more than one DB, it would be problematic and cases where Control file got corrupted. Try to go Recovery Catalog.
- Pavan Kumar N
Edited by: Pavan Kumar on Feb 9, 2009 3:53 PM
For your reference :
http://download.oracle.com/docs/cd/B28359_01/backup.111/b28270/rcmmaint.htm
Edited by: Pavan Kumar on Feb 9, 2009 3:57 PM -
RMAN-06010: error while looking up datafile: 82
Iam building dataguard - Physical Standby database by using the RMAN duplicate command and we are not using the recovery catalog but control file.
Iam getting the following error while running the duplicate command.
set newname for datafile 82 to
"/dflx02/flx/o01flx3rbs/rbs02_02.O01FLX3";
RMAN-06010: error while looking up datafile: 82
Actually we dropped the datafile(tablespace) before taken the backup but it is giving error though we are using the latest control file.
I do not see this file is available in the database as we dropped it successfully.
Could some one let me know what could be the problem and how to resolve it.
Your early response is greatly appreciated.
Note:
backup script -- It went successfully.
# Script to be used to backup the production in preparation of creating a DataGuard instance
YYYY=`date +"%Y"`
mmdd=`date +"%m%d"`
hh=`date +"%H"`
mm=`date +"%M"`
ss=`date +"%S"`
hhmmss=${hh}${mm}${ss}
dt=${YYYY}${mmdd}_${hhmmss}
echo "Starting backup on O01FLX3"
$ORACLE_HOME/bin/rman nocatalog <<EOF >> /dflx02/flx/oracle/log/full_backup_run_$dt.log
connect target /
configure device type disk clear;
configure channel device type disk maxpiecesize 4G;
configure device type disk backup type to compressed backupset parallelism 8;
run{
change archivelog all validate;
backup current controlfile for standby format '/tmp/stby_snapcf_O01FLX3.f';
backup database format '/dflx02/flx/o01flx3dump/rman/O01FLX3_%s_%p_%T_%t.bak';
sql 'alter system archive log current';
backup archivelog all format '/dflx02/flx/o01flx3dump/rman/O01FLX3_%s_%p_%T_%t.arc';
EXIT
EOF
duplicate Script:
#!/bin/ksh
# Script to create standby database for production.
YYYY=`date +"%Y"`
mmdd=`date +"%m%d"`
hh=`date +"%H"`
mm=`date +"%M"`
ss=`date +"%S"`
hhmmss=${hh}${mm}${ss}
dt=${YYYY}${mmdd}_${hhmmss}
echo "Starting dataguard instance on O01FLX3DR"
$ORACLE_HOME/bin/rman nocatalog <<EOF >> /dflx02/flx/oracle/log/cr_stdby_O01FLX3$dt.log
connect target /
connect auxiliary sys/xxxxxx@O01FLX3DR
configure channel device type disk maxpiecesize 4G;
configure device type disk backup type to compressed backupset parallelism 8;
run {
set until time "to_date('20080217:19:00', 'YYYYMMDD:HH24:MI')";
duplicate target database for standby dorecover nofilenamecheck;
exit;
EOF
set newname for datafile 82 to
"/dflx02/flx/o01flx3rbs/rbs02_02.O01FLX3";Thank you for your reply. Actually Iam not renaming the datafile but building the
dataguard instance and some how control file is looking for old datafile that was deleted.
Actually both primary and dataguard instances are running on 10.2.0.3 . Oracle control file is listing the datafile 82 as old deleted file, while building the dataguard.
---- This file was deleted long time back but still oracle control file is looking for this file while building the dataguard. Iam using the latest control file.
set newname for datafile 82 to
"/dflx02/flx/o01flx3rbs/rbs02_02.O01FLX3"
When I listed the datafile 82, it is showing the correct datafile.
RMAN> list backup of datafile 82;
List of Backup Sets
===================
BS Key Type LV Size Device Type Elapsed Time Completion Time
50234 Incr 2 26.93M DISK 00:04:03 18-FEB-08
BP Key: 101470 Status: AVAILABLE Compressed: YES Tag: DATABASE_BACKUP
Piece Name: /dflx02/flx/o01flx3dump/rman/O01FLX3_51757_1_20080218_647031779.bak
List of Datafiles in backup set 50234
File LV Type Ckp SCN Ckp Time Name
82 2 Incr 7953177017970 18-FEB-08 /dflx02/flx/o01flx3ndx15/flx_ndx3_18.O01FLX3
BS Key Type LV Size Device Type Elapsed Time Completion Time
50334 Incr 2 27.76M DISK 00:04:16 19-FEB-08
BP Key: 101587 Status: AVAILABLE Compressed: YES Tag: DATABASE_BACKUP
Piece Name: /dflx02/flx/o01flx3dump/rman/O01FLX3_51857_1_20080219_647119328.bak
List of Datafiles in backup set 50334
File LV Type Ckp SCN Ckp Time Name
82 2 Incr 7953257549488 19-FEB-08 /dflx02/flx/o01flx3ndx15/flx_ndx3_18.O01FLX3
So Iam thinking that there should be a problem in control file and let me know how to resolve it.
Please let me know if you have any questions.
Thanks for your help.
Suresh.D -
Oracle RMAN backup to disk on vbox4.2 shared folders
[https://forums.virtualbox.org/viewtopic.php?f=7&t=53683]
Cross posting a virtualbox forum post in case someone has this working.
[posting snippet]
Anyone successfully using Oracle 10.2/11.2 RMAN to backup to mounted vbox guest shared folder? I'm thinking there may be some special configuration requirement like there is with NFS share mount options.
RMAN> backup incremental level = 0 database include current controlfile plus archivelog delete input;
[lengthy output clipped]
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of backup plus archivelog command at 01/18/2013 00:03:14
ORA-19504: failed to create file "/media/sf_backup/vux099/oracle/vux099db/dataS217_P1_T804988992"
ORA-27040: file create error, unable to create file
Linux-x86_64 Error: 22: Invalid argument
Additional information: 2
RMAN>
Recovery Manager complete.
oracle@vux099:vux099db1 [app/oracle]
$ touch /media/sf_backup/vux099/oracle/vux099db/myfile; ls -l /media/sf_backup/vux099/oracle/vux099db/myfile
-rw-r--r-- 1 oracle oinstall 0 Jan 18 00:04 /media/sf_backup/vux099/oracle/vux099db/myfile
oracle@vux099:vux099db1 [app/oracle]
$ touch /media/sf_backup/vux099/oracle/vux099db/myfile;
oracle@vux099:vux099db1 [app/oracle]
$ mount | grep sf_backup
backup on /media/sf_backup type vboxsf (uid=51115,gid=51116,rw)
oracle@vux099:vux099db1 [app/oracle/base/admin/vux099db1/bin]
$ getent passwd 51115; getent group 51116
oracle:*:51115:51116:Oracle Administrator:/app/oracle:/bin/bash
oinstall:*:51116:grid,oracle
oracle@vux099:vux099db1 [app/oracle/base/admin/vux099db1/bin]
$ printf "show all;\nexit\n" | rman nocatalog target / | grep DISK
CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/media/sf_backup/vux099/oracle/vux099db/%F';
CONFIGURE DEVICE TYPE DISK PARALLELISM 2 BACKUP TYPE TO COMPRESSED BACKUPSET;
CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '/media/sf_backup/vux099/oracle/vux099db/dataS%s_P%p_T%t';
oracle@vux099:vux099db1 [app/oracle/base/admin/vux099db1/bin]
$
[end]
Edited by: user12130856 on Jan 18, 2013 8:08 PMHi,
never tried it, but I know that the shared folders in vbox don't work like normal filesystems.
I would rather setup an NFS server on the host and mount an NFS share in the guest.
Regards
Sebastian -
Rman backup - how to preserve the file names exactly when backing up?
Hi,
I have been using RMAN for backup and I want to change things so that it is
easier to go back to the old tried-and-true method of recovery by recreating
a control file manually via the trace file, which lists the files out individually.
The first change - to change from compression to copy.. is fine.
But even then, rman names the files some weird name.
I am not trying this- using the disk format command is supposed to work..
rman nocatalog << EOF
connect target;
allocate channel for maintenance type disk parallelism 1 \
format '/agile/ora_flash_recovery_area/PECHA/backupset/backup/%U';
backup as copy database;
release channel;
but it still is using wierd (auto-generated) names for the data files as it backs up.
Has anyone else got this working? Thanks Marvin.Ok here is why I would like exact filenames..
1) to speed the time of recovery. I am much more familiar with traditional recovery methods than RMAN, and while I myself installed and suggested RMAN for backups, our other (11i) database does not use RMAN and so I am more familiar with traditional recovery. So to be able to recover quickly I want to have these files as close as possible to the original names so that I can use my standard script (from a trace file) to recreate the control fiile. If I can get RMAN to spit out the filies with original names but keep RMAN for making the backup, I may ditch the rman bacjup script in chron and write a traditional hot backup script which copies the files the old fashioned way.
2) to reduce cloning time. The RMAN duplicate command is not as good as I thought. I was actually easier for me to restore RMAN backups first to a box that has all the same paths, and THEN shutdown (cold) these files and copy them cold to another server, and restore from there. Agaiin if I can get the original file names, I could choose to do recovery either way (RMAN or traditional) in a real emergency instead of being forced to use rman.
3) to be able to switch to a backup file in the FRA without having to rename it. Seems logical if it is already named correctly.
thanks ! Marvi -
Rman Error after non-unicode to unicode Conversion
Dear All,
I got the below error in SAP ECC 6.0 after converting to unicode version
I scheduled Redo log backup in DB13 with verify option.Redo log backup is successful but Rman verify fails( not connected to database) with the below error.
BR0002I BRARCHIVE 7.00 (44)
BR0006I Start of offline redo log processing: aecxcgeb.svd 2010-03-31 05.00.17
BR0484I BRARCHIVE log file: E:\oracle\HRD\saparch\aecxcgeb.svd
BR0477I Oracle pfile E:\oracle\HRD\102\database\initHRD.ora created from spfile E:\oracle\HRD\102\database\spfileHRD.ora
BR0101I Parameters
Name Value
oracle_sid HRD
oracle_home E:\oracle\HRD\102
oracle_profile E:\oracle\HRD\102\database\initHRD.ora
sapdata_home E:\oracle\HRD
sap_profile E:\oracle\HRD\102\database\inithrd.sap
backup_dev_type disk
archive_copy_dir E:\zz_backup\HRD
compress no
disk_copy_cmd copy
cpio_disk_flags -pdcu
archive_dupl_del only
system_info SAPServiceHRD QCHR1 Windows 5.2 Build 3790 Service Pack 2 AMD64
oracle_info HRD 10.2.0.2.0 8192 1399 12442755 QCHR1 UTF8 UTF8
sap_info 700 SAPHRD 0002LK0003HRD0011F01141457250015Maintenance_ORA
make_info NTAMD64 OCI_10201_SHARE Dec 14 2009
command_line brarchive -u / -jid LOG__20100326050000 -c force -p inithrd.sap -sd -w use_rmv
BR0280I BRARCHIVE time stamp: 2010-03-31 05.00.23
BR0008I Offline redo log processing for database instance: HRD
BR0009I BRARCHIVE action ID: aecxcgeb
BR0010I BRARCHIVE function ID: svd
BR0048I Archive function: save_delete
BR0011I 33 offline redo log files found for processing, total size 1439.778 MB
BR0112I Files will not be compressed
BR0130I Backup device type: disk
BR0106I Files will be saved on disk in directory: E:\zz_backup\HRD
BR0136I Verify option with value 'use_rmv' set - double work to do
BR1391I RMAN will be used for verification
BR0134I Unattended mode with 'force' active - no operator confirmation allowed
BR0202I Saving init_ora
BR0203I to E:\zz_backup\HRD\HRD ...
BR0202I Saving E:\oracle\HRD\102\database\inithrd.sap
BR0203I to E:\zz_backup\HRD\HRD ...
BR0280I BRARCHIVE time stamp: 2010-03-31 05.00.23
BR0198I Profiles saved successfully
BR0428W File E:\zz_backup\HRD\HRDARCHARC01366_0711116899.001 will be overwritten
BR0202I Saving E:\oracle\HRD\oraarch\HRDARCHARC01366_0711116899.001
BR0203I to E:\zz_backup\HRD\HRDARCHARC01366_0711116899.001 ...
#ARCHIVE.. E:\oracle\HRD\oraarch\HRDARCHARC01366_0711116899.001
#SAVED.... E:\zz_backup\HRD\HRDARCHARC01366_0711116899.001 #1/1
BR0428W File E:\oracle\HRD\sapreorg\HRDARCHARC01366_0711116899.001 will be overwritten
BR0280I BRARCHIVE time stamp: 2010-03-31 05.00.25
BR0351I Restoring E:\oracle\HRD\sapreorg\HRDARCHARC01366_0711116899.001
BR0355I from E:\zz_backup\HRD\HRDARCHARC01366_0711116899.001 ...
BR0280I BRARCHIVE time stamp: 2010-03-31 05.00.25
BR0568I Verifying E:\ZZ_BACKUP\HRD\HRDARCHARC01366_0711116899.001 using RMAN...
BR0278E Command output of 'E:\oracle\HRD\102\BIN\rman nocatalog':
Recovery Manager: Release 10.2.0.2.0 - Production on Wed Mar 31 05:00:28 2010
Copyright (c) 1982, 2005, Oracle. All rights reserved.
RMAN>
RMAN> connect target *
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
ORA-12640: Authentication adapter initialization failed
RMAN> *end-of-file*
RMAN>
host command complete
RMAN>
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of catalog command at 03/31/2010 05:00:29
RMAN-06171: not connected to target database
RMAN> 2> 3>
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of allocate command at 03/31/2010 05:00:29
RMAN-06171: not connected to target database
RMAN>
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of uncatalog command at 03/31/2010 05:00:29
RMAN-06171: not connected to target database
RMAN>
Recovery Manager complete.
BR0280I BRARCHIVE time stamp: 2010-03-31 05.00.29
BR0279E Return code from 'E:\oracle\HRD\102\BIN\rman nocatalog': 1
BR0536E RMAN call for database instance HRD failed
BR0280I BRARCHIVE time stamp: 2010-03-31 05.00.29
BR0587E Verification of archivelog file using RMAN failed
BR0570E Verification of backup of E:\oracle\HRD\oraarch\HRDARCHARC01366_0711116899.001 using RMAN failed due to previous errors
BR0016I 0 offline redo log files processed, total size 45.003 MB
BR0007I End of offline redo log processing: aecxcgeb.svd 2010-03-31 05.00.29
BR0280I BRARCHIVE time stamp: 2010-03-31 05.00.29
BR0005I BRARCHIVE terminated with errors
Please help on this
Thanks and Regards,
Vadivelan.NHi,
FInd the trans.log file content below after commenting in both the locations
4 ETW000 r3trans version 6.14 (release 700 - 03.11.09 - 14:15:00).
4 ETW000 unicode enabled version
4 ETW000 ===============================================
4 ETW000
4 ETW000 date&time : 01.04.2010 - 21:45:00
4 ETW000 control file: <no ctrlfile>
4 ETW000 R3trans was called as follows: r3trans -d
4 ETW000 trace at level 2 opened for a given file pointer
4 ETW000 [dev trc ,00000] Thu Apr 01 21:45:00 2010 0 0.000000
4 ETW000 [dev trc ,00000] db_con_init called 0 0.000000
4 ETW000 [dev trc ,00000] create_con (con_name=R/3) 0 0.000000
4 ETW000 [dev trc ,00000] Loading DB library 'dboraslib.dll' ... 0 0.000000
4 ETW000 [dev trc ,00000] DlLoadLib success: LoadLibrary("dboraslib.dll"), hdl 0, addr 00000001887A0000
4 ETW000 3905 0.003905
4 ETW000 [dev trc ,00000] using "D:\usr\sap\HRD\SYS\exe\uc\NTAMD64\dboraslib.dll" 8 0.003913
4 ETW000 [dev trc ,00000] Library 'dboraslib.dll' loaded 9 0.003922
4 ETW000 [dev trc ,00000] function DbSlExpFuns loaded from library dboraslib.dll 11 0.003933
4 ETW000 [dev trc ,00000] Version of 'dboraslib.dll' is "700.08", patchlevel (0.234) 177 0.004110
4 ETW000 [dev trc ,00000] function dsql_db_init loaded from library dboraslib.dll 10 0.004120
4 ETW000 [dev trc ,00000] function dbdd_exp_funs loaded from library dboraslib.dll 17 0.004137
4 ETW000 [dev trc ,00000] New connection 0 created 18 0.004155
4 ETW000 [dev trc ,00000] 000: name = R/3, con_id = -000000001, state = DISCONNECTED, tx = NO , hc = NO , perm = YES,
4 ETW000 reco = NO , frco = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO
4 ETW000 52 0.004207
4 ETW000 [dev trc ,00000] db_con_connect (con_name=R/3) 14 0.004221
4 ETW000 [dev trc ,00000] find_con_by_name found the following connection for reuse: 8 0.004229
4 ETW000 [dev trc ,00000] 000: name = R/3, con_id = 000000000, state = DISCONNECTED, tx = NO , hc = NO , perm = YES,
4 ETW000 reco = NO , frco = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO
4 ETW000 22 0.004251
4 ETW000 [dev trc ,00000] CLIENT_ORACLE_HOME is not set as environment variable or 255 0.004506
4 ETW000 DIR_CLIENT_ORAHOME is not set as profile parameter.
4 ETW000 assuming using instant client with unspecified location.
4 ETW000 [dev trc ,00000] -->oci_init1 30 0.004536
4 ETW000 [dev trc ,00000] Oracle Client Version: '10.2.0.2.0' 5667 0.010203
4 ETW000 [dev trc ,00000] Default connection: tnsname ='HRD' 14 0.010217
4 ETW000 [dev trc ,00000] -->oci_initialize(con_hdl=0, char='', nchar='') 12 0.010229
4 ETW000 [dev trc ,00000] application info callback registered 9 0.010238
4 ETW000 [dev trc ,00000] OCIEnvCreate(mode=16384=OCI_UTF16) returned 0 (for default NLS handle)
4 ETW000 2149 0.012387
4 ETW000 [dev trc ,00000] OCIHandleAlloc(OCI_HTYPE_ERROR, con_hdl=0, ErrHp=000000000031BCB0)
4 ETW000 74 0.012461
4 ETW000 [dev trc ,00000] OCIHandleAlloc(OCI_HTYPE_ERROR, con_hdl=0, ErrBt=0000000000321478)
4 ETW000 20 0.012481
4 ETW000 [dev trc ,00000] Client character set UTF16 -> UTF8 88 0.012569
4 ETW000 [dev trc ,00000] Client NLS setting (OCINlsGetInfo): connection handle 0 -> 'AMERICAN_AMERICA.UTF8'
4 ETW000 16 0.012585
4 ETW000 [dev trc ,00000] charset='', chset='UTF8', UNI_ASC=FALSE/FALSE 9 0.012594
4 ETW000 [dev trc ,00000] Logon as OPS$-user to get SAPHRD's password 9 0.012603
4 ETW000 [dev trc ,00000] Connecting as /@HRD on connection 0 (nls_hdl 0) ... (dbsl 700 251109)
4 ETW000 18 0.012621
4 ETW000 [dev trc ,00000] Nls CharacterSet NationalCharSet EnvHp ErrHp ErrHpBatch
4 ETW000 16 0.012637
4 ETW000 [dev trc ,00000] 0 UTF8 00000000076DF090 000000000031BCB0 0000000000321478
4 ETW000 17 0.012654
4 ETW000 [dev trc ,00000] Allocating service context handle for con_hdl=0 33 0.012687
4 ETW000 [dev trc ,00000] Allocating server context handle 13 0.012700
4 ETW000 [dev trc ,00000] Attaching to DB Server HRD (con_hdl=0,svchp=0000000000321338,srvhp=00000000076FE0E8)
4 ETW000 43 0.012743
4 ETW000 [dev trc ,00000] Assigning server context 00000000076FE0E8 to service context 0000000000321338
4 ETW000 9179 0.021922
4 ETW000 [dev trc ,00000] Allocating user session handle 34 0.021956
4 ETW000 [dev trc ,00000] Starting user session: OCISessionBegin(con_hdl=0, usr='/',svchp=0000000000321338, srvhp=00000000076FE0E8, usrhp=000000000031C4C8)
4 ETW000 23 0.021979
4 ETW000 [dev trc ,00000] OCISessionBegin(OCI_DEFAULT) failed with -1=OCI_ERROR 26181 0.048160
4 ETW000 [dev trc ,00000] OCISessionBegin(OCI_DEFAULT) failed with SQL error 1017: 75 0.048235
4 ETW000 [dev trc ,00000] ORA-01017: invalid username/password; logon denied
4 ETW000 26 0.048261
4 ETW000 [dbsloci. ,00000] *** ERROR => CONNECT failed with sql error '1017' 27 0.048288
4 ETW000 [dev trc ,00000] set_ocica() -> SQL error code 1017 18 0.048306
4 ETW000 [dev trc ,00000] -->oci_get_errmsg (con_hdl=0, rc=1017) 20 0.048326
4 ETW000 [dev trc ,00000] OCIErrorGet -> SQL error code: 1017 35 0.048361
4 ETW000 [dev trc ,00000] ORA-01017: invalid username/password; logon denied
4 ETW000 16 0.048377
4 ETW000 [dev trc ,00000] Try to connect with default password 9 0.048386
4 ETW000 [dev trc ,00000] Connecting as SAPHRD/<pwd>@HRD on connection 0 (nls_hdl 0) ... (dbsl 700 251109)
4 ETW000 54 0.048440
4 ETW000 [dev trc ,00000] Nls CharacterSet NationalCharSet EnvHp ErrHp ErrHpBatch
4 ETW000 15 0.048455
4 ETW000 [dev trc ,00000] 0 UTF8 00000000076DF090 000000000031BCB0 0000000000321478
4 ETW000 17 0.048472
4 ETW000 [dev trc ,00000] Assigning username to user session: con_hdl=0, usrhp=000000000031C4C8
4 ETW000 13 0.048485
4 ETW000 [dev trc ,00000] Assigning password to user session: con_hdl=0, usrhp=000000000031C4C8
4 ETW000 20 0.048505
4 ETW000 [dev trc ,00000] Starting user session: OCISessionBegin(con_hdl=0, usr=SAPHRD/<pwd>, svchp=0000000000321338, srvhp=00000000076FE0E8, usrhp=000000000031C4C8)
4 ETW000 20 0.048525
4 ETW000 [dev trc ,00000] OCISessionBegin(OCI_DEFAULT) failed with -1=OCI_ERROR 2398 0.050923
4 ETW000 [dev trc ,00000] OCISessionBegin(OCI_DEFAULT) failed with SQL error 1017: 61 0.050984
4 ETW000 [dev trc ,00000] ORA-01017: invalid username/password; logon denied
4 ETW000 25 0.051009
4 ETW000 [dbsloci. ,00000] *** ERROR => CONNECT failed with sql error '1017' 17 0.051026
4 ETW000 [dev trc ,00000] set_ocica() -> SQL error code 1017 13 0.051039
4 ETW000 [dev trc ,00000] -->oci_get_errmsg (con_hdl=0, rc=1017) 14 0.051053
4 ETW000 [dev trc ,00000] OCIErrorGet -> SQL error code: 1017 55 0.051108
4 ETW000 [dev trc ,00000] ORA-01017: invalid username/password; logon denied
4 ETW000 29 0.051137
4 ETW000 [dblink ,00433] ***LOG BY2=>sql error 1017 performing CON [dblink#8 @ 433] 32 0.051169
4 ETW000 [dblink ,00433] ***LOG BY0=>ORA-01017: invalid username/password; logon denied [dblink#8 @ 433]
4 ETW000 14 0.051183
2EETW169 no connect possible: "DBMS = ORACLE --- dbs_ora_tnsname = 'HRD'" -
Recover Database in RMAN vs SQL*PLUS
Hello,
Oracle 11.2.0.1, Oracle Linux 5.5 UEK.
I recently did a "recover database" in sql*plus, but an attempt to open the database gave ORA-01113, complaining the system tablespace requried more recovery. Then I used RMAN (nocatalog) and after the same "recover database" command I was able to open the database.
It seems there are differences between SQL*PLUS and RMAN "recover database" command. I have not been able to locate the chapter in the Oracle documentation that explains the difference. I have some ideas, but...
Thanks.
h3. Solution Summary:
The recover command in RMAN compared to SQL*Plus implements a more user friendly processing logic based on the current detected scenario. For instance, a RMAN recover database command may actually perform a "recover database using backup controlfile until cancel" and automatically apply all archived and online redo logs if available. The same can be achieved with the recover command in SQL*plus, but will have to be done manually.
Edited by: Dude on Jan 7, 2011 12:30 PMDude wrote:
I did not remove any datafiles or redo logs. it is the same restore operation as before, and again RMAN "recovery database" succeeds, whereas SQL recover has trouble. This tells me something is different between the two methods. For one, RMAN does not requrie to specify "using backup controlfile".
Maybe someting about "resetlogs" that that RMAN recover can handle and SQL recover not?No,problem is there.If you using rman execute RECOVER DATABASE it also will apply online logs(if available) also and as result you will get complete recovery however you must open database with resetlogs option due to you recovered database using backup controlfile.So also you can recover and open database applying this online logs.After executing RECOVER DATABASE USING BACKUP CONTROLFILE you have to pass full path of online log then press ENTER so log will apply and you can open database with RESETLOGS.See below
C:\Documents and Settings\chinar>rman target sys/sm
Recovery Manager: Release 10.2.0.1.0 - Production on Fri Jan 7 17:47:49 2011
Copyright (c) 1982, 2005, Oracle. All rights reserved.
connected to target database (not started)
RMAN> startup nomount;
Oracle instance started
Total System Global Area 138412032 bytes
Fixed Size 1247708 bytes
Variable Size 71304740 bytes
Database Buffers 58720256 bytes
Redo Buffers 7139328 bytes
RMAN> restore controlfile from 'D:\oracle\product\10.2.0\flash_recovery_area\T\B
ACKUPSET\2011_01_07\O1_MF_NCSNF_TAG20110107T171001_6LG48JR5_.BKP'
2> ;
Starting restore at 07-JAN-11
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=157 devtype=DISK
channel ORA_DISK_1: restoring control file
channel ORA_DISK_1: restore complete, elapsed time: 00:00:03
output filename=D:\ORACLE\PRODUCT\10.2.0\ORADATA\T\CONTROL01.CTL
output filename=D:\ORACLE\PRODUCT\10.2.0\ORADATA\T\CONTROL02.CTL
output filename=D:\ORACLE\PRODUCT\10.2.0\ORADATA\T\CONTROL03.CTL
Finished restore at 07-JAN-11
RMAN> alter database mount;
database mounted
released channel: ORA_DISK_1
RMAN> restore database;
Starting restore at 07-JAN-11
Starting implicit crosscheck backup at 07-JAN-11
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=156 devtype=DISK
Crosschecked 1 objects
Finished implicit crosscheck backup at 07-JAN-11
Starting implicit crosscheck copy at 07-JAN-11
using channel ORA_DISK_1
Finished implicit crosscheck copy at 07-JAN-11
searching for all files in the recovery area
cataloging files...
cataloging done
List of Cataloged Files
=======================
File Name: D:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\T\BACKUPSET\2011_01_07\O
1_MF_NCSNF_TAG20110107T171001_6LG48JR5_.BKP
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 D:\ORACLE\PRODUCT\10.2.0\ORADATA\T\SYSTEM01.DBF
restoring datafile 00002 to D:\ORACLE\PRODUCT\10.2.0\ORADATA\T\UNDOTBS01.DBF
restoring datafile 00003 to D:\ORACLE\PRODUCT\10.2.0\ORADATA\T\SYSAUX01.DBF
restoring datafile 00004 to D:\ORACLE\PRODUCT\10.2.0\ORADATA\T\USERS01.DBF
channel ORA_DISK_1: reading from backup piece D:\ORACLE\PRODUCT\10.2.0\FLASH_REC
OVERY_AREA\T\BACKUPSET\2011_01_07\O1_MF_NNNDF_TAG20110107T171001_6LG45BXS_.BKP
channel ORA_DISK_1: restored backup piece 1
piece handle=D:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\T\BACKUPSET\2011_01_07
\O1_MF_NNNDF_TAG20110107T171001_6LG45BXS_.BKP tag=TAG20110107T171001
channel ORA_DISK_1: restore complete, elapsed time: 00:01:04
Finished restore at 07-JAN-11
RMAN> recover database;
Starting recover at 07-JAN-11
using channel ORA_DISK_1
starting media recovery
archive log thread 1 sequence 7 is already on disk as file D:\ORACLE\PRODUCT\10.
2.0\ORADATA\T\REDO02.LOG
archive log filename=D:\ORACLE\PRODUCT\10.2.0\ORADATA\T\REDO02.LOG thread=1 sequ
ence=7
media recovery complete, elapsed time: 00:00:03
Finished recover at 07-JAN-11
RMAN> exit
Recovery Manager complete.
C:\Documents and Settings\chinar>sqlplus sys/sm as sysdba
SQL*Plus: Release 10.2.0.1.0 - Production on Fri Jan 7 17:51:31 2011
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL> alter database open;
alter database open
ERROR at line 1:
ORA-01589: must use RESETLOGS or NORESETLOGS option for database open
SQL> alter database open resetlogs;
Database altered.
SQL> And above you see lines as
archive log thread 1 sequence 7 is already on disk as file D:\ORACLE\PRODUCT\10.
*2.0\ORADATA\T\REDO02.LOG*
archive log filename=D:\ORACLE\PRODUCT\10.2.0\ORADATA\T\REDO02.LOG thread=1 sequ
ence=7
It means RMAN apply these.So you can apply these using SQLPLUS ALSO.In additionally you can see that from alert log as
alter database recover if needed
start until cancel using backup controlfile
Media Recovery Start
parallel recovery started with 2 processes
ORA-279 signalled during: alter database recover if needed
start until cancel using backup controlfile
Fri Jan 07 17:50:34 2011
alter database recover logfile 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\T\REDO02.LOG'
Fri Jan 07 17:50:34 2011
Media Recovery Log D:\ORACLE\PRODUCT\10.2.0\ORADATA\T\REDO02.LOG
Fri Jan 07 17:50:34 2011
Incomplete recovery applied all redo ever generated.
Recovery completed through change 665263
Completed: alter database recover logfile 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\T\REDO02.LOG'And finally you see clearly that even if you execute RECOVER DATABASE from RMAN it actually execute RECOVER DATABASE UNTIL CANCEL USING BACKUP CONTROLFILE (from alert.log start until cancel using backup controlfile)
And these is not any difference.
Hope that help you and you got answer. -
Problem about tdp for sap rman error
I installed tdp for sap and scheduled a online backup , after the backup finished, I checked the log.
all data files were backuped successfully. but there is an error about rman. I do not know how to do about that? Could you help me? I think the backup could be successful without rman, why in the backup log, it shows a rman error .
I checked the initDEV.sap and initDEV.utl, there is no entry about rman, I do not use rman_util.
BR0530I Cataloging backups of all database files...
BR0278E Command output of 'SHELL=/bin/sh /oracle/DEV/102_64/bin/rman nocatalog':
Recovery Manager: Release 10.2.0.4.0 - Production on Sun Mar 8 13:34:21 2009
Copyright (c) 1982, 2007, Oracle. All rights reserved.
RMAN>
RMAN> connect target *
connected to target database: DEV (DBID=3672496816)
using target database control file instead of recovery catalog
RMAN> *end-of-file*
RMAN>
host command complete
RMAN> 2> 3> 4> 5> 6> 7> 8> 9> 10> 11> 12> 13> 14> 15> 16> 17> 18> 19> 20> 21> 22> 23> 24> 25> 26> 27> 28> 29> 30> 31> 32>
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of catalog command on default channel at 03/08/2009 13:34:23
ORA-19564: error occurred writing 8192 bytes at block number 1
ORA-27091: unable to queue I/O
ORA-27041: unable to open file
IBM AIX RISC System/6000 Error: 13: Permission denied
Additional information: 3
RMAN>
Recovery Manager complete.
BR0280I BRBACKUP time stamp: 2009-03-08 13.34.23
BR0279E Return code from 'SHELL=/bin/sh /oracle/DEV/102_64/bin/rman nocatalog': 1
BR0536E RMAN call for database instance DEV failed
BR0280I BRBACKUP time stamp: 2009-03-08 13.34.23
BR0532E Cataloging backups of all database files failedHello Victor,
we need the RMAN commands that were executed and at which step this error occurs.
Maybe it is a problem with the snap controlfile for the AUTOBACKUP or many other scenarios are possible.
We are also using the TDP for mySAP, but without RMAN support.
If you want to use just RMAN (like we do for non-SAP systems / no BR*Tools) you can save a lot of license/service costs, if you are using TDP for Oracle, but keep in mind that you are losing the support for that by SAP. You can directly open a call by oracle for these situations.
If you want this scenario as described we need more detailed information. Maybe a "LIST BACKUP" would also be nice.
Regards
Stefan -
Hi,
I wanted to perform the first backup with RMAN and I used this command and I got error:
RMAN> BACKUP AS COPY DATABASE;
"can not backup or copy active file in noarchivelog mode".
But in order to turn on the log_mode to ARCHIVELOG, first I need to do shutdown the db and perform the backup. Right?
So how can I get my first backup using RMAN if the log mode is in NOARCHIVELOG mode?
I also performed this command successfully...
RMAN> configure controlfile autobackup on;
new RMAN configuration parameter are successfully stored...
but I'm not sure the controlfiles are being backed up. How can I verify this and where I can find the controlfile backup file?
Thanks,So how can I get my first backup using RMAN if the log mode is in NOARCHIVELOG mode?You can do RMAN backups with DB in NOARCHIVELOG mode, but the DB must be MOUNTED and not OPEN. You can do something like the following :
$ $ORACLE_HOME/bin/rman nocatalog
Recovery Manager: Release 10.2.0.1.0 - Production on Thu Feb 9 01:18:08 2006
Copyright (c) 1982, 2005, Oracle. All rights reserved.
RMAN> connect target
connected to target database: DB102 (DBID=XXXXXXXXX)
using target database control file instead of recovery catalog
RMAN> run { allocate channel d1 type disk;
2> shutdown;
3> startup mount;
4> configure controlfile autobackup on;
5> backup database;
6> sql 'alter database open';
7> }
I'm not sure the controlfiles are being backed up. How can I verify this and where I can find the controlfile backup file?
RMAN> list backup of controlfile; -
Rman error in active passive server
PROBLEM:
Rman is not working properly.
DATABASE NAMES
1)METALIB
2)PREMO
DIAGNOSTIC ANALYSIS:
1) CREATE RMAN_META4 CATALOG IN ‘METALIB’ DATABASE.
2) CREATE RMAN_PRM1 CATALOG IN ‘PREMO’ DATABASE.
3) PREMO DATABASE IS REGISTRED IN ‘RMAN_META4’ CATALOG.
4) METALIB DATABASE IS REGISTRED IN ‘RMAN_PRM’ CATALOG.
5) TWO DATABASES ARE UNARCHIVE LOG TO ARCHIVE LOG MODE CHANGED.
6) EXECUTED INCREMENTEL LEVEL 0 BAKUP SCRIPT IN RMAN_PRM1.
7) IN THAT TIME metalib target database alert log file it is showing
GES: Potential blocker (pid=282) on resource CF-00000000-00000000;
enqueue info in file /exlibris/app/oracle/admin/meta4/bdump/meta4_arc0_22455.trc
Killing enqueue blocker (pid=282) on resource CF-00000000-00000000
by killing session 189.549GES: Potential blocker (pid=8833) on resource CF-00000000-00000000;
8) Trace meta4_arc0_22455.trc shows:
Unable to get enqueue on resource CF-00000000-00000000 (ges mode req=3 held=6)
Possible local blocker ospid=282 sid=189 sser=549 time_held=1027 secs (ges mode req=6 held=4)
Killing blocker (pid=282) on resource CF-00000000-00000000
DUMP LOCAL BLOCKER: initiate state dump for KILL
last wait for 'control file sequential read' blocking sess=0x0 seq=407 wait_time=15 seconds since wait started=1033
file#=0, block#=11, blocks=1
Dumping Session Wait History
REQUEUE CONTROL FILE ENQUEUE REQUEST AFTER KILLING THE FIRST BLOCKER
BLOCKER: inst=1, session id=189, serial=549, held=1027sec
REQUESTER: mode=S, type=0, timeout=900, new timeout=450
9) IN METAL DATABASE
SELECT SESSION_ID,LOCK_TYPE,LAST_CONVERT,MODE_HELD,BLOCKING_OTHERS FROM DBA_LOCK;
**** Hit return to continue ****
SESSION_ID LOCK_TYPE LAST_CONVERT MODE_HELD BLOCKING_OTHERS
426 Control File 214 None Not Blocking
444 Redo Thread 97079 Exclusive Not Blocking
189 Control File 220 S/Row-X (SSX) Blocking
189 Control File 220 Share Not Blocking
189 Control File 220 Exclusive Not Blocking
190 Control File 96 None Not Blocking
212 SH 37 Exclusive Not Blocking
212 DML 37 Exclusive Not Blocking
212 Transaction 37 Exclusive Not Blocking
212 DML 37 Row-X (SX) Not Blocking
212 WF 39 Exclusive Not Blocking
**** Hit return to continue ****
SESSION_ID LOCK_TYPE LAST_CONVERT MODE_HELD BLOCKING_OTHERS
212 Control File 37 None Not Blocking
218 Temp Segment 97077 Row-X (SX) Not Blocking
219 RS 97079 Row-S (SS) Not Blocking
219 XR 97085 Null Not Blocking
219 Control File 97082 Row-S (SS) Blocking
219 KT 97077 Share Not Blocking
220 Media Recovery 97079 Share Not Blocking
220 Media Recovery 97079 Share Not Blocking
220 Media Recovery 97079 Share Not Blocking
220 Media Recovery 97079 Share Not Blocking
220 Media Recovery 97079 Share Not Blocking
**** Hit return to continue ****
SESSION_ID LOCK_TYPE LAST_CONVERT MODE_HELD BLOCKING_OTHERS
220 Media Recovery 97079 Share Not Blocking
220 Media Recovery 97079 Share Not Blocking
220 Media Recovery 97079 Share Not Blocking
220 PW 97076 Row-X (SX) Not Blocking
220 Media Recovery 97079 Share
10) I tried rman /nocatalog same error
rman target / nocatalog
Recovery Manager: Release 10.2.0.3.0 - Production on Fri Oct 12 08:38:59 2007
Copyright (c) 1982, 2005, Oracle. All rights reserved.
connected to target database: META4 (DBID=633370153)
using target database control file instead of recovery catalog
RMAN> backup database;
Starting backup at 12-OCT-07
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=188 devtype=DISK
channel ORA_DISK_1: starting full datafile backupset
channel ORA_DISK_1: specifying datafile(s) in backupset
input datafile fno=00009 name=/metalib/oradata/meta4/meta4_ts0_02.dbf
input datafile fno=00011 name=/metalib/oradata/meta4/meta4_ts1_03.dbf
input datafile fno=00010 name=/metalib/oradata/meta4/meta4_ts1_02.dbf
input datafile fno=00007 name=/metalib/oradata/meta4/meta4_ts0_01.dbf
input datafile fno=00008 name=/metalib/oradata/meta4/meta4_ts1_01.dbf
input datafile fno=00012 name=/metalib/oradata/meta4/meta4_rman01.dbf
input datafile fno=00001 name=/metalib/oradata/meta4/meta4_system01.dbf
input datafile fno=00003 name=/metalib/oradata/meta4/meta4_sysaux01.dbf
input datafile fno=00002 name=/metalib/oradata/meta4/meta4_undotbs01.dbf
input datafile fno=00004 name=/metalib/oradata/meta4/meta4_users01.dbf
input datafile fno=00005 name=/metalib/oradata/meta4/meta4_tslob01.dbf
input datafile fno=00006 name=/metalib/oradata/meta4/meta4_log01.dbf
channel ORA_DISK_1: starting piece 1 at 12-OCT-07
channel ORA_DISK_1: finished piece 1 at 12-OCT-07
piece handle=/exl_backup/meta4/meta4_db_df20071012_s22_s1.bak tag=TAG20071012T084331 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:04:36
channel ORA_DISK_1: starting full datafile backupset
channel ORA_DISK_1: specifying datafile(s) in backupset
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of backup command on ORA_DISK_1 channel at 10/12/2007 09:11:44
ORA-03114: not connected to ORACLE
ORA-03113: end-of-file on communication channel
##############################################################hi,
The error 'not connected to Oracle' suggests that the database was not up and running when rman was invoked. Have you had anymore success with this?
regards
Alan -
Hello All,
We are running ECC 6.0 system in Oracle and we have scheduled the Full online backup+redolog backup eery weekend. But the backup fails with the following error
BR0530I Cataloging backups of all database files...
BR0278E Command output of 'E:\oracle\SID\102\BIN\rman nocatalog':
Recovery Manager: Release 10.2.0.2.0 - Production on Sat Feb 28 14:08:26 2009
Copyright (c) 1982, 2005, Oracle. All rights reserved.
RMAN>
RMAN> connect target *
connected to target database: SID (DBID=130858580)
using target database control file instead of recovery catalog
RMAN> *end-of-file*
RMAN>
host command complete
RMAN> 2> 3> 4> 5> 6> 7> 8> 9> 10> 11> 12> 13> 14> 15> 16> 17> 18> 19> 20> 21> 22> 23> 24> 25> 26> 27> 28> 29> 30> 31> 32> 33> 34> 35> 36> 37> 38> 39> 40> 41> 42> 43> 44> 45> 46>
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of catalog command on default channel at 02/28/2009 14:08:31
ORA-19625: error identifying file
xxx.xx.x.xxx\BACKUP\hostname\BEAAGPUK\DIMD.DATA1
ORA-27041: unable to open file
OSD-04002: unable to open file
O/S-Error: (OS 5) Access is denied.
RMAN>
Recovery Manager complete.
BR0280I BRBACKUP time stamp: 2009-02-28 14.08.31
BR0279E Return code from 'E:\oracle\SID\102\BIN\rman nocatalog': 1
BR0536E RMAN call for database instance SID failed
BR0280I BRBACKUP time stamp: 2009-02-28 14.08.31
BR0532E Cataloging backups of all database files failed
BR0056I End of database backup: beaagpuk.fnd 2009-02-28 14.08.31
BR0280I BRBACKUP time stamp: 2009-02-28 14.08.31
BR0054I BRBACKUP terminated with errors
I have checked the permission and its fine at OS level. I have also created the SAPServiceSID user in the backup device. Still we face this issue.
Kindly suggest
Regards,
AnandHello everyone
I have exactly the same problem as described above
>
Anandh wrote:
> The issue is solved and the solution provided by Michael helped.
Can you please write what did you exactly do to solve this problem? I tried to set up permission in many diffrent ways (even giving the full access to the share to Everyone) but it didn't help.
Any help highly appreciate -
RMAN-05001: auxiliary filename
I am trying to duplicate a database using rman nocatalog on local host. I have set the convert file names to db_file_name_convert and log_file_name_convert in PFILE to AUXILIARY instance.
when I execute the duplicate command in Rman I do get this error..
RUN
allocate auxiliary channel c1 DEVICE TYPE disk;
DUPLICATE TARGET DATABASE to "RMAN"
PFILE=C:\oracle\ora92\database\INITrman.ORA
LOGFILE
GROUP 1 ('C:\ORACLE\ORADATA\RMAN\REDO01.RDO') SIZE 102400K REUSE,
GROUP 2 ('C:\ORACLE\ORADATA\RMAN\REDO02.RDO') SIZE 102400K REUSE,
GROUP 3 ('C:\ORACLE\ORADATA\RMAN\REDO03.RDO') SIZE 102400K REUSE;
RMAN-05001: auxiliary filename C:\ORACLE\ORADATA\LOCAL\REDO03.RDO conflicts with
I saw the document http://download-east.oracle.com/docs/cd/B10501_01/server.920/a96566/rcmdupdb.htm#441628 but i don't know what is the problem.
SO: Xp
DB: 9.2.0.1---INITlocal.ora
*.aq_tm_processes=1
*.background_dump_dest='C:\oracle\admin\local\bdump'
*.compatible='9.2.0.0.0'
*.control_files='C:\oracle\oradata\local\CONTROL01.CTL','C:\oracle\oradata\local\CONTROL02.CTL','C:\oracle\oradata\local\CONTROL03.CTL'
*.core_dump_dest='C:\oracle\admin\local\cdump'
*.db_block_size=8192
*.db_cache_size=25165824
*.db_domain=''
*.db_file_multiblock_read_count=16
*.db_name='local'
*.dispatchers='(PROTOCOL=TCP) (SERVICE=localXDB)'
*.fast_start_mttr_target=300
*.hash_join_enabled=TRUE
*.instance_name='local'
*.java_pool_size=33554432
*.job_queue_processes=10
*.large_pool_size=8388608
*.log_archive_start=TRUE
*.open_cursors=300
*.pga_aggregate_target=25165824
*.processes=150
*.query_rewrite_enabled='FALSE'
*.remote_login_passwordfile='EXCLUSIVE'
*.shared_pool_size=50331648
*.sort_area_size=524288
*.star_transformation_enabled='FALSE'
*.timed_statistics=TRUE
*.undo_management='AUTO'
*.undo_retention=10800
*.undo_tablespace='UNDOTBS1'
*.user_dump_dest='C:\oracle\admin\local\udump'
--INITrman.ora
*.aq_tm_processes=1
*.background_dump_dest='C:\oracle\admin\rman\bdump'
*.compatible='9.2.0.0.0'
*.control_files='C:\oracle\oradata\rman\CONTROL01.CTL','C:\oracle\oradata\rman\CONTROL02.CTL','C:\oracle\oradata\rman\CONTROL03.CTL'
*.core_dump_dest='C:\oracle\admin\rman\cdump'
*.db_block_size=8192
*.db_cache_size=25165824
*.db_domain=''
*.db_file_multiblock_read_count=16
*.db_name='rman'
*.dispatchers='(PROTOCOL=TCP) (SERVICE=rmanXDB)'
*.fast_start_mttr_target=300
*.hash_join_enabled=TRUE
*.instance_name='rman'
*.java_pool_size=33554432
*.job_queue_processes=10
*.large_pool_size=8388608
*.log_archive_start=TRUE
*.open_cursors=300
*.pga_aggregate_target=25165824
*.processes=150
*.query_rewrite_enabled='FALSE'
*.remote_login_passwordfile='EXCLUSIVE'
*.shared_pool_size=50331648
*.sort_area_size=524288
*.star_transformation_enabled='FALSE'
*.timed_statistics=TRUE
*.undo_management='AUTO'
*.undo_retention=10800
*.undo_tablespace='UNDOTBS1'
*.user_dump_dest='C:\oracle\admin\rman\udump'
*.db_file_name_convert=('C:\ORACLE\ORADATA\LOCAL\','C:\ORACLE\ORADATA\RMAN\')
*.log_file_name_convert=('C:\ORACLE\ORADATA\LOCAL\','C:\ORACLE\ORADATA\RMAN\')
--Target and Aux are on same machine
--RMAN command
RUN
allocate auxiliary channel c1 DEVICE TYPE disk;
DUPLICATE TARGET DATABASE to "RMAN"
PFILE=C:\oracle\ora92\database\INITrman.ORA;
LOGFILE
GROUP 1 ('C:\ORACLE\ORADATA\RMAN\REDO01.RDO') SIZE 102400K REUSE,
GROUP 2 ('C:\ORACLE\ORADATA\RMAN\REDO02.RDO') SIZE 102400K REUSE,
GROUP 3 ('C:\ORACLE\ORADATA\RMAN\REDO03.RDO') SIZE 102400K REUSE;
I follow "Preparing the RMAN DUPLICATE Auxiliary Instance: Basic Steps".
I think the problem is in LOG_FILE_NAME_CONVERT or the logfile clause to convert the online redo log filenames
Message was edited by:
juanudo -
Clone of auxillary database using rman with the source database unavailable
Hi,
Is it possible to clone a database with just the source database's backup pieces. The source database is currently unavailable. The source database backup was taken through rman - nocatalog mode. We have been provided the backup pieces. Any clues on how to go about it?NAME TYPE VALUE
db_file_name_convert string /u34/oracle/data/FRD9, +DG_OAP
PST1/OAPPST1/DATAFILE, /u34a/o
racle/data/FRD9, +DG_OAPPST1/O
APPST1/DATAFILE, /u35/oracle/d
ata/FRD9, +DG_OAPPST1/OAPPST1/
DATAFILE, /u36/oracle/data/FRD
9, +DG_OAPPST1/OAPPST1/DATAFIL
E, /u37/oracle/data/FRD9, +DG_
OAPPST1/OAPPST1/DATAFILE, /u38
/oracle/data/FRD9, +DG_OAPPST1
/OAPPST1/DATAFILE, /u39/oracle
NAME TYPE VALUE
/data/FRD9, +DG_OAPPST1/OAPPST
1/DATAFILE, /u40/oracle/data/F
RD9, +DG_OAPPST1/OAPPST1/DATAF
ILE
log_file_name_convert string /u32/oracle/data/FRD9, +DG_
OAPPST1_AUX1/OAPPST1/ONLINELOG
SQL> -
How to configure rman in linux
we dont need to do anything to use rman in windows but how can i use rman in linux??
if any one can help ?
From what i can understand is we need to install the rpm and start its service
if thier is anything else that i am missing please let me know .thankswe dont need to do anything to use rman in windows but how can i use rman in linux?Same way. Once Oracle is installed and Database is created you don't need anything else, simply run it, for example :
$ rman nocatalog
Recovery Manager: Release 10.2.0.1.0 - Production on Fri Jan 20 16:26:41 2006
Copyright (c) 1982, 2005, Oracle. All rights reserved.
RMAN> connect target
connected to target database: DB102 (DBID=XXXXXXXXX)
using target database control file instead of recovery catalog
RMAN>
Maybe you are looking for
-
Bold or Italics no longer works in Mail
When composing a message in Mail, using font style shortcuts no longer work. I've tried everything! For example, in the text of my email message, I select the word(s) that I want to bold, I press Cmd+B and it does nothing to the text. The font stays
-
Win 7 x64 printer driver for old HP LaserJet 5si
OK, I know everyone's dealt with one of these along the line, and I thought I had these dang printers figured out completely, but this one is a flat out freak, and anyone who can help, I appreciate it. Working in an environment with several new Dell
-
VGA adapter pigtail is manuf. out of spec. - stnd plug cannot engage
The VGA adapter pigtail for our new Macbooks are manufactured out of specification. The nuts on the plug are set back by about 1/16 of an inch too far away for the screws on a standard video cable plug to engage. This setback is caused by the plastic
-
How to get method call stack information in java code
Hi, I have a method a() in class A. I want to get the name of method and class which called method a. Is there any way of doing it ? I tried using StackIntrospector from org.apache.log.util package, and it solves my purpose. Is the same thing possibl
-
Each Month, I need to prepare forms for our payroll guys for each of my 40 team members. I have a pdf form which I call Master Form.pdf. I also have data that needs to go in the form in a tab-deliminated text file (I use excel to save data in this fi