Why is Pfile not in RMAN - backup
RMAN backups spfile together with controlfile. Why doesn't it support backing up pfile? Is is possible to configure it as to backup pfile too?
Thx.
Aliq.
Message was edited by:
user547746
pfiles are obsolete, and you should stop using them.Incorrect ,obsolete means not usable but one can use it and one using it,you can say its not recommended,on the basis of human readable pfile you created spfile .
Before spfile , pfile commented parameter mess the DBA when and what for used this parameter ,though DBA used comments by providing date and if it happens to change 20 times then he has to make comments 20 times ,with the invent of spfile you can save yours own pfile with dated version within filename i.e (initORCL15042008.ora) and then create the spfile from this pfile ,now you can maitnin yours pfile history easily as before.You can track when and what was changed.You can revert back to yours current instance as old one by creating spfile from oldpfile.
To OP
spfile is for single source of server parameters which is fact, thats why RMAN take spfile backup rather pfile.
You can also change some dynamic parameter during instance working ,you can change it in the spfile as well within instance memory.
Khurram
Similar Messages
-
Why can I not validate by backup?
Why can I not validate by backup.
The archive file was backed up to tape.
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
BACKUP VALIDATE DATABASE ARCHIVELOG ALL;
Starting backup at 14-SEP-06
using channel ORA_SBT_TAPE_1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS
RMAN-00571: ======================================================
RMAN-03002: failure of backup command at 09/14/2006 13:50:18
RMAN-06059: expected archived log not found, lost of archived log compromises recoverability
ORA-19625: error identifying file /oracle/XSQ/oraarch/XSQarch1_1343.dbf
ORA-27037: unable to obtain file status
HP-UX Error: 2: No such file or directory
Additional information: 3
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
RMAN> list backup of archivelog sequence 1343;
List of Backup Sets
===================
BS Key Size Device Type Elapsed Time Completion Time
11 7M SBT_TAPE 00:02:51 08-SEP-06
BP Key: 11 Status: AVAILABLE Tag: ADTLMWWN
Piece Name: XSQ_adtlmwwn.12_1
List of Archived Logs in backup set 11
Thrd Seq Low SCN Low Time Next SCN Next Time
1 1343 30237006 08-SEP-06 30243649 08-SEP-06
BS Key Size Device Type Elapsed Time Completion Time
14 7M SBT_TAPE 00:04:06 08-SEP-06
BP Key: 12 Status: AVAILABLE Tag: ADTLNWBH
Piece Name: XSQ_adtlnwbh.14_1
List of Archived Logs in backup set 14
Thrd Seq Low SCN Low Time Next SCN Next Time
1 1343 30237006 08-SEP-06 30243649 08-SEP-06
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
RMAN> REPORT NEED BACKUP;
RMAN retention policy will be applied to the command
RMAN retention policy is set to recovery window of 31 days
Report of files whose recovery needs more than 31 days of archived logs
File Days Name
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
RMAN> REPORT UNRECOVERABLE;
Report of files that need backup due to unrecoverable operations
File Type of Backup Required Name
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXI ran crosscheck.
Than I ran this LIST BACKUP OF ARCHIVELOG SEQUENCE 1343;
List of Backup Sets
===================
BS Key Size Device Type Elapsed Time Completion Time
11 7M SBT_TAPE 00:02:51 08-SEP-06
BP Key: 11 Status: EXPIRED Tag: ADTLMWWN
Piece Name: XSQ_adtlmwwn.12_1
List of Archived Logs in backup set 11
Thrd Seq Low SCN Low Time Next SCN Next Time
1 1343 30237006 08-SEP-06 30243649 08-SEP-06
BS Key Size Device Type Elapsed Time Completion Time
14 7M SBT_TAPE 00:04:06 08-SEP-06
BP Key: 12 Status: EXPIRED Tag: ADTLNWBH
Piece Name: XSQ_adtlnwbh.14_1
List of Archived Logs in backup set 14
Thrd Seq Low SCN Low Time Next SCN Next Time
1 1343 30237006 08-SEP-06 30243649 08-SEP-06
Than I ran RMAN> BACKUP VALIDATE DATABASE ARCHIVELOG ALL;
Starting backup at 15-SEP-06
allocated channel: ORA_SBT_TAPE_1
channel ORA_SBT_TAPE_1: sid=17 devtype=SBT_TAPE
channel ORA_SBT_TAPE_1: VERITAS NetBackup for Oracle - Release 6.0 (2006031019)
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of backup command at 09/15/2006 09:23:31
RMAN-06059: expected archived log not found, lost of archived log compromises recoverability
ORA-19625: error identifying file /oracle/XSQ/oraarch/XSQarch1_1343.dbf
ORA-27037: unable to obtain file status
HP-UX Error: 2: No such file or directory
Additional information: 3 -
i just bought more icloud storage, why does it not let me backup my iPhone 5..says i need 1.4 GB of space?..I just bought 10 more in icloud.
I think you are confused. Syncing apps and music to your phone will not get store in the cloud by adding more cloud storage. If you don't have enough space to sync the music and apps, buying cloud storage won't help. If you have a 16GB phone, the phone still only has 16GB for apps and music even if you buy 10 mor GB of cloud storage.
-
Logical Block corruption - not enough RMAN backups
I have to deal with logical block corruption but these guys do not have enough rman backups to go back enough to recover blocks.
All bad blocks are in SYSAUX and it seems because of it EM doesn't work as it's suppose to do. I dropped and recreated EM repository hoping it will clean itself but .... no.
Any ideas?
Oracle Linux 4.7 i386
Oracle 10.2.0.4OCCUPANT_NAME OCCUPANT_DESC SCHEMA_NAME MOVE_PROCEDURE MOVE_PROCEDURE_DESC SPACE_USAGE_KBYTES
EM Enterprise Manager Repository SYSMAN emd_maintenance.move_em_tblspc Move Procedure for Enterprise Manager Repository 52800
EM_MONITORING_USER Enterprise Manager Monitoring User DBSNMP *** MOVE PROCEDURE NOT APPLICABLE *** 1600 -
Why i can not restore my Backup from IPhone 5 to IPhone 3GS?
Dear All
Why I cannot restore my Backup from IPhone 5 to IPhone 3GS?
I have Massage inform that my version in my iPhone is old. When I check for updates
I received a massage that I have a last updates for this phone.
For your kind information the last update in my iPhone 3GS is IOS 6.1.6
My question is how i can get my photo and my video from the last IPhone5 Backup?On a new phone, like and iPhone 5,5s, 5c
-
Why can I not browse other backups in Time Manager
Hi
I'm not sure if this is the correct place to post but I could not find a Community for Time Manager.
I'm trying to restore a file from a Time Machine backup of my Late 2008 MacBook on to a Late 2014 Mac Mini both running Yosemite. The backup I'm trying to access is on a 3Tbyte Time Capsule which is shared by both machines plus another MacBook Air.
When I go into Time Machine and select Browse Other Backups I can see the backups for all 3 machines but when I select the backup for the MacBook but all that is ever displayed in to "Star Wars" display is the current view for the Mac Mini.
Am I doing something wrong?
I would appreciate some help.
Many ThanksThanks again Linc
I have used Time Machine to restore files and emails previously on my MacBook from its own backups. In this case I am trying to restore a file on to a Mac Mini from the backups of the MacBook. I understood from the Pondini FAQ #17 http://pondini.org/TM/17.html that the way to do this is :- on my Mac Mini right click on the Time Manager icon in the menu bar, hold down the Alt/Option key and select "Browse Other Backup Disks...". This displays a list of backups available from which I select the MacBook's backups and then click "Use Selected Disk". This takes me into the Star Wars array. However the only data that is displayed when I do this is the current view of the files on my Mac Mini. It doesn't open the backups for the MacBook to allow me to select the required file.
I'm obviously missing something along the line and really appreciate your interest. -
HT1414 why I can not find my backup on the icloud
hello anyone helping me
How are you looking?
Does in show in Settings>iCloud>Storage and Backup? -
Why can I not place backup folders in another folder on the same hard drive.
Why can I not move the backup contents of a customer into another folder on the same hard drive without it copiying the information over imediately instead of taking hours and having to use password!!!
Because the backups are not "owned" by you, so you can't just move them.
Also, I don't imagine Time Machine will be able to find them if you just move them.
Take a look at Pondini's Time Machine FAQ #18: http://www.pondini.org/TM/18.html -
Create a database from 8i RMAN backup
Hi,
I am in need to recover some historic data from a historic database's RMAN backup.
The situation is ... I have one old RMAN backup of a 8i database which includes datafiles, archivellog files and control files. Init.ora file is also available.
I have installed the 8i software in a host and created the oracle service through ORADIM and pwd file through ORAPWD utility. Then copied the init.ora file under 'C:\Oracle\ADMIN\ORCL\PFILE' and the RMAN backup files under 'C:\Oracle\Ora81\DATABASE' folder.
Now I can start the instance with the init.ora file but can not mount as control files are not there. when I try to restore the control files through RMAN as...
RMAN> run
2> {
3> restore controlfile;
4> }
RMAN-03022: compiling command: restore
RMAN-03022: compiling command: IRESTORE
RMAN-03026: error recovery releasing channel resources
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure during compilation of command
RMAN-03013: command type: restore
RMAN-03002: failure during compilation of command
RMAN-03013: command type: IRESTORE
RMAN-06172: not connected to recovery catalog database
RMAN>
Now without the catalog database how can I restore the control files and the database from the RMAN backup?
I think the old RMAN metadata was stored in catalog database.
Any suggestion please?
regardsSorry I wrongly said that I do not have the DBID, I have DBID but I have controlfile backup as RMAN backupset, not in Binary. So even if I set DBID, RMAN asks for the catalog database, which is not available.
As I worked...
C:\>rman
Recovery Manager: Release 8.1.5.0.0 - Production
RMAN> SET DBID=1208994555
RMAN-03022: compiling command: CSET
RMAN> connect target sys/*****
RMAN-06193: connected to target database (not started)
RMAN> startup nomount
RMAN-06196: Oracle instance started
Total System Global Area 552011724 bytes
Fixed Size 65484 bytes
Variable Size 69357568 bytes
Database Buffers 482514944 bytes
Redo Buffers 73728 bytes
RMAN> run
2> {
3> allocate channel ch1 type disk;
4> restore controlfile;
5> alter database mount;
6> }
RMAN-03022: compiling command: allocate
RMAN-03026: error recovery releasing channel resources
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure during compilation of command
RMAN-03013: command type: allocate
RMAN-06172: not connected to recovery catalog database
RMAN> shutdown
RMAN-06402: Oracle instance shut down
RMAN> set dbid 1208994555
RMAN-03022: compiling command: CSET
RMAN> connect target sys/*** nocatalog
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00558: error encountered while parsing input commands
RMAN-01005: syntax error: found "nocatalog": expecting one of: "newline, ;"
RMAN-01007: at line 1 column 27 file: standard input
RMAN> connect target sys/**** nocatalog;
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00558: error encountered while parsing input commands
RMAN-01005: syntax error: found "nocatalog": expecting one of: "newline, ;"
RMAN-01007: at line 1 column 27 file: standard input
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00558: error encountered while parsing input commands
RMAN-01005: syntax error: found ";": expecting one of: "allocate, alter, beginli
ne, catalog, change, connect, create, crosscheck, debug, delete, drop, exit, end
inline, host, {, library, list, mount, open, print, register, release, replace,
report, reset, resync, rman, rpctest, run, set, sql, "
RMAN-01007: at line 1 column 36 file: standard input
RMAN> exit
Recovery Manager complete.
C:\>rman target sys/**** nocatalog
Recovery Manager: Release 8.1.5.0.0 - Production
RMAN-06193: connected to target database (not started)
RMAN> run{
2> allocate channel ch1 type disk;
3> restore controlfile;
4> alter database mount;
5> }
RMAN-03022: compiling command: allocate
RMAN-03023: executing command: allocate
RMAN-08030: allocated channel: ch1
RMAN-08500: channel ch1: sid=12 devtype=DISK
RMAN-03022: compiling command: restore
RMAN-03022: compiling command: IRESTORE
RMAN-03026: error recovery releasing channel resources
RMAN-08031: released channel: ch1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure during compilation of command
RMAN-03013: command type: restore
RMAN-03002: failure during compilation of command
RMAN-03013: command type: IRESTORE
RMAN-06003: ORACLE error from target database: ORA-01507: database not mounted
ORA-06512: at "SYS.X$DBMS_RCVMAN", line 923
ORA-06512: at line 1
RMAN-06097: text of failing SQL statement: begin dbms_rcvman . setDatabase ( upp
er ( :dbname:dbname_i ) , :rlscn , :rltime , :fhdbi:fhdbi_i ) ; end ;
RMAN> -
Restoring RMAN backup on a different server
Hi oracle gurus
i have following scenario
i have a compressed backup set of a database
i want to restore that rman backup on to a different server.
both the server have same version of oracle.and both the server are of 32 bit.
please reply if any more info is required.RESTORE AND RECOVERY PROCEDURE OF PRODUCTION DATABASE BACKUP ON TEST SERVERS
As part of disaster recovery exercise or to test the validity of a RMAN backup, a full restore and recovery of databases can be performed on scratch or test servers utilising the production RMAN backups which have been restored from the tape backups on these test or scratch servers.
This note will illustrate the above procedure by detailing the steps required to restore the backup of a production database (prod1) on a test server linux01 .
The following assumptions are made in this note:
The RMAN backups have been restored from tape backups to the same backup location on the test server as the production server where the backup was originally taken
The identical directory structure as is present on production has been created on the test server. This will apply to not only the location of the database files (data, control files, redo log files), but also to the bdump,cdump, udump and adump locations.
Controlfile autobackup has been enabled. This is important.
Overview
Restore the spfile from the autobackup
Restore the controlfile from the autobackup
Restore the data files
Recover by applying archived redo log files
Open the database with resetlogs
Restore the SPFILE
[oracle@linux01 prod1]$ rman target /
connected to target database (not started)
RMAN> set dbid=4266928631
executing command: SET DBID
RMAN> startup force nomount;
startup failed: ORA-01078: failure in processing system parameters
LRM-00109: could not open parameter file '/u01/app/oracle/product/10.2.0/dbs/initprod1.ora'
starting Oracle instance without parameter file for retrival of spfile
Oracle instance started
Total System Global Area 159383552 bytes
Fixed Size 2039056 bytes
Variable Size 67109616 bytes
Database Buffers 83886080 bytes
Redo Buffers 6348800 bytes
RMAN> run
2> {SET CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/u02/backup/prod1/%F';
3> restore spfile from autobackup;
4> }
RMAN> shutdown immediate;
Restore the Control File
In this case, the instance is now being started with the restored spfile. We can create a pfile as well from this spfile is so required.
RMAN> startup nomount
connected to target database (not started)
Oracle instance started
RMAN> set dbid=4266928631
executing command: SET DBID
RMAN> run
2> {SET CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/u02/backup/prod1/%F';
3> restore controlfile from autobackup;
4> }
RMAN> alter database mount;
database mounted
released channel: ORA_DISK_1
Restore the database
RMAN> restore database;
Recover the database
The recovery will fail at a point where it cannot restore any more archived redo log files.
In this case the last archived log file which has been backed up is sequence 613.
This information can be obtained by issuing a LIST BACKUP OF ARCHIVELOG ALL command.
So RMAN will fail when it tries to apply sequence 614 ….
RMAN> recover database
[oracle@linux01 PROD1]$ rman target /
connected to target database: PROD1 (DBID=4266928631, not open)
RMAN> sql 'alter database open resetlogs';
RMAN>
reference: http://gavinsoorma.com/recovery-scenarios/ -
Error when doing a rman backup
hi Experts;
I'm tryin to create a backup, with rman.
This is a DB oracle 10g, rac, with ASM. We have 2 nodes.
The DB is in archive mode.
When I execute rman, following the next procedure:
export ORACLE_HOME=<path>
export ORACLE_SID=DBSID
rman
connect target /
I get this message:
connected to target database (not started)
However, DB is up and running and I can connect thru sqlplus an SQLDeveloper.
What steps I should follow in order to complete the backup?
Regards
ANGSince this is a 2 nodes RAC DD, which wouldbe the process:
srvctl stop database -d dbname
srvctl start instance -d dbname -i instancename -o mount
To do this in one node? the other node remains down.Of course you can shutdown any node if you wish, still you can take backup from active database/ open mode database.
I need to shutdown the DB, and the restart it?At least one instance should be UP and you have to connect only that node. In specific to RAC environment if you use TNS service , it can connect any one node according to load balance/active instances, why can't you use service. Also post
$ srvctl status database -d <db_unique_name>
But my doutb is, if the DB is in archive mode, why I can not do the backup without any problem?Here problem is not with backup, it's problem with connectivity.
If it's no archivelog mode then you can backup only in mount status. -
Rman backup in noarchivelog mode
hi all,
My database(ORCL) is in noarchivelog mode
I am taking RMAN backup using recovery catalog(backupdb)
target database(ORCL) is in mount mode
I am getting following errors:
RMAN> backup database;
Starting backup at 01-AUG-08
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00601: fatal error in recovery manager
RMAN-03004: fatal error during execution of command
RMAN-10039: error encountered while polling for RPC completion on channel defaul
t
RMAN-10006: error running SQL statement: select act from x$ksusex where sid=:1 a
nd serial=:2
RMAN-10002: ORACLE error: ORA-12571: TNS:packet writer failure
RMAN-03002: failure of backup command at 08/01/2008 15:52:03
ORA-03114: not connected to ORACLE
I again tried and then i got these errors:
C:\Documents and Settings\Administrator>set oracle_sid=backupdb
C:\Documents and Settings\Administrator>rman catalog rman1/rman
Recovery Manager: Release 9.2.0.1.0 - Production
Copyright (c) 1995, 2002, Oracle Corporation. All rights reserved.
connected to recovery catalog database
RMAN> connect target sys/sys@orcl
connected to target database (not started)
RMAN> backup database;
Starting backup at 01-AUG-08
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of backup command at 08/01/2008 16:12:40
RMAN-06403: could not obtain a fully authorized session
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
RMAN>
please explain
Message was edited by:
ArchanaTewatiaHi,
Try to study the errors Correctly ..
RMAN> connect target sys/aqtechmvardi@orcl
connected to target database (not started)
RMAN> backup database;
Starting backup at 01-AUG-08
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of backup command at 08/01/2008 16:12:40
RMAN-06403: could not obtain a fully authorized session
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Try to mount the Target DataBase it will work.
Thanks
Pavan Kumar N -
Oracle 11.2.0.1
Windows 7 Home Premium
RMAN> backup database;
Starting backup at 05-MAR-12
using channel ORA_DISK_1
channel ORA_DISK_1: starting full datafile backup set
channel ORA_DISK_1: specifying datafile(s) in backup set
RMAN-03009: failure of backup command on ORA_DISK_1 channel at 03/05/2012 12:25:05
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 backup set
channel ORA_DISK_1: specifying datafile(s) in backup set
including current control file in backup set
including current SPFILE in backup set
channel ORA_DISK_1: starting piece 1 at 05-MAR-12
channel ORA_DISK_1: finished piece 1 at 05-MAR-12
piece handle=E:\APP\NISHA\FLASH_RECOVERY_AREA\ORCL\BACKUPSET\2012_03_05\O1_MF_NCSNF_TAG20120305T122505_7O8RTBXJ_.BKP tag=TAG20120305T122505 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:01
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of backup command on ORA_DISK_1 channel at 03/05/2012 12:25:05
ORA-19602: cannot backup or copy active file in NOARCHIVELOG mode
RMAN> 1.What is the problem in above scnerio ?
2.How to take RMAN backup when db is down ?
3.How to take RMAN backup when db is noarchivelog mode ?
Please help me. Thank you.I am trying to do a full RMAN cold backup and am getting the following :
ORA-19602: cannot backup or copy active file in NOARCHIVELOG mode
What’s the cause ?
Here’s the example
connected to target database (not started)
Oracle instance started
database mounted Total System Global Area 1610612736 bytes Fixed Size 2056504 bytes
Variable Size 603983560 bytes
Database Buffers 989855744 bytes
Redo Buffers 14716928 bytes using target database control file instead of recovery catalog
allocated channel: backup_disk1
channel backup_disk1: sid=4977 instance=TEST1 devtype=DISK Starting backup at 31-OCT-13
channel backup_disk1: starting full datafile backupset
channel backup_disk1: specifying datafile(s) in backupset
RMAN-03009: failure of backup command on backup_disk1 channel at 31/10/2013 20:18:45
ORA-19602: cannot backup or copy active file in NOARCHIVELOG mode
continuing other job steps, job failed will not be re-run
channel backup_disk1: starting full datafile backupset
channel backup_disk1: specifying datafile(s) in backupset
RMAN-03009: failure of backup command on backup_disk1 channel at 13/10/2013 20:18:45
ORA-19602: cannot backup or copy active file in NOARCHIVELOG mode
continuing other job steps, job failed will not be re-run
channel backup_disk1: starting full datafile backupset
channel backup_disk1: specifying datafile(s) in backupset
RMAN-03009: failure of backup command on backup_disk1 channel at 13/10/2013 20:18:46
ORA-19602: cannot backup or copy active file in NOARCHIVELOG mode
continuing other job steps, job failed will not be re-run
channel backup_disk1: starting full datafile backupset
channel backup_disk1: specifying datafile(s) in backupset
released channel: backup_disk1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of backup command on backup_disk1 channel at 13/10/2013 20:18:47
ORA-19602: cannot backup or copy active file in NOARCHIVELOG mode
RMAN>
The cause is simple, the database has not been shutdown cleanly. You will require to restart the database and shutdown again, if in a RAC you will have to shutdown all instances cleanly.
Disabing archive log and attempting to backup the database will demonstrate the cause.
SQL> startup force;
ORACLE instance started.
Total System Global Area 1235959808 bytes
Fixed Size 2175288 bytes
Variable Size 620760776 bytes
Database Buffers 603979776 bytes
Redo Buffers 9043968 bytes
Database mounted.
Database opened.
SQL> shutdown abort;
ORACLE instance shut down.
SQL> startup mount;
ORACLE instance started.
Total System Global Area 1235959808 bytes
Fixed Size 2175288 bytes
Variable Size 620760776 bytes
Database Buffers 603979776 bytes
Redo Buffers 9043968 bytes
Database mounted.
SQL>
Now we’ll try again to backup datafile 1.
RMAN> backup datafile 1;
Starting backup at 31-OCT-13
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=133 device type=DISK
channel ORA_DISK_1: starting compressed full datafile backup set
channel ORA_DISK_1: specifying datafile(s) in backup set
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of backup command on ORA_DISK_1 channel at 13/10/2013 20:43:34
ORA-19602: cannot backup or copy active file in NOARCHIVELOG mode
This is simply because we issue a shutdown abort on the instance. However, just preforming a recovery will allow you to backup as required.
SQL> recover database;
Media recovery complete.
SQL> exit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 – 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
C:UsersGary>rman target sys/passwd@db11g
Recovery Manager: Release 11.2.0.1.0 – Production on Thu Oct 31 20:44:15 2010
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
connected to target database: DB10G (DBID=3002158372, not open)
RMAN> backup datafile 1;
Starting backup at 06-DEC-10using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1channel ORA_DISK_1: SID=125 device type=DISK
channel ORA_DISK_1: starting compressed full datafile backup set
channel ORA_DISK_1: specifying datafile(s) in backup set
input datafile file number=00001 name=C:APPGARYORACLEPRODUCT10.2.0DB_1ORADATADB10GSYSTEM01.DBF
channel ORA_DISK_1: starting piece 1 at 31-OCT-13
channel ORA_DISK_1: finished piece 1 at 31-OCT-13
piece handle=C:APPGARYORACLEPRODUCT10.2.0DB_1FLASH_RECOVERY_AREADB10GBACKUPSET2010_12_06O1_MF_NNNDF_TAG20101206T204423_6HTCR810_.BKP tag=TAG20101206T204423 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:45
Finished backup at 31-OCT-13
Starting Control File and SPFILE Autobackup at 31-OCT-13
piece handle=C:APPGARYORACLEPRODUCT10.2.0DB_1FLASH_RECOVERY_AREADB10GAUTOBACKUP2010_12_06O1_MF_S_737066556_6HTCSQVF_.BKP comment=NONE
Finished Control File and SPFILE Autobackup at 31-OCT-13
RMAN> exit
Interestingly, even with the recovery performed, we cannot switch back to archivelog mode without a clean shutdown.
SQL> alter database archivelog;
alter database archivelog*
ERROR at line 1:ORA-00265: instance recovery required, cannot set ARCHIVELOG mode
SQL> recover database;
ORA-00283: recovery session canceled due to errors
ORA-00264: no recovery required
SQL> alter database archivelog;
alter database archivelog*
ERROR at line 1:ORA-00265: instance recovery required, cannot set ARCHIVELOG mode
So we’ll startup and shutdown again. You cannot use the force option since that still does not perform a normal shutdown and you’ll get the same error.
SQL> alter database open;
Database altered.
SQL> shutdown immediate;
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup mount;
ORACLE instance started.
Total System Global Area 1235959808 bytes
Fixed Size 2175288 bytes
Variable Size 620760776 bytes
Database Buffers 603979776 bytes
Redo Buffers 9043968 bytes
Database mounted.
SQL> alter database archivelog;
Database altered.
SQL> alter database open;
Database altered. -
Bridge does not make a backup copy
Evening
I was about to do a backup of my images and while I was looking at them, that although I had selected Bridge to make a backup copy and specified a directory it do not do that.
I have run many trials trying to get it to write a backup but it does't
When I start the download from my CF card I set the paramaters and options which in this case is simply rename to shot date and make a backup copy.
The progress window says it is copying the image it then switches to say it is making a backup copy. But yet that backup copy never appears.
I managed to get a bunch of screen snapshots and it appears Bridge is making a copy but it is simply writing it to the primary directory, same as the first copy so it is merely overwriting itself. I know this because when it says making Backup Copy it shows the destination directory which is the same as the first copy. I check the directory I specified for the backup and it says D:\images\raw but still puts them in C:\-----
Any ideas why Bridge is not placing a backup copy where I want it?
Using CS3K T wrote:
Check your email.
I was hoping to learn something here.
I suspect that it does not matter whether IBA runs on a desktop or a laptop, but I don't know everything, and I was hoping that you might know something I don't and might be willing to share it. But, apparently not.
You're not capable of knowing if you are using a desktop or laptop?
That's a rather insulting question, don't you think? Instead of asking leading questions, why don't you just simply say "well, if it's a laptop, the problem might this whereas, if it's a desktop, the problem might be that"?
At any rate, my take on the situation is that it doesn't matter whether it's a laptop or a desktop. If you disagree, I'd love to hear why it might matter, and I'll be happy to stand corrected.
Michi.
<Edited By Host> -
Rman backup on physical standby database without cancelling MRP
Hi all,
Could anyone share, is this possible to take RMAN backup on physical standby database without cancelling MRP process.
regarrds,Hi,
On Standby Side:
SQL> alter database mount;
Database altered.
SQL> alter database recover managed standby database using current logfile disconnect from session;
Database altered.
SQL> select max(Sequence#) from v$archived_log;
MAX(SEQUENCE#)
405
SQL> select max(Sequence#) from v$archived_log where applied='YES';
MAX(SEQUENCE#)
404
SQL> exit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
[oracle@oel62-x64 Desktop]$ rman target /
Recovery Manager: Release 11.2.0.3.0 - Production on Tue May 21 15:31:43 2013
Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.
connected to target database: ADMDB (DBID=4063877183, not open)
RMAN> backup database plus archivelog delete all input;
Starting backup at 21-MAY-13
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=32 device type=DISK
channel ORA_DISK_1: starting archived log backup set
channel ORA_DISK_1: specifying archived log(s) in backup set
input archived log thread=1 sequence=390 RECID=391 STAMP=815416638
input archived log thread=1 sequence=391 RECID=392 STAMP=815421952
input archived log thread=1 sequence=392 RECID=393 STAMP=815422343
input archived log thread=1 sequence=393 RECID=394 STAMP=815422434
input archived log thread=1 sequence=394 RECID=395 STAMP=815422570
input archived log thread=1 sequence=395 RECID=396 STAMP=815476598
input archived log thread=1 sequence=396 RECID=397 STAMP=815476615
input archived log thread=1 sequence=397 RECID=398 STAMP=815476645
input archived log thread=1 sequence=398 RECID=399 STAMP=815477471
input archived log thread=1 sequence=399 RECID=400 STAMP=815477475
input archived log thread=1 sequence=400 RECID=401 STAMP=815477628
input archived log thread=1 sequence=401 RECID=403 STAMP=815584146
input archived log thread=1 sequence=402 RECID=402 STAMP=815584137
input archived log thread=1 sequence=403 RECID=405 STAMP=816017446
*input archived log thread=1 sequence=404 RECID=404 STAMP=816017444*
*input archived log thread=1 sequence=405 RECID=406 STAMP=816017455*
channel ORA_DISK_1: starting piece 1 at 21-MAY-13
channel ORA_DISK_1: finished piece 1 at 21-MAY-13
piece handle=/u01/app/oracle/fast_recovery_area/stldb/STLDB/backupset/2013_05_21/o1_mf_annnn_TAG20130521T153202_8spm937d_.bkp tag=TAG20130521T153202 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:07
channel ORA_DISK_1: deleting archived log(s)
archived log file name=/u01/app/oracle/fast_recovery_area/stldb/STLDB/archivelog/2013_05_14/o1_mf_1_390_8s48hfrp_.arc RECID=391 STAMP=815416638
archived log file name=/u01/app/oracle/fast_recovery_area/stldb/STLDB/archivelog/2013_05_14/o1_mf_1_391_8s4fohwb_.arc RECID=392 STAMP=815421952
archived log file name=/u01/app/oracle/fast_recovery_area/stldb/STLDB/archivelog/2013_05_14/o1_mf_1_392_8s4g1q0v_.arc RECID=393 STAMP=815422343
archived log file name=/u01/app/oracle/fast_recovery_area/stldb/STLDB/archivelog/2013_05_14/o1_mf_1_393_8s4g4l8z_.arc RECID=394 STAMP=815422434
archived log file name=/u01/app/oracle/fast_recovery_area/stldb/STLDB/archivelog/2013_05_14/o1_mf_1_394_8s4g8t9h_.arc RECID=395 STAMP=815422570
archived log file name=/u01/app/oracle/fast_recovery_area/stldb/STLDB/archivelog/2013_05_15/o1_mf_1_395_8s631622_.arc RECID=396 STAMP=815476598
archived log file name=/u01/app/oracle/fast_recovery_area/stldb/STLDB/archivelog/2013_05_15/o1_mf_1_396_8s631qjj_.arc RECID=397 STAMP=815476615
archived log file name=/u01/app/oracle/fast_recovery_area/stldb/STLDB/archivelog/2013_05_15/o1_mf_1_397_8s632od8_.arc RECID=398 STAMP=815476645
archived log file name=/u01/app/oracle/fast_recovery_area/stldb/STLDB/archivelog/2013_05_15/o1_mf_1_398_8s63whqc_.arc RECID=399 STAMP=815477471
archived log file name=/u01/app/oracle/fast_recovery_area/stldb/STLDB/archivelog/2013_05_15/o1_mf_1_399_8s63wly4_.arc RECID=400 STAMP=815477475
archived log file name=/u01/app/oracle/fast_recovery_area/stldb/STLDB/archivelog/2013_05_15/o1_mf_1_400_8s641d8j_.arc RECID=401 STAMP=815477628
archived log file name=/u01/app/oracle/fast_recovery_area/stldb/STLDB/archivelog/2013_05_16/o1_mf_1_401_8s9d21jk_.arc RECID=403 STAMP=815584146
archived log file name=/u01/app/oracle/fast_recovery_area/stldb/STLDB/archivelog/2013_05_16/o1_mf_1_402_8s9d1skv_.arc RECID=402 STAMP=815584137
archived log file name=/u01/app/oracle/fast_recovery_area/stldb/STLDB/archivelog/2013_05_21/o1_mf_1_403_8spm6p4h_.arc RECID=405 STAMP=816017446
archived log file name=/u01/app/oracle/fast_recovery_area/stldb/STLDB/archivelog/2013_05_21/o1_mf_1_404_8spm6mqj_.arc RECID=404 STAMP=816017444
RMAN-08137: WARNING: archived log not deleted, needed for standby or upstream capture process
archived log file name=/u01/app/oracle/fast_recovery_area/stldb/STLDB/archivelog/2013_05_21/o1_mf_1_405_8spm6yg0_.arc thread=1 sequence=405
Finished backup at 21-MAY-13
Starting backup at 21-MAY-13
using channel ORA_DISK_1
channel ORA_DISK_1: starting full datafile backup set
channel ORA_DISK_1: specifying datafile(s) in backup set
input datafile file number=00001 name=/u01/app/oracle/oradata/stldb/system01.dbf
input datafile file number=00002 name=/u01/app/oracle/oradata/stldb/sysaux01.dbf
input datafile file number=00005 name=/u01/app/oracle/oradata/stldb/example01.dbf
input datafile file number=00003 name=/u01/app/oracle/oradata/stldb/undotbs01.dbf
input datafile file number=00006 name=/u01/app/oracle/oradata/stldb/appdata01.dbf
input datafile file number=00004 name=/u01/app/oracle/oradata/stldb/users01.dbf
channel ORA_DISK_1: starting piece 1 at 21-MAY-13
channel ORA_DISK_1: finished piece 1 at 21-MAY-13
piece handle=/u01/app/oracle/fast_recovery_area/stldb/STLDB/backupset/2013_05_21/o1_mf_nnndf_TAG20130521T153213_8spm9fnc_.bkp tag=TAG20130521T153213 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:02:15
channel ORA_DISK_1: starting full datafile backup set
channel ORA_DISK_1: specifying datafile(s) in backup set
including current control file in backup set
including current SPFILE in backup set
channel ORA_DISK_1: starting piece 1 at 21-MAY-13
channel ORA_DISK_1: finished piece 1 at 21-MAY-13
piece handle=/u01/app/oracle/fast_recovery_area/stldb/STLDB/backupset/2013_05_21/o1_mf_ncsnf_TAG20130521T153213_8spmfqxf_.bkp tag=TAG20130521T153213 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:03
Finished backup at 21-MAY-13
Starting backup at 21-MAY-13
using channel ORA_DISK_1
specification does not match any archived log in the repository
backup cancelled because there are no files to backup
Finished backup at 21-MAY-13
RMAN> exit
Recovery Manager complete.
[oracle@oel62-x64 Desktop]$ sqlplus / as sysdba
SQL*Plus: Release 11.2.0.3.0 Production on Tue May 21 15:34:42 2013
Copyright (c) 1982, 2011, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> select max(Sequence#) from v$archived_log;
MAX(SEQUENCE#)
405
SQL> select max(Sequence#) from v$archived_log where applied='YES';
MAX(SEQUENCE#)
404
SQL> There have no problem, backup database when MRP is running. But if you want delete, then you are getting RMAN-08137: WARNING: archived log not deleted, needed for standby or upstream capture process.
And will not delete this archived log, because it is needed for standby or upstream capture process.
Updated
When MRP stoped
SQL> alter database recover managed standby database cancel;
Database altered.
SQL> exit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
[oracle@oel62-x64 Desktop]$ rman target /
Recovery Manager: Release 11.2.0.3.0 - Production on Tue May 21 15:46:07 2013
Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.
connected to target database: ADMDB (DBID=4063877183, not open)
RMAN> backup database plus archivelog delete all input;
Starting backup at 21-MAY-13
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=24 device type=DISK
channel ORA_DISK_1: starting archived log backup set
channel ORA_DISK_1: specifying archived log(s) in backup set
input archived log thread=1 sequence=405 RECID=406 STAMP=816017455
channel ORA_DISK_1: starting piece 1 at 21-MAY-13
channel ORA_DISK_1: finished piece 1 at 21-MAY-13
piece handle=/u01/app/oracle/fast_recovery_area/stldb/STLDB/backupset/2013_05_21/o1_mf_annnn_TAG20130521T154617_8spn3s9w_.bkp tag=TAG20130521T154617 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:01
channel ORA_DISK_1: deleting archived log(s)
archived log file name=/u01/app/oracle/fast_recovery_area/stldb/STLDB/archivelog/2013_05_21/o1_mf_1_405_8spm6yg0_.arc RECID=406 STAMP=816017455
Finished backup at 21-MAY-13
Starting backup at 21-MAY-13
using channel ORA_DISK_1
channel ORA_DISK_1: starting full datafile backup set
channel ORA_DISK_1: specifying datafile(s) in backup set
input datafile file number=00001 name=/u01/app/oracle/oradata/stldb/system01.dbf
input datafile file number=00002 name=/u01/app/oracle/oradata/stldb/sysaux01.dbf
input datafile file number=00005 name=/u01/app/oracle/oradata/stldb/example01.dbf
input datafile file number=00003 name=/u01/app/oracle/oradata/stldb/undotbs01.dbf
input datafile file number=00006 name=/u01/app/oracle/oradata/stldb/appdata01.dbf
input datafile file number=00004 name=/u01/app/oracle/oradata/stldb/users01.dbf
channel ORA_DISK_1: starting piece 1 at 21-MAY-13
channel ORA_DISK_1: finished piece 1 at 21-MAY-13
piece handle=/u01/app/oracle/fast_recovery_area/stldb/STLDB/backupset/2013_05_21/o1_mf_nnndf_TAG20130521T154618_8spn3v4f_.bkp tag=TAG20130521T154618 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:01:16
channel ORA_DISK_1: starting full datafile backup set
channel ORA_DISK_1: specifying datafile(s) in backup set
including current control file in backup set
including current SPFILE in backup set
channel ORA_DISK_1: starting piece 1 at 21-MAY-13
channel ORA_DISK_1: finished piece 1 at 21-MAY-13
piece handle=/u01/app/oracle/fast_recovery_area/stldb/STLDB/backupset/2013_05_21/o1_mf_ncsnf_TAG20130521T154618_8spn6779_.bkp tag=TAG20130521T154618 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:03
Finished backup at 21-MAY-13
Starting backup at 21-MAY-13
using channel ORA_DISK_1
specification does not match any archived log in the repository
backup cancelled because there are no files to backup
Finished backup at 21-MAY-13
RMAN> Apply process is stopped and new redo received from primary.
SQL> select max(Sequence#) from v$archived_log;
MAX(SEQUENCE#)
407
SQL> select max(Sequence#) from v$archived_log where applied='YES';
MAX(SEQUENCE#)
405
SQL> exit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
[oracle@oel62-x64 Desktop]$ rman target /
Recovery Manager: Release 11.2.0.3.0 - Production on Tue May 21 15:49:28 2013
Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.
connected to target database: ADMDB (DBID=4063877183, not open)
RMAN> backup database plus archivelog delete all input;
Starting backup at 21-MAY-13
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=32 device type=DISK
channel ORA_DISK_1: starting archived log backup set
channel ORA_DISK_1: specifying archived log(s) in backup set
input archived log thread=1 sequence=406 RECID=407 STAMP=816018527
input archived log thread=1 sequence=407 RECID=408 STAMP=816018530
channel ORA_DISK_1: starting piece 1 at 21-MAY-13
channel ORA_DISK_1: finished piece 1 at 21-MAY-13
piece handle=/u01/app/oracle/fast_recovery_area/stldb/STLDB/backupset/2013_05_21/o1_mf_annnn_TAG20130521T154937_8spnb1y3_.bkp tag=TAG20130521T154937 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:01
channel ORA_DISK_1: deleting archived log(s)
RMAN-08137: WARNING: archived log not deleted, needed for standby or upstream capture process
archived log file name=/u01/app/oracle/fast_recovery_area/stldb/STLDB/archivelog/2013_05_21/o1_mf_1_406_8spn8hkn_.arc thread=1 sequence=406
RMAN-08137: WARNING: archived log not deleted, needed for standby or upstream capture process
archived log file name=/u01/app/oracle/fast_recovery_area/stldb/STLDB/archivelog/2013_05_21/o1_mf_1_407_8spn8l69_.arc thread=1 sequence=407
Finished backup at 21-MAY-13
Starting backup at 21-MAY-13
using channel ORA_DISK_1
channel ORA_DISK_1: starting full datafile backup set
channel ORA_DISK_1: specifying datafile(s) in backup set
input datafile file number=00001 name=/u01/app/oracle/oradata/stldb/system01.dbf
input datafile file number=00002 name=/u01/app/oracle/oradata/stldb/sysaux01.dbf
input datafile file number=00005 name=/u01/app/oracle/oradata/stldb/example01.dbf
input datafile file number=00003 name=/u01/app/oracle/oradata/stldb/undotbs01.dbf
input datafile file number=00006 name=/u01/app/oracle/oradata/stldb/appdata01.dbf
input datafile file number=00004 name=/u01/app/oracle/oradata/stldb/users01.dbf
channel ORA_DISK_1: starting piece 1 at 21-MAY-13
channel ORA_DISK_1: finished piece 1 at 21-MAY-13
piece handle=/u01/app/oracle/fast_recovery_area/stldb/STLDB/backupset/2013_05_21/o1_mf_nnndf_TAG20130521T154939_8spnb3f5_.bkp tag=TAG20130521T154939 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:01:15
channel ORA_DISK_1: starting full datafile backup set
channel ORA_DISK_1: specifying datafile(s) in backup set
including current control file in backup set
including current SPFILE in backup set
channel ORA_DISK_1: starting piece 1 at 21-MAY-13
channel ORA_DISK_1: finished piece 1 at 21-MAY-13
piece handle=/u01/app/oracle/fast_recovery_area/stldb/STLDB/backupset/2013_05_21/o1_mf_ncsnf_TAG20130521T154939_8spndhly_.bkp tag=TAG20130521T154939 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:03
Finished backup at 21-MAY-13
Starting backup at 21-MAY-13
using channel ORA_DISK_1
specification does not match any archived log in the repository
backup cancelled because there are no files to backup
Finished backup at 21-MAY-13
RMAN> I think, codes is understandable.
Regard
Mahir M. Quluzade
Edited by: Mahir M. Quluzade on May 21, 2013 3:36 PM
Maybe you are looking for
-
Hello everyone. I have been having some issues at one of my clients where content will distribute, but cannot be deployed. This is a new ConfigMgr 2012 SP1 CU1 install, on Server 2012 and SQL Server 2012 SP1. Single server, single site. DP and MP
-
HT201441 i cant find the person who sold this iphone to me, and now i cant activate it
i cant find the person who sold my iphone 5 to me now i cant activate it because it is still activated to his apple id
-
Mac OSX SUS - Why aren't the latest updates offered for some software
For instance, on my sus, Quicktime 7.6.4 is the latest version offered for leopard. 7.6.6 is available on Apple's site. Is there actually a 7.6.6 update others can see on their sus, or is this a universal issue - and why aren't the latest updates ava
-
Getting this error message as of this morning: The version of iOS on "iPad" does not match any of the versions of iOS supported for development with this installation of the iOS SDK. Please restore the device to a version of the OS listed below, or u
-
Dear Friends can anybody please tell me how to carry forward open documents like purchase orders , sales orders , Invoices etc to next financial year without closing the current financial year. warm regards anand