database in backup mode
Hi guys,.If I put my database in backup mode and perform the backup (hotbackup / online) of the database.
When I need to do the restore, can I archive logs at all? (not necessary to recover to point in time) Can I restore data files and do an alter database open resetlogs?
The database will be inconsistent and cannot start without applying archive logs at all? as the data is not stopping when you perform the backup.
Thank you
You have to do it all again (i.e. the ArchiveLogs):
FROM: The time where the ALTER DATABASE BEGIN BACKUP (or the first ALTER TABLESPACE BEGIN BACKUP)
To: The first ArchiveLog after BACKUP END EDIT (or the last BACKUP END of ALTER TABLESPACE)
Therefore, you should always make ALTER SYSTEM ARCHIVE LOG CURRENT at the end of the backup mode and capture this archivelog in your backup.
The database will be inconsistent (and DOES not) until and unless you apply the redo (archived).
Hemant K Collette
Tags: Database
Similar Questions
-
What happens when the database in backup Mode?
Hello
What happens when we kept the database in backup mode, by using the command "Alter database Begin Backup" means;
Thank you...
ASITOK, now my query is whether Oracle freeze the data file header and information is stored in the log file of restoration by progression. So if my backup job continues for 30 min and at the same time someone did some update of database, then how these updates to the information written back to the data file after "Alter Database End Backup'.»
Oracle only blocks data file headers, no body. Modified blocks will be stored in data files (at control points) even in backup mode.
If checkpoint has not arrived yet after this update and validation, and DB has decreased, then when it will start it will redo-log automated recovery.Published by: user11181920 on Sep 21, 2012 11:54
-
What do I need to use the database shall begin backup mode to perform the backup?
Hi all
I have a primary database to 10g (10.2.0.4) with intelligence on a solaris platform. I need to create a different primary eve for the same database.
I stopped the recovery based on standby and began copy (copy of the os) the existing files pending at the 2nd backup server. But I didn't keep the (mounted) existing standby database into begin backup mode. Is this right?
Thank you
Arun
For a mounted database backup mode?
orclz >
orclz > startup mount
ORACLE instance started.
Total System Global Area 788529152 bytes
Bytes of size 3050600 fixed
373293976 variable size bytes
406847488 of database buffers bytes
Redo buffers 5337088 bytes
Mounted database.
orclz >
orclz > alter database begin backup;
ALTER database begin backup
*
ERROR on line 1:
ORA-01109: database is not open
orclz >
-
Hello!
I have v7 IBM AIX and cluster HACMP set up two identical nodes included
I have a head node after the installation of database using dbca I got error with the message:
ORA-01102: cannot mount database in EXCLUSIVE mode
Database cannot mount)
Here is the information from the alert log:
MON may 25 18:00:07 2015
Starting ORACLE instance (normal)
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
SNA system picked latch-free 3
With the help of LOG_ARCHIVE_DEST_1 parameter value by default as USE_DB_RECOVERY_FILE_DEST
Autotune undo retention is enabled.
IMODE = BR
ILAT = 84
LICENSE_MAX_USERS = 0
SYS audit is disabled
Commissioning:
Oracle Database 11 g Enterprise Edition Release 11.2.0.3.0 - 64 bit Production
With the options of partitioning, OLAP, Data Mining and Real Application Testing.
ORACLE_HOME = /u01/app/oracle/product/11.2.0/dbhome_1/
System name: nodename
Name of the node: nodename
Version: 1
Version: 7
Machine: 0003F6E5D600
Using the settings in /u01/app/oracle/product/11.2.0/dbhome_1/dbs/spfiletestdb.ora side Server spfile
Parameters of the system with default values:
process = 500
sessions = 772
= 18G memory_target
control_files = "/ ctl1/oradata/testdb/control01.ctl".
control_files = "/ ctl2/oradata/testdb/control02.ctl".
control_files = "/ ctl3/oradata/testdb/control03.ctl".
DB_BLOCK_SIZE = 8192
compatible = "11.2.0.0.0."
db_recovery_file_dest = ' / backup/fra.
db_recovery_file_dest_size = 100G
undo_tablespace = 'UNDOTBS1.
Remote_login_passwordfile = "EXCLUSIVE."
db_domain = «»
dispatchers = "(PROTOCOL=TCP) (SERVICE = testdbXDB)" "
audit_file_dest = ' / u01/app/oracle/admin/testdb/adump.
AUDIT_TRAIL = 'DB '.
db_name = 'testdb '.
open_cursors = 300
diagnostic_dest = ' / u01/app/oracle '.
MON may 25 18:00:08 2015
PMON started with pid = 2, OS id = 14418020
MON may 25 18:00:08 2015
PSP0 started with pid = 3, OS id = 17891420
MON may 25 18:00:09 2015
VKTM started with pid = 4, OS id = 14090348 high priority
VKTM clocked at (10) precision of milliseconds with DBRM quantum (100) ms
MON may 25 18:00:09 2015
GEN0 started with pid = 5, OS id = 9109714
MON may 25 18:00:09 2015
DIAG started with pid = 6, OS id = 16449704
MON may 25 18:00:09 2015
DBRM started with pid = 7, OS id = 17104928
MON may 25 18:00:10 2015
DIA0 started with pid = 8, OS id = 13303950
MON may 25 18:00:10 2015
MA started with pid = 9, OS id = 12517522
MON may 25 18:00:10 2015
DBW0 started with pid = 10, OS id = 11993232
MON may 25 18:00:10 2015
LGWR started with pid = 11, OS id = 15401010
MON may 25 18:00:10 2015
CKPT started with pid = 12, OS id = 6619318
MON may 25 18:00:10 2015
SMON started with pid = 13, OS id = 16515222
MON may 25 18:00:10 2015
RECCE has started with pid = 14, OS id = 13172906
MON may 25 18:00:10 2015
MMON started with pid = 15, OS id = 15794324
commissioning 1 dispatcher (s) for '(ADDRESS =(PARTIAL=YES) (PROTOCOL = TCP))' network address...
MON may 25 18:00:10 2015
MMNL started with pid = 16, OS id = 18546742
commissioning or shared server 1...
Environment ORACLE_BASE = / u01/app/oracle /.
MON may 25 18:00:11 2015
ALTER DATABASE MOUNT
sculkget: failed to lock /u01/app/oracle/product/11.2.0/dbhome_1//dbs/lkTESTDB exclusive
sculkget: lock held by PID: 3670226
ORA-09968: cannot lock file
IBM AIX RISC System/6000 error: 13: permission denied
Additional information: 3670226
ORA-1102 marked during: ALTER DATABASE MOUNT...
But if I install the darabase even dbca on node secondary, all installed and executed successfully.
But in the two nodes even permissions, user oracle and oinstall group ID identified the same and $ORACLE_BASE and $ORACLE_HOME user owner oracle and oinstall user group.
A someone has encountered this problem and solved?
Thanks in advance!
Hello
you are using IBM AIX PowerHA for your database (active/passive) configuration. then you just install the binaries 'once' on one of the nodes. then coordinate with your operating system administrator to configure the fail the test scenarios.
for your question. before you start the database, make sure that there are no "orphaned" oracle process using the UNIX grep command:
$ ps - ef | grep ora
Kill the oracle of the hanging of the process to release the lock on the database file handle:
$ kill-9
I hope this helps.
Kind regards
-
ALTER database begin backup question
Where can I check in the data dictionary to check whether a database is in backup mode? I thought this would be the database of v$, but when I check the docs, I see not listed.
http://docs.Oracle.com/CD/B13789_01/server.101/b10755/dynviews_1054.htmGuess2 wrote:
Where can I check in the data dictionary to check whether a database is in backup mode? I thought this would be the database of v$, but when I check the docs, I see not listed.http://docs.Oracle.com/CD/B13789_01/server.101/b10755/dynviews_1054.htm
Why are you still using the managed user backups?
-
Update and select ask when tablespace in backup mode
Hello
I have a question related to the DML statement when the tablespace is in backup mode. Suppose that when putting the tablespace in begin backup mode and then during user times run an update on this tablespace statement and validation of the transaction and any other user run the select query on the same data and image that will appear and where to display the data will be taken.
steps to follow:
alter tablespace users begin backup;
Update emp set sal = 4000 where empno = 101;
commit;
Select * from emp where empno = 101;
Now what result will appear and where data will get.
Thank you
GulshanHello
alter tablespace users begin backup; update emp set sal=4000 where empno=101; commit; select * from emp where empno=101;
As far as I KNOW, the database could function normally and you will not find the difference from the point of view of the transactions. If you check process and the Oracle architecture, bit blurry will be established towards the top and vectors to additional would be saved upward in the newspapers online redo - due to which size of redo would be higher than in normal operations. Second, you must be concerned about the backup - which may not be compatible. In order to better opt for RMAN instead of the user managed backups.
-Pavan Kumar N
-
Hi guys I have a couple of questiopns...
I want to know if data is written to the DBWR data files when the data file is starting in backup mode.
What is the difference in the creation of archive log during normal operation of a database and a database for the RMAN backup operating?user13087302 wrote:
Normally, Oracle should write that change in redolog files. But if the tablespace is in backup mode, then entire block will be set redolog as soon as this change is 1 took place on this block after activating the backup mode. Therefore, we log redo generation face massive if the tablespace in backup mode. So, logically you should be able to recover to the last CNS you have in hands.
What do you mean by the last SNA. Does the SNA before putting the tablespace in backup mode? Does present data in other files will be also lost, even if they are written in the data files...
PLS, look at:
SQL> create tablespace myts1 datafile 'C:\app\oracle\oradata\testdb\myts1.dbf' size 10m; Tablespace created. SQL> create tablespace myts2 datafile 'C:\app\oracle\oradata\testdb\myts2.dbf' size 10m; Tablespace created. SQL> create table myt1 tablespace myts1 as select * from dba_objects where rownum<10001; Table created. SQL> create table myt2 tablespace myts2 as select * from dba_objects where rownum<10001; Table created. SQL> alter tablespace myts1 begin backup; Tablespace altered. SQL> create table myt1_1 tablespace myts1 as select * from dba_objects where rownum<10001; Table created. SQL> create table myt2_1 tablespace myts2 as select * from dba_objects where rownum<10001; Table created. SQL> create table myt1_3 tablespace myts1 as select * from dba_objects where rownum<10001; Table created.
Backup database:
C:\Documents and Settings\Administrator>rman target / Recovery Manager: Release 11.2.0.1.0 - Production on Wed Nov 3 15:46:55 2010 Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved. connected to target database: TESTDB (DBID=2517263760) RMAN> backup database; Starting backup at 03-NOV-10 using target database control file instead of recovery catalog allocated channel: ORA_DISK_1 channel ORA_DISK_1: SID=44 device type=DISK 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=C:\APP\ORACLE\ORADATA\TESTDB\SYSTEM01.DBF input datafile file number=00002 name=C:\APP\ORACLE\ORADATA\TESTDB\SYSAUX01.DBF input datafile file number=00003 name=C:\APP\ORACLE\ORADATA\TESTDB\UNDOTBS01.DBF input datafile file number=00005 name=C:\APP\ORACLE\ORADATA\TESTDB\EXAMPLE01.DBF input datafile file number=00006 name=C:\APP\ORACLE\ORADATA\TESTDB\MYTS1.DBF input datafile file number=00007 name=C:\APP\ORACLE\ORADATA\TESTDB\MYTS2.DBF input datafile file number=00004 name=C:\APP\ORACLE\ORADATA\TESTDB\USERS01.DBF channel ORA_DISK_1: starting piece 1 at 03-NOV-10 channel ORA_DISK_1: finished piece 1 at 03-NOV-10 piece handle=C:\APP\ORACLE\FLASH_RECOVERY_AREA\PRIM_DB\BACKUPSET\2010_11_03\O1_MF_NNNDF_TAG20101103T154701_6F2LXQ5C_.BKP tag=TAG20101103T154701 comment=NONE channel ORA_DISK_1: backup set complete, elapsed time: 00:01:35 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 03-NOV-10 channel ORA_DISK_1: finished piece 1 at 03-NOV-10 piece handle=C:\APP\ORACLE\FLASH_RECOVERY_AREA\PRIM_DB\BACKUPSET\2010_11_03\O1_MF_NCSNF_TAG20101103T154701_6F2M0PJ3_.BKP tag=TAG20101103T154701 comment=NONE channel ORA_DISK_1: backup set complete, elapsed time: 00:00:01 Finished backup at 03-NOV-10 Recovery Manager complete.
SQL> select current_scn from v$database; CURRENT_SCN ----------- 1466019 SQL> drop table myt1_3 purge; Table dropped.
Thus, we abandoned table MYT1_3 and now trying to incomplete recovery.
SQL> shutdown abort; ORACLE instance shut down. SQL> startup mount; ORACLE instance started. Total System Global Area 431038464 bytes Fixed Size 1375088 bytes Variable Size 322962576 bytes Database Buffers 100663296 bytes Redo Buffers 6037504 bytes Database mounted.
C:\Documents and Settings\Administrator>rman target / Recovery Manager: Release 11.2.0.1.0 - Production on Wed Nov 3 15:51:51 2010 Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved. connected to target database: TESTDB (DBID=2517263760, not open) RMAN> run 2> { 3> set until scn 1466019; 4> restore database; 5> recover database; 6> sql 'alter database open resetlogs'; 7> } executing command: SET until clause Starting restore at 03-NOV-10 using target database control file instead of recovery catalog allocated channel: ORA_DISK_1 channel ORA_DISK_1: SID=20 device type=DISK channel ORA_DISK_1: starting datafile backup set restore channel ORA_DISK_1: specifying datafile(s) to restore from backup set channel ORA_DISK_1: restoring datafile 00001 to C:\APP\ORACLE\ORADATA\TESTDB\SYS TEM01.DBF channel ORA_DISK_1: restoring datafile 00002 to C:\APP\ORACLE\ORADATA\TESTDB\SYSAUX01.DBF channel ORA_DISK_1: restoring datafile 00003 to C:\APP\ORACLE\ORADATA\TESTDB\UNDOTBS01.DBF channel ORA_DISK_1: restoring datafile 00004 to C:\APP\ORACLE\ORADATA\TESTDB\USERS01.DBF channel ORA_DISK_1: restoring datafile 00005 to C:\APP\ORACLE\ORADATA\TESTDB\EXAMPLE01.DBF channel ORA_DISK_1: restoring datafile 00006 to C:\APP\ORACLE\ORADATA\TESTDB\MYTS1.DBF channel ORA_DISK_1: restoring datafile 00007 to C:\APP\ORACLE\ORADATA\TESTDB\MYTS2.DBF channel ORA_DISK_1: reading from backup piece C:\APP\ORACLE\FLASH_RECOVERY_AREA\ PRIM_DB\BACKUPSET\2010_11_03\O1_MF_NNNDF_TAG20101103T154701_6F2LXQ5C_.BKP channel ORA_DISK_1: piece handle=C:\APP\ORACLE\FLASH_RECOVERY_AREA\PRIM_DB\BACKUPSET\2010_11_03\O1_MF_NNNDF_TAG20101103T154701_6F2LXQ5C_.BKP tag=TAG20101103T154701 channel ORA_DISK_1: restored backup piece 1 channel ORA_DISK_1: restore complete, elapsed time: 00:01:45 Finished restore at 03-NOV-10 Starting recover at 03-NOV-10 using channel ORA_DISK_1 starting media recovery media recovery complete, elapsed time: 00:00:03 Finished recover at 03-NOV-10 sql statement: alter database open resetlogs RMAN>
Now, the tables:
SQL> select count(*) from myt1; COUNT(*) ---------- 10000 SQL> select count(*) from myt2; COUNT(*) ---------- 10000 SQL> select count(*) from myt1_3; COUNT(*) ---------- 10000 SQL> select count(*) from myt2_1; COUNT(*) ---------- 10000
Thus, it does not matter what is the status of any tablespace: backup or no mode. Incomplete recovery using archivelogs + redologs.
-
Cloning Database 10 g mode archive - how to add new files to archive created
DEAT all
I want to clone the oracle 10g database using hot backup. archive database mode.
Database is running user data entry contifue, during the hot backup there is about 3 to 5 news archive created log. Please guide me how to add these new created log archiving in the cloning process.
Thank you
Alter system switch logfile;
SQL > select SNA max(first_change#) from v$ archived_log;
SNA
----------
8592924
alter tablespace tablespace1 begin backup;
alter tablespace tablespace2 begin backup;
alter tablespace tablespace3 begin backup;
.........
alter tablespace tablespace1 backup end;
alter tablespace tablespace2 backup end;
alter tablespace tablespace3 backup end;
.........
Select name from v$ archived_log where first_change # > = order by name 8592924
NAME
----------------------------------------
F:\ARCHIVELOGS\ARC00390_0664080689.001
F:\ARCHIVELOGS\ARC00391_0664080689.001
F:\ARCHIVELOGS\ARC00392_0664080689.001
create pfile = "< new sid of the database > init .ora ' of spfile;"
ALTER database backup controlfile to trace as "/ home/oracle/cr_ < new sid > .sql"
STARTUP NOMOUNT
CREATE CONTROLFILE SET DATABASE "ORCL" RESETLOGS NOARCHIVELOG LOGGING FORCE
MAXLOGFILES 50
MAXLOGMEMBERS 5
MAXDATAFILES 100
MAXINSTANCES 1
MAXLOGHISTORY 453
LOGFILE
GROUP 1 'E:\oracle/oradata/dg9a/redo01.log' SIZE 100 M
-------
DATA FILE
Published by: Mohamed najib on November 15, 2008 12:54When you try to start the database copied to the new server you will find that it must recover - because it was taken in hot backup mode.
This is why you must copy the archivelogs that are generated from the first archivelog after the first "alter tablespace begin backup" to the first after the last archivelog "alter tablespace end backup.
I see that you also include a script CREATE CONTROLFILE.
You that would go to the cloned environment.
Then you type the command RECOVER database using BACKUP CONTROLFILE until CANCEL to standardize the clone.
You can, of course, use the same method to copy these archivelogs that you use to copy the files from database - tar, cpio, Ribbon, etc. -
My color cartridge is bad and I want to print in backup mode.
I can't enter this mode, I get either 'insert the left dropout color print cartridge"when no cartridge is installed, or 'remove and check color cartridge" where cratridge is the printer.
Research on the Internet indicates I can get the printer in backup mode to print B & W or grayscale, but I can't see anyway to get there.
How I really enter backup mode?
Nothing I have seen on internet searches and web sites HP I can get there.
I refuse to spend money on an ink cartridge new only to find the printer is bad.
Once more, how can I get HP2575v backup printing mode?
Not every printer with cartridges of part consisting of the cartridge and the black print head three colors have the ability to print reserve mode. If we took the color cartridge and tried to print without him, and that the printer has not reacted or given an error message. He is not one of the printers that have this capability. This is the way which those that tests if the printer is able to backup/reserve mode printing.
-
ORA-01102: cannot mount database in EXCLUSIVE mode
Hi I work on Windows 2007, 64-bit, with oracle 11g: 11.1.0.6.0
Today, I created a tablespace of cancellation more as undotbs2, and then I went to undotbs2 database.
Then, I gave the order to drop the undotdb1. He has successfully completed. but undo datafile has not been eliminated. So I tried to manually delete the data file it didn't ' success.
So I stop the database & then deleted file manually
. After giving the start command, I was getting this error
of alert_log
ORA-01157: cannot identify/lock data file 3 - see DBWR trace file
ORA-01110: data file 3: ' E:\APP\ADMINISTRATOR\ORADATA\UNDOTBS01. DBF'
ORA-27041: could not open the file
04002 - OSD: could not open the file
S/O-error: (OS 2) the system cannot find the file specified.
ORA-1157 marked during: alter database open...
Kills Jul 30 16:10:48 2013
Starting ORACLE instance (normal)
Then I dropped the datafile undo
Alerts log
ALTER database datafile ' E:\APP\ADMINISTRATOR\ORADATA\EFVAT\UNDOTBS01. DBF' offline drop
Completed: alter database datafile ' E:\APP\ADMINISTRATOR\ORADATA\EFVAT\UNDOTBS01. DBF' offline drop
ALTER database open; database opened successfully.
but she was still showing undotbs1 undo_tablespace parameter, so I created a more (2nd one) undo tablespace. I'm going to this error in the alert log
ORA-30012: undo tablespace "UNDOTBS02" there is not, or of the wrong type
After that, I'm not able to mount the database I m getting as below
Alerts log
ORA-09341: scumnt: unable to mount the database
OSD-04400: impossible to acquire the internal process semaphore
S/O-error: (OS 183) cannot create a file when that file already exists.
ORA-1102 marked during: ALTER DATABASE MOUNT...
get this error when I try to start the database
. ORA-01102: cannot mount database in EXCLUSIVE mode
974427 wrote:
Hi I work on Windows 2007, 64-bit, with oracle 11g: 11.1.0.6.0
Today, I created a tablespace of cancellation more as undotbs2, and then I went to undotbs2 database.
Then, I gave the order to drop the undotdb1. He has successfully completed. but undo datafile has not been eliminated. So I tried to manually delete the data file it didn't ' success.
So I stop the database & then deleted file manually
. After giving the start command, I was getting this error
of alert_log
ORA-01157: cannot identify/lock data file 3 - see DBWR trace file
ORA-01110: data file 3: ' E:\APP\ADMINISTRATOR\ORADATA\UNDOTBS01. DBF'
ORA-27041: could not open the file
04002 - OSD: could not open the file
S/O-error: (OS 2) the system cannot find the file specified.
ORA-1157 marked during: alter database open...
Kills Jul 30 16:10:48 2013
Starting ORACLE instance (normal)
Then I dropped the datafile undo
Alerts log
ALTER database datafile ' E:\APP\ADMINISTRATOR\ORADATA\EFVAT\UNDOTBS01. DBF' offline drop
Completed: alter database datafile ' E:\APP\ADMINISTRATOR\ORADATA\EFVAT\UNDOTBS01. DBF' offline drop
ALTER database open; database opened successfully.
but she was still showing undotbs1 undo_tablespace parameter, so I created a more (2nd one) undo tablespace. I'm going to this error in the alert log
ORA-30012: undo tablespace "UNDOTBS02" there is not, or of the wrong type
After that, I'm not able to mount the database I m getting as below
Alerts log
ORA-09341: scumnt: unable to mount the database
OSD-04400: impossible to acquire the internal process semaphore
S/O-error: (OS 183) cannot create a file when that file already exists.
ORA-1102 marked during: ALTER DATABASE MOUNT...
get this error when I try to start the database
. ORA-01102: cannot mount database in EXCLUSIVE mode
Well, your trace file indicates that the above description is innaccurate: you did NOT create an undo tablespace undotbs2, you have created a undotbs2 permanent tablespace.
You may be able to repair this situation, like this:
startup nomount
ALTER system set undo_management = manual scope = spfile;
immediate stop
startup
create undo tablespace undo3 datafile ' / whatever/you.like ' size XXg;
ALTER system set undo_tablespace is undo3 scope = spfile;.
ALTER system set undo_management = auto scope is spfile;.
immediate stop
startup
-
How to put pluggable database in archivelog mode?
Hello
I'm putting a database plug-in in archivelog mode, however, I'm not sure how to proceed. So far I mounted by PDB and tried the underside of the root container.
ALTER database connect to < name > archivelog; -This returned an error
Then I connected to the PDB and tried;
ALTER database archivelog; -It also wrong
I must be missing something simple - can someone put me out of my misery!
Kind regards
David
You can't put a plug-in database in archivelog mode, there is no independent log files that can be archived. (Although you can recover a single database plug-in and maybe even make a for a pluggable database resetlogs).
Either the entire base is in archivelog mode, or none of it.
Concerning
Jonathan Lewis
-
How do I delete the database and backup of the ASM
Hi all
Oracle 11.2.0.3 database
OEL 5.7
We have a host for restore purposes.
Run us monthly or quarterly operations to verify that I am able to restore a subset data in the given duration or for other purposes of restoration.
I have an automated script to clone the database, but the database Clone to remove former base ASM before starting this process. I want to delete only the database files and keep the configuration (for example oratab/network/ocr and so on).
Question: There is an easy way to delete these files without logging on ASM or using DBCA?
Appreciate any help.user12028775 wrote:
Hi allOracle 11.2.0.3 database
OEL 5.7We have a host for restore purposes.
Run us monthly or quarterly operations to verify that I am able to restore a subset data in the given duration or for other purposes of restoration.
I have an automated script to clone the database, but the database Clone to remove former base ASM before starting this process. I want to delete only the database files and keep the configuration (for example oratab/network/ocr and so on).Question: There is an easy way to delete these files without logging on ASM or using DBCA?
Yes, there is a simple way. Use the DROP DATABASE command.
Use the DROP DATABASE command to remove the database target and, if RMAN is connected to a recovery catalog, unregister it. RMAN removes all the data files, online redo logs and control belonging to the target database files. By default, RMAN prompts.
Put this command in your script before clone your database:
RMAN> CONNECT TARGET [email protected] RMAN> STARTUP FORCE MOUNT RMAN> SQL 'ALTER SYSTEM ENABLE RESTRICTED SESSION'; RMAN> DROP DATABASE INCLUDING BACKUPS NOPROMPT;
Kind regards
Levi Pereira -
What can I do with the database in offline mode
What can I do with the database in offline mode?
Other than for developers to understand the structure of database objects, what can I do with objects of database offline at development time.
Is there anyway that I can refer to the tables defined in the database offline of EO, VO, even if the tables have not been defined in the database online?
Thank youThere are some useful articles and the doc on the Web:
http://download.Oracle.com/docs/CD/E18941_01/tutorials/jdtut_11r2_81/jdtut_11r2_81_2.html
and http://susanduncan.blogspot.com/2011/06/fine-tuning-your-logical-to-physical-db.html
and a tutorial http://st-curriculum.oracle.com/obe/jdev/obe11jdev/ps1/databasedevelopment/obe_%20databasedevmt.htmTimo
-
Information about the backup Mode
Hello
After you run the command: alter database begin backup or change the backup of the end, what data dictionary view shows the current status of backup?
Thank youhttp://download.Oracle.com/docs/CD/B19306_01/server.102/b14237/dynviews_1026.htm#i1399625
-
RECOVER, DATABASE using backup controlfile until the
Hello
in 10g R2, may this work:
Thank you.RECOVER DATABASE using backup controlfile until '2009-05-21:12:47:30';
GregX wrote:
In fact, it should say something like this:until time ' to_date (May 19, 2009 10:30 "," dd-mm-yyyy hh24:mi:ss') ";
No, you needn't.
Doc http://download.oracle.com/docs/cd/B19306_01/backup.102/b14191/osrecov.htm#i1007361
"+ If recovery up to one hour, the time is always specified using the following format, delimited by single quotes: 'YYYY-MM-' DD:HH24:MI:SS. '. + »Nicolas.
Maybe you are looking for
-
Satellite P500-12F: brightness display problem
Whenever I have Toshiba Support ring I always feel to do away with the same answer: 'use your recovery disks. My recent problem concerns the power options, there is a slider that allows to increase the brightness of your screen. My cursor is located
-
I'm doing iPhoto my screen saver and I am not given the choice, when I click on "Source". iPhoto is grayed out. How can I make iPhoto my screen saver? I'll just put up my new iMac.
-
Service Pack2 will not install on Vista
I try to install Service Pack 2 on Vista, but it's just not going to install on my laptop. I tried all the solutions given on the help, for example using rugged, stand alone installation, uninstallation of McAfee, etc with no luck. The installation g
-
Resetting Vixia HF G30 auto resets all settings
Let's say I'm filming a few scenes using the manual mode and have changed some settings. If I decide to shoot some scenes in Auto mode, auto reset any settings that I used when shooting in manual mode? I use Vixia HF G30.
-
Acer V5 471PG, new bios ver 2.15
I saw the new bios 2.15 for V5 471PG What is new features /improvement of 2.13? All impact / dangerous if I upgrade from 2.13 to 2.15?