Incarnation Backup - Compulsory To Take After Open Reset Logs?

Sep 25, 2013

WHAT IS INCARNATION BACKUP......IS IT COMPULSORY TO TAKE AFTER OPEN RESETLOGS.....WHAT WILL HAPPEN IF WE TAKE INCARNATION BACKUP..........

View 1 Replies


ADVERTISEMENT

Backup & Recovery :: How To Use Incarnation Command

Mar 7, 2012

how can i using the reset database to incarnation command? RMAN> list incarnation of database;

List of Database Incarnations
DB Key Inc Key DB Name DB ID STATUS Reset SCN Reset Time
------- ------- -------- ---------------- --- ---------- ----------
1 1 ORACL 1813843256 PARENT 1 2005-06-30 19:09:40
2 2 ORACL 1813843256 PARENT 446075 2011-11-28 03:21:33
3 3 ORACL 1813843256 PARENT 530572 2011-12-06 12:55:20
4 4 ORACL 1813843256 CURRENT 1763647 2012-03-06 18:50:20

RMAN> reset database to incarnation 530572;

RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of reset command on default channel at 03/06/2012 19:36:08

ORA-19902: incarnation key 530572 not found

View 8 Replies View Related

Data Guard :: Logs Get Shipped But Not Applied - Due To Primary Database Reset

Jul 22, 2013

I have a Sap Primry Database and also a standby db that was working perfectly.. We migrated the primary db from windows 2003 to windows 2008 and brought the primary db up.. I had to create a controlfile and do a system copy and had to reset the logs on the Primary.. All came up and when i checked the standby it was receiving the logs but after a month. i see that it was not applying the logs as I think because of the sequence number .. it stopped.

I did the ffg as per the attachement...My logs have been shipped across but not applied, But What worrries me is the log sequence number on my Primary

SQL> select max(sequence#),thread# from gv$archived_log group by thread#;

MAX(SEQUENCE#) THREAD#
-------------- ----------
27727 1

View 15 Replies View Related

Expired Account Need To Open Without Password Reset?

Aug 14, 2013

Account XYZ has expired and we don't know the password of account xyz and don't want reset the password also. How can open account XYZ without change the password?

View 1 Replies View Related

Backup & Recovery :: Backup Entire Database / Without Archived Logs

May 13, 2011

Backup entire database, without archived logs, while the database is open for user activity and also This backup should be the base for an incremental backup strategy.

View 10 Replies View Related

Backup & Recovery :: How To Get All Archive Logs In Backup Piece

Nov 8, 2008

Is there any way I can get all the archive log files present in a backup piece. I tried following but it always gives me all the log files for each piece:

****
SQL> select s.set_stamp, s.set_count, s.PIECES, s.backup_type,
s.controlfile_included from v$backup_set s, v$backup_piece p where
s.set_stamp=p.set_stamp and s.set_count=p.set_count and
p.handle='5mjv4do0_1_1';

[code]....

View 27 Replies View Related

Backup & Recovery :: Oracle Database Recover Using Reset Archivelogs

Jan 24, 2011

We have faced database(10.2.0) issue cause incomplete recovery and have performed open resetlogs. This DB is of 12Tb. In 10g opening database with reset logs do not invalidate previous backups. we have another replica(no reset state)of this database which we sync using archives.how we can apply those archives(reset database)to previous database?

View 7 Replies View Related

RMAN Backup Without Archived Logs?

Jul 28, 2013

Assuming you have a 9i database . where you have it enabled in archive mode , yet constantly deleting the archived redo logs , due to space constraints .

Will you be able to perform a full level 0 backup , and the following incremental backups , in the absence of the archived redo logs ? And are these incremental backups enough to recover the database or particular data files , to the point of the backup itself at least ?

View 5 Replies View Related

Resetting DB Backup Including Archive-logs?

May 10, 2011

My supervisor wants to remove all the archivelogs since it was just a test for 1 year the DB is not actually YET been used. Problem is they want it to be used as soon as possible w/o recreating again the database and just removing some data on tables and removed archive logs. how to safely removed the existing archived logs and create a full backup with archived fresh to sequence 1.

View 2 Replies View Related

Backup Entire Database Without Archived Logs?

May 13, 2011

Backup your entire database, without archived logs, while the database is open for user activity. This backup should be the base for an incremental backup strategy

View 1 Replies View Related

RAC & Failsafe :: Archive Logs Are Missing In Hot Backup

Dec 9, 2012

We are using the following commands to take hot backup of our RAC database. Hot backup is fired by "backup" user on Linux system.

=======================
rman target / nocatalog <<EOF
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '$backup_dir/$date/%F';
run {
allocate channel oem_backup_disk1 type disk format '$backup_dir/$date/%U';
#--Switch archive logs for all threads
[code]......
=======================
Due to which after command (used 2 times) "sql 'alter system archive log current';" I see the following lines in alert log 2 times. Because of this all the online logs are not getting archived (Missing 2 logs per day), the backup taken is unusable when restoring. I am worried about this. I there any to avoid this situation.
=======================
Errors in file /u01/oracle/admin/rac/udump/rac1_ora_3546.trc:
ORA-19504: failed to create file "+DATA/rac/1_32309_632680691.dbf"
ORA-17502: ksfdcre:4 Failed to create file +DATA/rac/1_32309_632680691.dbf
ORA-15055: unable to connect to ASM instance
ORA-01031: insufficient privileges
=======================

View 1 Replies View Related

RMAN :: How To Backup Archive Logs In Standby Database

Nov 15, 2013

I trying to backup archive logs using rman in standby database. I'm able to backup archive logs using simple command it get's successfully completed. rman > BACKUP  ARCHIVELOG ALL When i'm  trying to do with keep command it's getting failed.I'm trying to do on physical standby databaseBACKUP  ARCHIVELOG ALL KEEP UNTIL TIME 'SYSDATE+100' TAG = 'TEST'.

View 1 Replies View Related

RMAN :: Does Cold Backup Must Have Archived Redo Logs

Jul 25, 2012

URL....I'm practicing for the OCP test and one of the questions is that there is a backup from yesterday and the last archived logs are from the day before yesterday not mentioned if it's cold or hot backup.

If its a cold backup - cant we recover it? is it a must to have the archived redo logs also when recovering a cold backup? That sounds not logical since those logs are made only for a hot backup. URL.....

View 1 Replies View Related

Backup & Recovery :: RMAN - Missing Archive Logs Files

Oct 7, 2012

We have a nightly rman backup that was complete and clean.The backup contains a Data File, Control File and a backup Archive Log file.The database server crashed with all the subsequent archive logs lost.

We are trying to recover from the three backup files.We are bumping into the backup piece missing as all the archive logs are done. how to restore with the exising backup files. the lost archive logs are probably salvageable.

View 9 Replies View Related

RAC/ASM Clusterware Installation :: Configuration Of Archive Logs And Backup Using Flashback

Jun 8, 2012

As per Client requirement, i need to configure archive log and backups in flashback.

View 3 Replies View Related

Data Guard :: ORA-19909 - Datafile 1 Belongs To Orphan Incarnation?

Jul 22, 2013

I have flash backed by primary database to an older SCN, from then on I am receiving the following errors on my standby database when I do media recovery :

 ERROR at line 1:ORA-00283: recovery session canceled due to errorsORA-19909: datafile 1 belongs to an orphan incarnation

ORA-01110: data file 1:

'/u01/app/sbydb11g/system01.dbf'   PRIMARY DATABASE RMAN> list incarnation; List of Database IncarnationsDB Key  Inc Key DB Name  DB ID            STATUS  Reset SCN  Reset Time------- ------- -------- ---------------- --- ---------- ----------1       1       ORCL     1343967574       PARENT  1          13-AUG-092       2       ORCL     1343967574       PARENT  754488     23-MAY-133       3       ORCL     1343967574       PARENT  1713927    14-JUN-134      

[code]...

View 2 Replies View Related

Backup & Recovery :: Open Database With ResetLogs Option

Mar 14, 2012

When we open the database with ResetLogs option. Then in future is there a possibility of restoration from old log sequences.

View 5 Replies View Related

Backup & Recovery :: Minimum Files Required To Open DB

Dec 26, 2012

what are the minimum files which are required to open the db ? take it as this

I have oracle installed in c drive. I have placed 3 datafile related to one tablespace say test: two in D and one in E. I have place 3 datafile related to tablespace say orcl : two in D and one in E.

my undo is in E scenario is that my E drive crashed . db is in no archive mode . no backup is there. to be more worst db shuts down abnormally. I want my db open with data of c drive and D drive.

View 3 Replies View Related

RAC & Failsafe :: RMAN Backup / Unable To Open Database

Aug 31, 2013

I tried to run the duplicate script after transferring new rman backup to standby. Even after transferring the backup, duplicate command and was unable to open the database.

View 1 Replies View Related

Backup & Recovery :: Alter Database Open - ORA-01092?

Nov 2, 2011

SQL> ALTER DATABASE MOUNT;

数据库已更改。

SQL> COL ERROR FOR A10
SQL> SELECT *FROM V$RECOVER_FILE

[code]...

i can't open the db.

View 18 Replies View Related

Backup & Recovery :: Use RESETLOGS Or NORESETLOGS Option For Database Open

Dec 27, 2011

When i try to startup database i got error like "ORA-01589: must use RESETLOGS or NORESETLOGS option for database open".

i want to open the database

View 22 Replies View Related

Backup & Recovery :: Duplicate Target Database - Unable To Open

Jul 3, 2013

I ran the script "Duplicate target database for standby" but it unable to open the database. Below are the rman scripts -

calhost dbs]$ rman target sys/oracle@PRODDB auxiliary sys/oracle
Recovery Manager: Release 10.2.0.1.0 - Production on Tue Jun 25 06:09:33 2013
Copyright (c) 1982, 2005, Oracle. All rights reserved.
connected to target database: PRODDB (DBID=558988263)
connected to auxiliary database: PRODDB (not mounted)
[code]....

Though I have taken the same backup but it's suggesting about the system datafile.

View 8 Replies View Related

Open Resetlogs Is Not  Working When Creating Clone DB With Online Backup

Jun 3, 2013

I am trying to create a clone database using hot backup of a database .

STEPS THAT I FOLLOWED
------------------------------------

LET ----- >CURRENT_DB NAME=DEV
CLONE DATABASE NAME=DEVCLONE

steps PERFORMED FORM DEV DB
-----------------------------------------------
- put the database in backup mode using 'alter database begin backup'
- copy all the data files to a different folder
- during copy i have performed some operations on the DB (creating users, tables, dmls etc...)
- in between copying i also performed log switch
- after completion of copy , "alter database end backup"
- created a backup control file in a human readable format (alter database backup controlfile to trace as ........)

steps performed for clone DB side ((DEVCLONE)
-------------------------------------------------------------------
- created a parameter file for the database .
- modified the backup control file so that it will point to the location of copied destination of datafiles
- set the ORACLE_SID
- then 'sqlplus / as sysdba
- starup nomount
- run the modified control file ( created a control file for the clone database)
- recover the database using "recover database using backup controlfile"
I have provided the archive files that it was asking for (archive logs that has been generated in DEV DB)
then i canceled the recovery by typing "cancel"
- recover database using backup controlfile until cancel;
then typed "cancel"
- then try to open the database with open resetlogs but it showed below error

alter database open resetlogs
*
ERROR at line 1:
ORA-01195: online backup of file 1 needs more recovery to be consistent
ORA-01110: data file 1: 'D:DATA_GUARDDEVHOTSYSTEM01.DBF'

View 6 Replies View Related

Backup & Recovery :: Oracle11gR2 Not Allow To Open Database After Complete Recovery?

Feb 24, 2012

My database is in NOARCHIVELOG mode.I took whole DB backup ( cold).Then just after half an hour I ran following script.

RMAN> RUN { RESTORE DATABASE;RECOVER DATABASE;alter database open;}

Starting restore at 24-FEB-12
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 datafile backup set restore

[code]...

Starting recover at 24-FEB-12
using channel ORA_DISK_1

starting media recovery archived log for thread 1 with sequence 2 is already on disk as file /u01/app/oracle/oradata/PROD/redo02.log
archived log file name=/u01/app/oracle/oradata/PROD/redo02.log thread=1 sequence=2
media recovery complete, elapsed time: 00:00:01

[code]...

Why do I need to specify an option at the first place?As my redo is intact, it is not incomplete recovery and, I do not want to generate new incarnation of my database.Why oracle simply not opening my database?

View 12 Replies View Related

Real Application Clusters :: Unable To Open Wallet / ORA-28353 / Failed To Open Wallet

Jul 11, 2012

I want to create a wallet on RAC setup.I have two node setup.I have created the wallet directory under shared folder /u01/oradata/$ORACLE_SID/wallet

I am Unable to open wallet.I tried this using the below command

SQL> alter system set encryption key identified by "aryabhat";
alter system set encryption key identified by "aryabhat"
*
ERROR at line 1:
ORA-28353: failed to open wallet

Following is the content of sqlnet.ora file

(path : /u01/app/11.2.0/grid/network/admin/sqlnet.ora)
NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
ADR_BASE = /u01/app/oracle
ENCRYPTION_WALLET_LOCATION =
(SOURCE = (METHOD = FILE)(METHOD_DATA =
(DIRECTORY = /u01/oradata/$ORACLE_SID/wallet/)))

View 3 Replies View Related

SQL & PL/SQL :: Reset Row Number

Mar 1, 2013

I have Follwoing Table and data.

CREATE TABLE ABC(DPT_NUM NUMBER,LOT_NUM NUMBER);
Insert into ABC(DPT_NUM, LOT_NUM, SRL_NUM) Values (1, 501, 1);
Insert into ABC(DPT_NUM, LOT_NUM, SRL_NUM) Values (1, 502, 2);
Insert into ABC(DPT_NUM, LOT_NUM, SRL_NUM) Values (1, 509, 3);
Insert into ABC(DPT_NUM, LOT_NUM, SRL_NUM) Values (1, 511, 4);
Insert into ABC(DPT_NUM, LOT_NUM, SRL_NUM) Values (1, 503, 5);

[Code]...

I write Following query.

SELECT DPT_NUM,LOT_NUM,ROW_NUMBER() OVER(PARTITION BY DPT_NUM ORDER BY DPT_NUM) SRL_NUM FROM ABC;

Result is

DPT_NUMLOT_NUMSRL_NUM
15011
15022
15093
15114
15035
15166
15227
15698

[Code]...

But i want to reset rownum after each 4. Mean after serial number 4 , serail number must start from 1. I want to reset serial number after each 4 records (lot_num) against dpt_num;

View 7 Replies View Related

SQL & PL/SQL :: Getting Connection Reset And Timeout

May 30, 2010

[#|2010-03-17T19:00:26.689+0530|SEVERE|glassfishv3.0|tcplistener.ModuleHandler|_ThreadID=30;_ThreadName=Thread-1;|The log message is null.
java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(SocketInputStream.java:168)
at java.net.SocketInputStream.read(SocketInputStream.java:182)
at java.io.FilterInputStream.read(FilterInputStream.java:66)
at tcplistener.ByteWrapper.unwrapFromStream(ByteWrapper.java:136)
at tcplistener.ModuleHandler.run(ModuleHandler.java:106)
at java.lang.Thread.run(Thread.java:619)
|#]

[code].....

View 1 Replies View Related

SQL & PL/SQL :: Find If Sequence Was Reset

Sep 26, 2010

In oracle is it possible to find if a sequence was reset? I know my sequence was reset, looking at the nextval of my sequence, but is there an oracle log or anything which proves that sequence was reset ?

View 2 Replies View Related

SQL & PL/SQL :: Increment And Reset Field Value?

Apr 18, 2011

Srl no - Srl no w.r. to the date of transaction.i.e will be incremented for every day and should again reset for the next day-Length -4 Purpose code -Purpose code of the transaction.

View 8 Replies View Related

SQL & PL/SQL :: Sequence Reset Enquiries

Jan 13, 2011

I had a question with regards to the reset of sequence in DB.

From what I had know, there are 2 ways of reseting it...

1. Alter Sequence method

2. Drop and Create Sequence method.

It seems to me (from what I find online )that Alter method is much preferred. Why is this so? Is there any impact using Drop and Create Sequence method?

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved