RMAN cold backup without shuting down R12 application services?
Hi,
Due to some reasons I can't shutdown appstier bcz every time I have to regenrate JAR files.I want to take RMAN cold database backup with stopping all services or I want to shutdown only concurrent manager(adcmctl stop) and apps listener(adalnctl.sh stop).Please comment if this is workable.
Thanks
M Latif
Hi Latif;
Due to some reasons I can't shutdown appstier bcz every time I have to regenrate JAR files.I want to take RMAN cold database backup with stopping all services or I want to shutdown only concurrent manager(adcmctl stop) and apps listener(adalnctl.sh stop).Please comment if this is workable.Why tou are generate Jar files? What is your reason? RMAN=hotbackup means you dont need to shutdown db or apps. For our client we never close appstier while we are taking RMAN backup
Regard
Helios
Similar Messages
-
Getting an error when trying to shut down R12 application.
when trying to shut down R12 application getting the below mentioned error.
adstpall.sh: Database connection could not be established. Either the database is down or the APPS credentials supplied are wrong.
As per previous thread checked the database and its listener is up and running. Also , Application listener is up and running.
Kindly revert at the earliest.
Regards,
Fahim.Hi,
Database and listener are up and running...
Exact error message : Invalid Application Username, Password Or Database "Username:APPLSYSPUB"
error in the log file :
Errors in file /t06/app/oratest/diag/rdbms/test/TEST/trace/TEST_arc1_18889.trc:
ORA-19815: WARNING: db_recovery_file_dest_size of 75161927680 bytes is 99.67% used, and has 251000320 remaining bytes available.
You have following choices to free up space from recovery area:
1. Consider changing RMAN RETENTION POLICY. If you are using Data Guard,
then consider changing RMAN ARCHIVELOG DELETION POLICY.
2. Back up files to tertiary device such as tape using RMAN
BACKUP RECOVERY AREA command.
3. Add disk space and increase db_recovery_file_dest_size parameter to
reflect the new space.
4. Delete unnecessary files using RMAN DELETE command. If an operating
system command was used to delete files, then use RMAN CROSSCHECK and
DELETE EXPIRED commands.
Regards,
Fahim. -
Is it possible to take a full backup without shutting down an instance?(10g
Hi. everyone.
Is it possible to take a full backup without shutting down an instance?
The db version is 10gr2.
As far as I know, in order to take a full backup of a database,
one need to shutdown a database.
Our db environment is a RAC environment which has two nodes.
Yesterday, I heard from a hardware vendor that we do not need to shutdown
instances(2-nodes) in order to take a full backup.
Best Regards.Hi,
>>As far as I know, in order to take a full backup of a database, one need to shutdown a database.
In fact, a database operating in NOARCHIVELOG mode is necessary to shutdown the database in order to perform a full backup (Cold Backup), but otherwise a database that is operating in ARCHIVELOG mode, then is possible to perform a full database backup with the database in a open state. (Hot Backup)
For more information see if these links below can help you:
Oracle Backup and Recovery
http://www.oracle.com/technology/deploy/availability/htdocs/BR_Overview.htm
Oracle Backup and Recovery FAQ
http://orafaq.com/faqdbabr.htm
Cheers -
We are upgrading our production database in 2 weeks. We will be using datapump to export the source and then import to the new target database. As a final backup before the source export I want an RMAN cold backup to get a consistent point-in-time backup. The database is in archivelog mode. After shutting down and using RMAN to perform the cold backup, I will have to open the database to do the export. So how would RMAN restore the production source database back to the time the database was down if additional archive logs are generated during the export? Would I have to specify a time or SCN or would I have SCN gap issues in the recovery of the source database? This is for the source database that will no longer be used once the import to the target and subsequent ERP upgrades are applied. However, I need to preserve the source for a month or so. I could also continue to take hot RMAN backups after the export is completed, but I need the point-in-time recovery to the exact time of the export. I currently only use online RMAN backups since this is a 24/7 database, but I have a short window to upgrade to the new production database.
Thank you,
Curt Swartzlander
DBA>
Would I have to specify a time or SCN or would I have SCN gap issues in the recovery of the source database? TTo do an incomplete recovery with RMAN requires to specify a date/time or SCN or log sequence because by default RMAN will try to do complete recovery: http://download.oracle.com/docs/cd/B19306_01/backup.102/b14194/rcmsynta065.htm#RCMRF160
Edited by: P. Forstmann on 25 janv. 2010 18:32
Edited by: P. Forstmann on 25 janv. 2010 18:34 -
Clonning using RMAN Cold Backup?
Hi,
I have a COLD RMAN backup in prod server and now i want to clone test db using this backup through RMAN. I have 2 question regarding this
1) Where do i need to place the prod RMAN COLD backup files in test server?
2) If i ran below command how RMAN will know where did i placed the backup in test server?
In Test Server
RMAN> duplicate target database to test;DB Version is : 10.2.0.4
Thanks in advancethanks. Now it is unable to restore the datafiles from rman backup.Below steps i tried.
[oracle@Test test1]$ rman target /
Recovery Manager: Release 10.2.0.4.0 - Production on Tue Feb 21 08:58:46 2012
Copyright (c) 1982, 2007, Oracle. All rights reserved.
connected to target database (not started)
RMAN> startup nomount pfile='/u01/app/oracle/product/10.2.0/db_1/dbs/initprod2.ora';
Oracle instance started
Total System Global Area 603979776 bytes
Fixed Size 1268896 bytes
Variable Size 163578720 bytes
Database Buffers 436207616 bytes
Redo Buffers 2924544 bytes
RMAN> restore controlfile from '/u01/app/oracle/product/10.2.0/backup/test1/21_RMAN_BACKUP_08n3s02u_1_1.bak';
Starting restore at 21-FEB-12
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=156 devtype=DISK
channel ORA_DISK_1: restoring control file
channel ORA_DISK_1: restore complete, elapsed time: 00:00:05
output filename=/u01/app/oracle/product/10.2.0/oradata/test1/control01.ctl
output filename=/u01/app/oracle/product/10.2.0/oradata/test1/control02.ctl
output filename=/u01/app/oracle/product/10.2.0/oradata/test1/control03.ctl
Finished restore at 21-FEB-12
RMAN> alter database mount;
database mounted
released channel: ORA_DISK_1
RMAN> catalog start with '/u01/app/oracle/product/10.2.0/backup/test1';
Starting implicit crosscheck backup at 21-FEB-12
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=156 devtype=DISK
Crosschecked 3 objects
Finished implicit crosscheck backup at 21-FEB-12
Starting implicit crosscheck copy at 21-FEB-12
using channel ORA_DISK_1
Finished implicit crosscheck copy at 21-FEB-12
searching for all files in the recovery area
cataloging files...
no files cataloged
searching for all files that match the pattern /u01/app/oracle/product/10.2.0/backup/test1
List of Files Unknown to the Database
=====================================
File Name: /u01/app/oracle/product/10.2.0/backup/test1/21_RMAN_BACKUP_07n3rvvq_1_1.bak
File Name: /u01/app/oracle/product/10.2.0/backup/test1/21_RMAN_BACKUP_08n3s02u_1_1.bak
Do you really want to catalog the above files (enter YES or NO)? yes
cataloging files...
cataloging done
List of Cataloged Files
=======================
File Name: /u01/app/oracle/product/10.2.0/backup/test1/21_RMAN_BACKUP_07n3rvvq_1_1.bak
File Name: /u01/app/oracle/product/10.2.0/backup/test1/21_RMAN_BACKUP_08n3s02u_1_1.bak
RMAN>
RMAN> restore database;
Starting restore at 21-FEB-12
using channel ORA_DISK_1
channel ORA_DISK_1: starting datafile backupset restore
channel ORA_DISK_1: specifying datafile(s) to restore from backup set
restoring datafile 00001 to /u01/app/oracle/oradata/prod2/system.dbf
restoring datafile 00002 to /u01/app/oracle/oradata/prod2/usr04.dbf
restoring datafile 00003 to /u01/app/oracle/oradata/prod2/undo.dbf
restoring datafile 00004 to /u01/app/oracle/oradata/prod2/sysaux.dbf
restoring datafile 00005 to /u01/app/oracle/oradata/prod2/p1_01.dbf
restoring datafile 00006 to /u01/app/oracle/oradata/prod2/p2_01.dbf
channel ORA_DISK_1: reading from backup piece /u01/app/oracle/product/10.2.0/backup/test1/21_RMAN_BACKUP_07n3rvvq_1_1.bak
ORA-19870: error reading backup piece /u01/app/oracle/product/10.2.0/backup/test1/21_RMAN_BACKUP_07n3rvvq_1_1.bak
ORA-19504: failed to create file "/u01/app/oracle/oradata/prod2/system.dbf"
ORA-27040: file create error, unable to create file
Linux Error: 2: No such file or directory
failover to previous backup
creating datafile fno=1 name=/u01/app/oracle/oradata/prod2/system.dbf
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 02/21/2012 09:01:09
ORA-01180: can not create datafile 1
ORA-01110: data file 1: '/u01/app/oracle/oradata/prod2/system.dbf' -
User managed coldbkp vs rman cold backup
Hi,
I confused about rman cold backup in no catalog mode while restore the backup.please anyone clarify it.
1,I am not confused about user manged cold backup.I took the backup (spfile,control file,redo file,datafile,password file.)Is it right one?
2,In rman cold backup in no catalog mod, we used backup sets for backup,control file is autobackup is enabled.
The backup set format is not OS format.The backup stored at flash recovery area.
Just assume,
I lost all files(spfile,control file,redo file,datafile,password file.)How to recover that.
I am not able to identity spfile & control file in backupset in flash recovery area.
How to identity the spfile,control file during the restoration?
3,Rman takes the copy of online redo file in cold backup?
If it's not,How to recover the database & in user managed backup,copy of online redo log file is must?
4,What is the difference between dbid & sid?when it is used?
5,Can i specifty format for spfile when i take the backup? can i use trace file(control file ) for restoration?
I read the oracle documents, but I am not understand the above things clearly.please anyone rectify it.user3266490 wrote:
Hi,
I confused about rman cold backup in no catalog mode while restore the backup.please anyone clarify it.
1,I am not confused about user manged cold backup.I took the backup (spfile,control file,redo file,datafile,password file.)Is it right one?
Yes,you are right,but first need SHUTDOWN IMMEDIATE;
>
2,In rman cold backup in no catalog mod, we used backup sets for backup,control file is autobackup is enabled.
The backup set format is not OS format.The backup stored at flash recovery area.
If you do not explicitly configured rman then yes it will backup to FRA.
Just assume,
I lost all files(spfile,control file,redo file,datafile,password file.)How to recover that.
First need SET (EXPORT) ORACLE_SID and then
rman target /
startup force nomount;
restore spfile from 'autobackuplocation';
startup force nomount;
restore controlfile from 'autobackuplocation';
catalog start with 'backupandarchiveloglocation';
restore database;
recover database;
alter database open resetlogs;
I am not able to identity spfile & control file in backupset in flash recovery area.
From rman you can execute LIST BACKUP or LIST BACKUP OF CONTROLFILE;
How to identity the spfile,control file during the restoration?
3,Rman takes the copy of online redo file in cold backup?No,RMAN do not backup online logs,due to this do not need.
If it's not,How to recover the database & in user managed backup,copy of online redo log file is must?
If cold backup then you can open database with resetlogs option and online logs will create automatically(if you did not copy this logs)
>
4,What is the difference between dbid & sid?when it is used?
DBID is unique identify database in recovery catalog and using this you can restore controlfile easily.But SID is ORACLE_SID and identify instance.This is environment variable like ORACLE_HOME
5,Can i specifty format for spfile when i take the backup? can i use trace file(control file ) for restoration?
Yes you can identify format manually for spfile. ALTER DATABASE BACKUP CONTROLFILE TO TRACE ... this statement use to getting script for recreating controlfile again.So this is not backup and you can notuse for restoring controlfile.If you do not have a backup of controlfile and all datafilesd available then you can use this statement.
I read the oracle documents, but I am not understand the above things clearly.please anyone rectify it.All these and with all situation clearly explained below doc
http://download.oracle.com/docs/cd/E11882_01/backup.112/e10642/toc.htm -
i have ios5 on iphone 4, but it makes iphone too much slower, release update to improve phone speed, when i touch home button, it have slower reaction, too while i scroll in menu and shuting down the applications, infinity blade is frozing during video game parts and during playing its 3 or 4x slower reactions, make update for ios5 please,
- reminders are ok
- camera- perfect
- newstand - perfect
- icloud tooHi
I have a iPhone 4S this is not siri it is actally something to help those who have some sort of disability by reading the screen you can disable this by going to general then go to the bottom to accessability
Hope this helps you -
Shutdown CRS without shuting down database?
hi forum
It's all know that if I shutdown the CRS, the CRS daemon will shutdown the database as part of it shutdown procedure.
How can I shutdown the CRS without shuting down the database ?
Thank you for your time.hi all
I have found the solution:
follow steps below:
1) use crs_stop to stop the database resource
2) use srvctl remove to remove the database
3) startup the database
Now the database is not under control of the CRS.
You can later use srvctl add database back to the CRS if you want the CRS manages the database for you.
Thanks for your time. -
RMAN Restore using RMAN COLD Backup!!
Hi All,
I Need to restore a database using rman cold backup taken a month back.
Can i use Duplicate database option until time/scn just like we do for hotbackup or is there any other procedure for cloning/refreshing the database using RMAN COLD BACKUP of source.
Thanks & Regards,
PdevThis may be used to clone db
connect target sys/sys@<dba>
connect catalog rman/rman@<dba>
connect auxiliary sys/sys<new>
run {
set newname for datafile 1 to 'e:\oracle\oradata\giri\system01.dbf';
set newname for datafile 2 to 'e:\oracle\oradata\giri\undotbs01.dbf';
set newname for datafile 3 to 'e:\oracle\oradata\giri\users01.dbf';
set newname for datafile 4 to 'e:\oracle\oradata\giri\indx01.dbf';
set newname for datafile 5 to 'e:\oracle\oradata\giri\example01.dbf';
allocate auxiliary channel dupdb1 type disk;
set until sequence 2 thread 1;
duplicate target database to dupdb
logfile
GROUP 1 ('e:\oracle\oradata\giri\redo01.log') SIZE 100k REUSE,
GROUP 2 ('e:\oracle\oradata\giri\redo02.log') SIZE 100k REUSE;
Message was edited by:
Girishh -
How to I find out if rman backup that was done is Rman Cold backup or Rman
Hi,please help me I have backup set ,that is backupset that have rman data backup and autobackup that have control file,I want to restore this backup but I don't know how the backup was done .please advice me how to check if this was Rman cold backup or rman hot backup.I have pfile that is extracted from database before backup was taken.
Hi Thanks for the update,I checked the v$backup_set on the other database ,but it does not tell me whether ithe backup was Rman cold backup in which database was mounted or Rman hot backup ,now I have to do the restore but I don't know what type of backup do I have please assist.
Edited by: user1022397 on 2010/11/11 4:40 AM -
DB version :10.2.0.4
Do you find anything wrong in the below mentioned RMAN cold backup script? Any enhancements, corrections required?
shutdown immediate;
startup mount;
backup database including current controlfile tag='full_bkp';
startup;
crosscheck backup;
delete noprompt obsolete device type disk;
resync catalog;
}Since you are doing a SHUTDOWN IMMEDIATE and STARTUP MOUNT before the BACKUP, there will be no ArchiveLogs generated while the backup is running --- as the database is not OPEN.
However, the PLUS ARCHIVELOG can include ArchiveLogs that had been generated from the previous STARTUP or ALTER DATABASE OPEN.
(In that case, I would suggest an SQL 'ALTER SYSTEM ARCHIVE LOG CURRENT' before the SHUTDOWN IMMEDIATE).
Is your database running in ARCHIVELOG mode ? If not, then this discussion is moot.
If yes, the next question is, obviously : Why not take a Hot Backup while the database is running (in which case you MUST backup archivelogs !)
Hemant K Chitale -
RMAN cold backup taking more time than usual
Hi everybody.. please help me resolving below issue..
I have configured the RMAN in one of the production database with separate catalogue database six months earlier. I have sceduled weekly cold backup through RMAN on sunday 6pm. Normally it used to take one hour to complete the cold backup and database goes down soon as the job starts.
But since from then every week the time taken to just initiate the database shutdown continuosly increasing and recently when i checked it is taking 1 hour to initiate the database shutdown. Once the initiation starts it hardly take 1 to 3 min to shutdown.
Database is up and running during that one Hour. I was in the assumption that RMAN takes some time to execute its internal packages.
Please help
Regards,
Arun KumarHi John and Tychos,
Thank you very much for your valuable inputs.
Yesterday there was cold backup and i have monitored the CPU usage. But there was no load on the CPU at that time and CPU usage was 0%
I have tried connecting to RMAN manually and it connects within a second. And also noticed in prstat -a that rman connects as soon as the job starts.
So i think that its taking time at the deleting obsolete backups.
But I have observerd following observation.
Before executing the delete obsolete command as mentioned before
RMAN> REPORT OBSOLETE RECOVERY WINDOW OF 35 DAYS DEVICE TYPE 'SBT_TAPE';
Report of obsolete backups and copies
Type Key Completion Time Filename/Handle
Backup Set 83409 25-JUL-09
Backup Piece 83587 25-JUL-09 arc_SID_20090725_557_1
Backup Set 83410 25-JUL-09
Backup Piece 83588 25-JUL-09 arc_SID_20090725_558_1
Backup Set 83411 25-JUL-09
Backup Piece 83589 25-JUL-09 arc_SID_20090725_559_1
After executing the delete obsolete command
RMAN> REPORT OBSOLETE RECOVERY WINDOW OF 35 DAYS DEVICE TYPE 'SBT_TAPE';
Report of obsolete backups and copies
Type Key Completion Time Filename/Handle
Backup Set 83409 25-JUL-09
Backup Piece 83587 25-JUL-09 arc_SID_20090725_557_1
Backup Set 83410 25-JUL-09
Backup Piece 83588 25-JUL-09 arc_SID_20090725_558_1
Backup Set 83411 25-JUL-09
Backup Piece 83589 25-JUL-09 arc_SID_20090725_559_1
Please advice me on the following.
1. Why its not deleting the obsolete BACKUP SETS?
2. Is it normal that RMAN takes this much deleting obsolete backup sets? How can i minimize the time taking for deleting obsolete files.
Thanks and Regards,
Arun Kumar -
Rman cold backup for oracle rac
Hi experts;
I want to create a cold backup for an oracle 10g rac DB.
It has 2 nodes, it's not in archive log, this will be the next step.
But now, I want to backup before to proceed.
My doubts are:
I need to shutdown the both nodes?
If yes:
I need to startup nomount just in one node?
If there any document with this specifics steps?
Thanks for your help.
AlCold backups are done with the DB completely shut down.
For RAC the data files are used by all nodes in the cluster.
You need to shut down all instances in the RAC.
Then use your OS utilities or RMAN to do the backup.
Here is an 'Ask Tom' topic that discusses this:
http://asktom.oracle.com/pls/apex/f?p=100:11:0::::P11_QUESTION_ID:851658400346232494 -
Create new database using rman cold backup
It oracle 10g database version 10.2.0.4
I took the cold backup of the database using rman ( Database name TEST)
1.RMAN> startup mount;
2.RMAN> backup database include current controlfile;
3.RMAN> alter database open;
I aim to create the new database called DEMO using this backup
Please let know the setps for creating new database
Edited by: prajeevan on Jan 19, 2011 9:09 PMI took the cold backup of the database using rman ( Database name TEST)
1.RMAN> startup mount;
2.RMAN> backup database include current controlfile;
3.RMAN> alter database open;
I aim to create the new database called DEMO using this backup
Please let know the setps for creating new databaseIf it is in archivelog mode you can use duplicate to refresh database DEMO from TEST..
or after cold backup, go to mount ,
create trace file of controlfile becuase you are chaning database name
recreate the controlfile
open database in resetlogs;
check also http://blogs.oracle.com/AlejandroVargas/gems/RMANDUPDBPRACTICE.pdf -
Restore cold backup without resetlogs option
Hi,
im using oracle 10.2.0 , i'm migrating database to SAN, how can i restore cold backup with noresetlogs.Hi pawan,
steps i will follow are as follows:
1. take backup of controlfile with noresetlogs.
SQL> database backup controlfile to trace noresetlogs;
2. Shut down the database, take cold backup(datafiles,redologfiles).
3. recreate the controlfile.
4. the open the database with noresetlogs
are the steps fine or need any changes.
Maybe you are looking for
-
During a Keynote presentation using a beamer (state of the art, build in the ceiling, but I was the visitor and don't know the brand or type) the signal was flickering (seconds on and off), while the beamer worked normal when I changed to the finder.
-
IOS4 with MS Exchange 2003 issue
Hi all, Yesterday I've updated my iPhone 3GS to iOS4. After the upgrade, I'm unable to use my email and agenda. With the iOS3, I received my messages, but after the upgrade it won't sync any more. I noticed that my "deleted items" and "send items" do
-
Printout of Closed / TECO Main Order
Dear Experts, I am trying to take printout of Closed / TECO Maintenance Order, but system is not allowing. We have not assign any User Status to maintenance order, only default system status assign in maintenance order. Pls advice. Thanks, Dipen
-
Port number for the application
Hi...i'm working on SMS apps... it's a peer2peer sms apps..and to send a message to the application in the other mobile...we need to specify the port number where the application located.... right now my apps is already able to send msg and received
-
Hi All, The following query is giving short dump when I am running in a report program. select objek atwrt into table i_dtc from ausp where objek in dd_kunnr and atinn = g_atinn. The internal table defnition is: begin of wa_d