hot backup control file?
I wonder and wants to know... we can put hot backup control file... If so, then isn't the content of the controlfile changed after backup?
alter database backup controlfile to 'd:\backups\cntrlfilebackup.dbf reuse';
alter database backup controlfile to trace as 'd:\backups\cntrlfile_trace.txt reuse';
Hemant K Collette
Tags: Database
Similar Questions
-
switch after the hot backup log file
Hello world
Why should we change log file after the end of the backup command that is to say, after the end of the backup hot?
Why we should take a backup control files to database level, but not through operating system level that is to say, order cp?Why we should take a backup control files to database level, but not through operating system level that is to say, order cp?
If you're doing a cold backup, this is where you use cp.
But when the database is in place, controlfile is used and it is continuing to change the oracle process. Now the question is how to get the consistent image of the controlfile, here's where you their support at the database level (for example backup controlfile). When you do that level database, a snapshot file is created time and she is saved.
HTH
-
Retrieve by using the backup control file
Hello
I was reading a book called Pro Oracle Database Administration by Darl Kuhn. There, under the theme of "The valuation of the loss of all control files", noted that all data files and control files are restored from a backup, because if we do not restore the data files the RCS in control files would be lower than the data in these scenarios files. Since online redo logs and archived newspapers is applied to the data files to roll forward in a current consistent state and does not roll forward to a control file.
It is then mentioned to use 'recover the database by using the backup control file' then apply the logs (archive and redo if necessary).
However I personally tested this script in a test environment and to bring all the backup control file could issue the same command as above and recover the database.
My question is I know again and archives are applied only to the data files. So how does the control file are synchronized back when we do not restore the backup data files.
Thank you
If we do not restore the data files, the RCS in control files would be lower than the data files. Since online redo logs and archived newspapers is applied to the data files to roll forward in a current consistent state and does not roll forward to a control file.
It would be incorrect you have determined. You can only restore the control files. You can manually create a control file and always do the restore.
My question is I know again and archives are applied only to the data files. So how does the control file are synchronized back when we do not restore the backup data files.
The control file is updated as well.
See you soon,.
Brian -
Why open DB with RESETLOGS option after either complete or CAMILLE with a backup control file?
Hi all
I'm newbie DBA and totally confused when reading about the recovery.
Why open DB with RESETLOGS option after either complete or CAMILLE with a backup control file?
Using while will happen after we open DB using resetlogs in above mentioned mode of recovery.. .apart from resetting the log sequence 1?
Kind regards
Ritu
Hi Ritu,
Google is a very rich source of information...
I found this article in Hemant which I suppose is very informative for you... Read everything including the comments!
Hemant Oracle DBA blog: OPEN RESETLOGS without making a recovery
HTH,
Thierry
-
Create the new database of complete hot RMAN, atrchivelog and backup control files
Hi all
I'm trying to create the new database U1234 of P1234 of full hot RMAN, atrchivelog and control P1234 file backup.
Here are my steps
(1) to restore the control file
#! / bin/sh
ORACLE_SID = P1234
export ORACLE_SID
RMAN nocatalog target / < < EOF | Tee restorecontrol.out
startup nomount pfile=/u01/oradba/admin/U1234/scripts/restore/restore071009U1234/initP1234.ora;
the value of DBID 6767676;
run
{
allocate channel d1 type disk;
controfile catering to ' / u02/oradba/U1234/control/P1234_control01.ctl';
Restore controlfile to ' / orarman/restore/P1234/cf_P1234_c-00';
change the editing of the database;
}
EXPRESSIONS OF FOLKLORE
(2) database stop then restart the database with the new contraol file using pfile.
(3) restore data files
#! / bin/sh
ORACLE_SID = P1234
export ORACLE_SID
RMAN nocatalog target / < < EOF | Tee restore_dbfiles.out
Run {}
the value of newname for datafile 1 to ' / u05/oradba/U1234/dbfile/U1234_system01.dbf';
the value of newname for datafile 2 to ' / u05/oradba/U1234/dbfile/U1234_undotbs01.dbf';
the value of newname for datafile 3 to ' / u05/oradba/U1234/dbfile/U1234_sysaux01.dbf';
the value of newname for datafile 4 to ' / u06/oradba/U1234/dbfile/U1234_users_d01.dbf';
the value of newname for datafile 5 to ' / u06/oradba/U1234/dbfile/U1234_tools_d01.dbf';
the value of newname for datafile 6 to ' / u08/oradba/U1234/dbfile/U1234_audt_x01.dbf';
the value of newname for datafile 7 to ' / u07/oradba/U1234/dbfile/U1234_audt_d01.dbf';
the value of newname for datafile 8 to ' / u07/oradba/U1234/dbfile/U1234_audt_d02.dbf';
the value of newname for datafile 9 to ' / u08/oradba/U1234/dbfile/U1234_lh_x01.dbf';
restore the database;
switch datafile;
}
EXPRESSIONS OF FOLKLORE
ORA-27063: number of bytes read or written is incorrect
SVR4 error: 28: no space is available on the device
Now, I missed the space during the restoration of data files and want to restore remaining who is 3 and 4 of datafile datafile.
Can you please let me know how I can restore it.
I need to change the names of database after the successful restoration.
DBVERSION 10.2.0.1
operating system: solaris 10
Thanks in advance.Hello..
Do you have free space? If Yes, then you can try: -.
RUN {}
SET NEWNAME for DATAFILE 3 to ' / u05/oradba/U1234/dbfile/U1234_sysaux01.dbf';
RESTORE THE 3 DATA FILE;
DATAFILE 3 SWITCH;
}[http://www.oracle-base.com/articles/9i/DBNEWID.php]
Anand
-
Hi all
11.2.0.1
AIX 6.1
I want to save my text control file as in
SQL > alter system backup controlfile to ' / u01/a.txt ';
But the result is not readable
Why is this so the command
SQL > alter system backup controlfile to trace;
The result is readable, but it is very difficult to find
Help, please...
Thank you
zxy
It is certainly, ALTER DATABASE BACKUP CONTROLFILE (to not "changing the system")?
Read the documentation... oh, Yes, you have made a habit of NOT reading the documentation.
The syntax for a text trace file is
BACKUP CONTROLFILE ALTER DATABASE to TRACK AS ' / u01/a.txt ';
Hemant K Collette
-
HII I am working on oracle 10g 10.2.0.4.0 on solaris 10 have an asm and rac configuration (2 node rac).
I only have a single control file--+DATA_DG1/ftssdb/controlfile/current.270.664476369
I'm back up these files to control with rman
CONFIGURE CONTROLFILE AUTOBACKUP ON;
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT for DEVICE TYPE DISK TO ' / backup/rman_node1/%F';
c 31850833-20100909-00 is one supported by piece of control file.
now, suddenly, a system of administration deleted this file control... How can I recover my database using rman backup?RMAN > SET 3386862614 DBID
RMAN > RUN {
RESTORE AUTOMATIC BACKUP CONTROLFILE;
}
or
RMAN > SET 3386862614 DBID
RMAN > RUN {
CONTROLFILE AUTOBACKUP FORMAT SET
FOR DEVICE TYPE DISK TO ' / backup/rman_node1/%F';
RESTORE AUTOMATIC BACKUP CONTROLFILE;
}check out the link:
http://arjudba.blogspot.com/2008/05/How-to-restore-controlfile-from-backup.htmlPublished by: rajeysh on Sep 9, 2010 16:37
-
We can to restore the content of a game without the backup control file?
Hello
I went in earlier today, a situation when someone (it wasn't me this time!):
(1) a to back up a database and its archivelogs, in a compressed backup sets;
(2) pushed the files to another server and
(3) deleted everything on the server source, including ALL control files and control files.
As he tried to recover the control file was missing and asked for help... I worked around the issue by using the snapshot controlfile he had forgotten (lucky me!)
Now I can not remove from my mind the idea that I won't be so lucky the next time... I wonder if there is another way to work around this problem?
Does anyone have an idea how to restore the contents of a backupset when we lack ALL control files and their backups? I tried to save the backup in the controlfile to a different database, but it does not work. I didn't find anyway to recreate a controlfile with a specific dbid without data files (and those who are in the backupset...).
Any other idea? Best regards
GregoryHi arkzoyd,
Is the only way to restore data from a backup set files using rman an instance and a controlfile so the answer is no.
Kind regards
Tycho -
Backup control files on the eve of the database
Hello
One of my friends told me that controlfile cannot be saved with RMAN.
Is this true?
Kind regards
Achyotdeleted
-
Restore the control file considerations
Hello expert,
Assumpition condition is:
All the data files and the redologs are not damaged, but the controlfiles are damaged. We must restore the controlfile autobackup with the following command:
RMAN > STARTUP NOMOUNT;
RMAN > backup RESTORE CONTROLFILE AUTOMATIC;
RMAN > ALTER DATABASE MOUNT;
RMAN > RECOVER DATABASE;
RMAN > ALTER DATABASE OPEN RESETLOGS;
Use of rman RECOVER, DATABASE redo logs to roll changes forward to control files. Can you explain what changes can be included? (Currently I only have one example: we add the new data file once the backup control file.) So we need roll forward the changes to control the file on the new added one.) Other examples?
Thank you and best regards,
Tong Ning
Examine the contents of the controlfile. He has the list of data files, the list of the archivelog files and list of rman backups.
Archivelogs would be saved in the controlfile so that they can be applied.
What about backups? Subsequent backups would certainly no longer be in the controlfile.
Hemant K Collette
-
lost control file and datafile addeed restore/recovery without loss of data
Here, I tried the following
created a new table called t2 and made sure the data went to a specific tablespace...
has taken a level 0 backup
remove the control file
couple of datafile to above tablespace was added and then insert more data
then went out to restore the database... but datafile and control file always could not be open? What is wrong here...
-wnet to session 2 and renamed datafile for file unammedSQL> @datafile -- list of datafile Tablespace File Typ Tablespac File Stat Used MB Free MB FILE_MB MAXMB Datafile_name FILE_ID AUT ---------- -------- --------- --------- ---------- ---------- ---------- -------- ------------------------------ ---------- --- UNDOTBS1 Datafile ONLINE AVAILABLE 16 84 100 1,024 /data/trgt/undotbs01.dbf 3 YES USERS Datafile ONLINE AVAILABLE 1153 895 2048 3,072 /data3/trgt/user02.dbf 5 YES CNT_TST Datafile ONLINE AVAILABLE 1 9 10 0 /data3/trgt/cnt_tst01.dbf 7 NO SYSAUX Datafile ONLINE AVAILABLE 626 35 660 32,768 /data/trgt/sysaux01.dbf 2 YES USERS Datafile ONLINE AVAILABLE 2031 17 2048 2,048 /data3/trgt/move/users01.dbf 4 YES SYSTEM Datafile ONLINE AVAILABLE 712 58 770 32,768 /data/trgt/system01.dbf 1 YES USERS Datafile ONLINE AVAILABLE 65 35 100 32,768 /data3/trgt/users03.dbf 6 YES 7 rows selected. -- new table is created called t2 and its going into TS called cnt_tst SQL> CREATE TABLE TEST.T2 ( C1 DATE, C2 NUMBER, C3 NUMBER, C4 VARCHAR2(300 BYTE) ) TABLESPACE cnt_tst; 2 3 4 5 6 7 8 Table created. -- data inserted SQL> INSERT INTO test.T2 SELECT * FROM (SELECT SYSDATE, ROWNUM C2, DECODE(MOD(ROWNUM,100),99,99,1) C3, RPAD('A',300,'A') C4 FROM DUAL CONNECT BY LEVEL <= 10000) ; 2 3 4 5 6 7 8 9 10 11 12 13 14 15 10000 rows created. SQL> commit; Commit complete. -- to check of cnt_tst has any free space or not, as we can see its full SQL> @datafile Tablespace File Typ Tablespac File Stat Used MB Free MB FILE_MB MAXMB Datafile_name FILE_ID AUT ---------- -------- --------- --------- ---------- ---------- ---------- -------- ------------------------------ ---------- --- UNDOTBS1 Datafile ONLINE AVAILABLE 16 84 100 1,024 /data/trgt/undotbs01.dbf 3 YES USERS Datafile ONLINE AVAILABLE 1153 895 2048 3,072 /data3/trgt/user02.dbf 5 YES SYSAUX Datafile ONLINE AVAILABLE 626 35 660 32,768 /data/trgt/sysaux01.dbf 2 YES USERS Datafile ONLINE AVAILABLE 2031 17 2048 2,048 /data3/trgt/move/users01.dbf 4 YES SYSTEM Datafile ONLINE AVAILABLE 712 58 770 32,768 /data/trgt/system01.dbf 1 YES USERS Datafile ONLINE AVAILABLE 65 35 100 32,768 /data3/trgt/users03.dbf 6 YES CNT_TST Datafile ONLINE AVAILABLE 10 0 10 0 /data3/trgt/cnt_tst01.dbf 7 NO 7 rows selected. SQL> select count(*) from test.t2; COUNT(*) ---------- 10000 1 row selected. -- to get a count and max on date SQL> select max(c1) from test.t2; MAX(C1) ------------------ 29-feb-12 13:47:52 1 row selected. SQL> -- AT THIS POINT A LEVEL 0 BACKUP IS TAKEN (using backup database plus archivelog) SQL> -- now control files are removed SQL> select name from v$controlfile; NAME -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- /ctrl/trgt/control01.ctl /ctrl/trgt/control02.ctl 2 rows selected. SQL> SQL> ! rm /ctrl/trgt/control01.ctl SQL> ! rm /ctrl/trgt/control02.ctl SQL> ! ls -ltr /ctrl/trgt/ ls: /ctrl/trgt/: No such file or directory SQL> -- new datafile is added to CNT_TST TABLESPACE and new data is added as well SQL> ALTER TABLESPACE CNT_TST ADD DATAFILE '/data3/trgt/CNT_TST02.dbf' SIZE 100M AUTOEXTEND OFF; Tablespace altered. SQL> ALTER SYSTEM CHECKPOINT; System altered. SQL> alter system switch logfile; System altered. SQL> / System altered. SQL> / System altered. SQL> ALTER TABLESPACE CNT_TST ADD DATAFILE '/data3/trgt/CNT_TST03.dbf' SIZE 100M AUTOEXTEND OFF; Tablespace altered. SQL> INSERT INTO test.T2 SELECT * FROM (SELECT SYSDATE, ROWNUM C2, DECODE(MOD(ROWNUM,100),99,99,1) C3, RPAD('A',300,'A') C4 FROM DUAL CONNECT BY LEVEL <= 10000) ; 2 3 4 5 6 7 8 9 10 11 12 13 14 15 10000 rows created. SQL> / 10000 rows created. SQL> commit; Commit complete. SQL> INSERT INTO test.T2 SELECT * FROM (SELECT SYSDATE, ROWNUM C2, DECODE(MOD(ROWNUM,100),99,99,1) C3, RPAD('A',300,'A') C4 FROM DUAL CONNECT BY LEVEL <= 40000) ; 2 3 4 5 6 7 8 9 10 11 12 13 14 15 40000 rows created. SQL> commit; Commit complete. SQL> @datafile -- to make sure new datafile has been registered with the DB Tablespace File Typ Tablespac File Stat Used MB Free MB FILE_MB MAXMB Datafile_name FILE_ID AUT ---------- -------- --------- --------- ---------- ---------- ---------- -------- ------------------------------ ---------- --- CNT_TST Datafile ONLINE AVAILABLE 9 91 100 0 /data3/trgt/CNT_TST03.dbf 9 NO UNDOTBS1 Datafile ONLINE AVAILABLE 16 84 100 1,024 /data/trgt/undotbs01.dbf 3 YES USERS Datafile ONLINE AVAILABLE 1153 895 2048 3,072 /data3/trgt/user02.dbf 5 YES CNT_TST Datafile ONLINE AVAILABLE 9 91 100 0 /data3/trgt/CNT_TST02.dbf 8 NO SYSAUX Datafile ONLINE AVAILABLE 626 35 660 32,768 /data/trgt/sysaux01.dbf 2 YES USERS Datafile ONLINE AVAILABLE 2031 17 2048 2,048 /data3/trgt/move/users01.dbf 4 YES SYSTEM Datafile ONLINE AVAILABLE 712 58 770 32,768 /data/trgt/system01.dbf 1 YES USERS Datafile ONLINE AVAILABLE 65 35 100 32,768 /data3/trgt/users03.dbf 6 YES CNT_TST Datafile ONLINE AVAILABLE 10 0 10 0 /data3/trgt/cnt_tst01.dbf 7 NO 9 rows selected. -- now the count and max ... note count before backup was 10000 and max(c1) was diff SQL> select count(*) from test.t2; COUNT(*) ---------- 70000 1 row selected. SQL> select max(c1) from test.t2; MAX(C1) ------------------ 29-feb-12 13:58:25 1 row selected. SQL> -- now restore starts SQL> shutdown abort; ORACLE instance shut down. SQL> exit Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production With the Partitioning, OLAP, Data Mining and Real Application Testing options [oracle@berry trgt]$ rman Recovery Manager: Release 11.2.0.1.0 - Production on Wed Feb 29 14:01:48 2012 Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved. RMAN> connect catalog rman/pass@rcat connected to recovery catalog database RMAN> connect target / connected to target database (not started) RMAN> startup nomount; Oracle instance started Total System Global Area 188313600 bytes Fixed Size 1335388 bytes Variable Size 125833124 bytes Database Buffers 58720256 bytes Redo Buffers 2424832 bytes RMAN> restore controlfile from autobackup; Starting restore at 29-FEB-12 14:02:37 allocated channel: ORA_DISK_1 channel ORA_DISK_1: SID=20 device type=DISK recovery area destination: /backup/trgt/flash_recovery_area database name (or database unique name) used for search: TRGT channel ORA_DISK_1: no AUTOBACKUPS found in the recovery area channel ORA_DISK_1: looking for AUTOBACKUP on day: 20120229 channel ORA_DISK_1: AUTOBACKUP found: /backup/trgt/backup/cont_c-3405317011-20120229-09 channel ORA_DISK_1: restoring control file from AUTOBACKUP /backup/trgt/backup/cont_c-3405317011-20120229-09 channel ORA_DISK_1: control file restore from AUTOBACKUP complete output file name=/ctrl/trgt/control01.ctl output file name=/ctrl/trgt/control02.ctl Finished restore at 29-FEB-12 14:02:39 RMAN> alter database mount; database mounted released channel: ORA_DISK_1 RMAN> recover database; Starting recover at 29-FEB-12 14:02:55 Starting implicit crosscheck backup at 29-FEB-12 14:02:55 allocated channel: ORA_DISK_1 channel ORA_DISK_1: SID=20 device type=DISK Crosschecked 96 objects Finished implicit crosscheck backup at 29-FEB-12 14:02:57 Starting implicit crosscheck copy at 29-FEB-12 14:02:57 using channel ORA_DISK_1 Finished implicit crosscheck copy at 29-FEB-12 14:02:57 searching for all files in the recovery area cataloging files... no files cataloged using channel ORA_DISK_1 starting media recovery archived log for thread 1 with sequence 13 is already on disk as file /redo_archive/trgt/online/redo01.log archived log for thread 1 with sequence 14 is already on disk as file /redo_archive/trgt/online/redo02.log archived log for thread 1 with sequence 15 is already on disk as file /redo_archive/trgt/online/redo03.log archived log file name=/redo_archive/trgt/archive/1_10_776523284.dbf thread=1 sequence=10 archived log file name=/redo_archive/trgt/archive/1_10_776523284.dbf thread=1 sequence=10 archived log file name=/redo_archive/trgt/archive/1_11_776523284.dbf thread=1 sequence=11 archived log file name=/redo_archive/trgt/archive/1_12_776523284.dbf thread=1 sequence=12 archived log file name=/redo_archive/trgt/online/redo01.log thread=1 sequence=13 RMAN-00571: =========================================================== RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS =============== RMAN-00571: =========================================================== RMAN-03002: failure of recover command at 02/29/2012 14:02:59 ORA-01422: exact fetch returns more than requested number of rows RMAN-20505: create datafile during recovery RMAN-11003: failure during parse/execution of SQL statement: alter database recover logfile '/redo_archive/trgt/online/redo01.log' ORA-00283: recovery session canceled due to errors ORA-01244: unnamed datafile(s) added to control file by media recovery ORA-01110: data file 9: '/data3/trgt/CNT_TST03.dbf' RMAN> -- wnet to session 2 and renamed datafile from unammed
After before was done, went back to session 1 and I tried recovered the DBSQL> select name from v$datafile; NAME -------------------------------------------------------------------------------- /data/trgt/system01.dbf /data/trgt/sysaux01.dbf /data/trgt/undotbs01.dbf /data3/trgt/move/users01.dbf /data3/trgt/user02.dbf /data3/trgt/users03.dbf /data3/trgt/cnt_tst01.dbf /oracle/app/product/11.2.0/dbhome_1/dbs/UNNAMED00008 /oracle/app/product/11.2.0/dbhome_1/dbs/UNNAMED00009 9 rows selected. SQL> alter database create datafile '/oracle/app/product/11.2.0/dbhome_1/dbs/UNNAMED00008' as '/data3/trgt/CNT_TST02.dbf'; Database altered. SQL> alter database create datafile '/oracle/app/product/11.2.0/dbhome_1/dbs/UNNAMED00009' as '/data3/trgt/CNT_TST03.dbf'; Database altered. SQL> select name from v$datafile; NAME -------------------------------------------------------------------------------- /data/trgt/system01.dbf /data/trgt/sysaux01.dbf /data/trgt/undotbs01.dbf /data3/trgt/move/users01.dbf /data3/trgt/user02.dbf /data3/trgt/users03.dbf /data3/trgt/cnt_tst01.dbf /data3/trgt/CNT_TST02.dbf /data3/trgt/CNT_TST03.dbf 9 rows selected.
RMAN> recover database; Starting recover at 29-FEB-12 14:06:16 using channel ORA_DISK_1 starting media recovery archived log for thread 1 with sequence 13 is already on disk as file /redo_archive/trgt/online/redo01.log archived log for thread 1 with sequence 14 is already on disk as file /redo_archive/trgt/online/redo02.log archived log for thread 1 with sequence 15 is already on disk as file /redo_archive/trgt/online/redo03.log archived log file name=/redo_archive/trgt/online/redo01.log thread=1 sequence=13 archived log file name=/redo_archive/trgt/online/redo02.log thread=1 sequence=14 archived log file name=/redo_archive/trgt/online/redo03.log thread=1 sequence=15 media recovery complete, elapsed time: 00:00:00 Finished recover at 29-FEB-12 14:06:17 RMAN> alter database open resetlogs; database opened new incarnation of database registered in recovery catalog starting full resync of recovery catalog full resync complete starting full resync of recovery catalog full resync complete RMAN> exit Recovery Manager complete. [oracle@berry trgt]$ [oracle@berry trgt]$ [oracle@berry trgt]$ sq SQL*Plus: Release 11.2.0.1.0 Production on Wed Feb 29 14:07:18 2012 Copyright (c) 1982, 2009, Oracle. All rights reserved. Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production With the Partitioning, OLAP, Data Mining and Real Application Testing options SQL> alter session set NLS_DATE_FORMAT="dd-mon-yy hh24:mi:ss: 2 SQL> SQL> alter session set NLS_DATE_FORMAT="dd-mon-yy hh24:mi:ss"; Session altered. SQL> select count(*) from test.t2; select count(*) from test.t2 * ERROR at line 1: ORA-00376: file 8 cannot be read at this time ORA-01110: data file 8: '/data3/trgt/CNT_TST02.dbf' SQL> select max(c1) from test.t2; select max(c1) from test.t2 * ERROR at line 1: ORA-00376: file 8 cannot be read at this time ORA-01110: data file 8: '/data3/trgt/CNT_TST02.dbf' SQL> alter database datafile 8 online; alter database datafile 8 online * ERROR at line 1: ORA-01190: control file or data file 8 is from before the last RESETLOGS ORA-01110: data file 8: '/data3/trgt/CNT_TST02.dbf' {code} so what did i do wrong in my recovery that i could not get my data?? how can i avoid this?? and restore my DB? Edited by: user8363520 on Feb 29, 2012 12:24 PM
user8363520 wrote:
so can get us this or can't do?You seem to have:
(a) old version of data through rman backup files
(b) old version of the control file
(c) Backed archived redo logs
(d) recovery archived logs that have been recently generated
(e) current online redo logsTherefore, you should be able to bring back the database in the State wherever it was when you made the abandonment.
I don't do enough laps to be able to cite details on the commands to use (and I often find myself using the command line recovery after that file of rman restore, but the steps you need must be)Take a copy of security of the data current, archived and online redo log files.
Restore the backup control file, data files, and archived recovery logs
Recover the database by using up to cancel backup control file
You have to do 'create datafile' bit as the collection hits the 'missing file' bit
You will need to provide the names of the archived and log files online redo recovery reached their
(although, presumably, you could leave copies of the logs stored in the default location)Concerning
Jonathan Lewis
http://jonathanlewis.WordPress.com
Author: core Oracle -
Need help with RMAN archive destination error during hot backup
Hello
Oracle 8.0.6, Win 2000 Server.
We take the cold daily backup as our backup strategy. We wanted to implement the backup hot. If one day, I turned on the log mode archive and set the directory to archive in F:\drive to store all archived generated. I took the backup and put the database in noarchive log mode. We continued with offline backup.
After a few days, I wanted to test the hot backup again. I created the directory of the archive in E:\archive\ instead of F:\archive\. When I started the hot backup, all files have been copied except the archives.
The error was:
RMAN-03022: compilation command: sql
RMAN-06162: SQL statement: alter system archive log current
RMAN-03023: executing command: sql
RMAN-03022: compilation command: backup
RMAN-03026: recovery error release of channel resources
RMAN-08031: output channel: c1
RMAN-08031: output channel: c2
RMAN-00569: = error message stack follows =.
RMAN-03002: failure during the compilation of command
RMAN-03013: type command: backup
RMAN-06089: journal archived F:\ARCHIVE\ARCH1_0000327116.ARC not found or at odds with catalog
Complete recovery manager.
RMAN is looking for the destination of the journal archive old i.e. 'f:\archive\ '. I don't have the backup of the old archives of destination. I put the new destination to archive E:\archive\ in the initorcl.ora file, rman is always looking for destination F:\archive\.
Please suggest what to do. How can I remove old information from archive of controlfile and say rman, look in the new archives destination i.e. E:\archive\Hello
WOW 8.0.6.
Maybe you can run a cross?change archivelog than any overlap;
Update
Found some docs online for 8.0
http://download.Oracle.com/docs/CD/A58617_01/server.804/a58396/TOC.htm
She does not mention the overlap.
With the change command, you should be able to do the cleaning as well.
If you have moved the archivelogs to the new location, you can use catalog according to the doc.
Kind regards
TychoEdited by: tychos on mrt-27-2011 08:26
-
Control files and backup spfile
Hi allThis is a database of GR 11, 2. There is a running script to keep the full backup.
crosscheck archivelog all; crosscheck backup; backup database; backup archivelog all delete input; delete noprompt obsolete;
I checked the controlfile autobackup using - show controlfile autobackup. and it is turned OFF
But when I run - list backup of controlfile; list backup of spfile;
I find that contolfile benefits from the support upwards and also through the above script spfile
Can someone please explain to me how this happens without controlfile autobackup
Thanks in advance
This is a normal behavior on version 11.2 and beyond
No matter if controlfile autobackup turned OFF, RMAN automatically includes the control file and the server settings file in the backups of data file
1
(i.e backup database command always include datafile 1 which trigger backup of control and spfile).
-
Hello
How knowledge/check if the RMAN backup was performed using a current control file or database catalog? I mean RMAN prompt or sqlplus is it possible to know.
Thank you
You're welcome my friend
You can see them using two methods.
as I mentioned above, you can see them connect to the catalog database and you can query using the view that I sent
http://docs.Oracle.com/CD/E11882_01/backup.112/e10642/rcmreprt.htm#BRADV89601
the other method is the list command, you must use the list command after connecting using rman "rman target / catalog cat_user/cat_pass@catdbtns" command
http://docs.Oracle.com/CD/E11882_01/backup.112/e10642/rcmreprt.htm#BRADV8136
Check the value of the control_file_record_keep_time parameter. The default value is 7 days. in the output of the list command, if you can see the old backups to the value, you must be sure that the backup information comes from the catalogue database
SELECT * FROM parameter $ v where name = 'control_file_record_keep_time '.
an example of command list
the list of completed database before backup ' sysdate-10'.
Concerning
-
Error especially when the control file / spfile auto backup
Hello
10.2.0.4 on Linux
We conduct a scheduled backup RMAN on SBT_TAPE cold.
Error below is taking autobackup controlfile and spfile (rest of the dbf is backed up successfully)
Backup finished in 24 October 12
From control file and SPFILE Autobackup 24 October 12
RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-03009: failure of command control file and SPFILE Autobackup on channel ORA_SBT_TAPE_1 at 10/24/2012 20:12:07
ORA-27091: unable to queue I/O
ORA-27072: IO file error
Linux-x86_64 error: 22: invalid argument
Additional information: 4
Additional information: 1
Additional information:-1
We check the question to the team of storage and found that the tape is accessible very well with the amount of available space.
Concerning
KSGHello;
It is an Oracle on this point, not to let the stupid title.
Register without the database with RMAN-03002, RMAN-03014, RMAN-03009 [ID 340539.1]
See the filesystemio_options parameter
Best regards
mseberg
Maybe you are looking for
-
How to transfer videos from your Windows PC on iPad Air
Recently, I bought an iPad Air model No. A1475 16 GB (WiFi + cell). This is my first iOS device. I figured out how to sync the music via iTunes.But, I can't sync videos from my PC to my iPad.I need for instructions on how to do it. Thank you...
-
Skype for Windows 8 has no option 'TOOLS '.
Skype for Windows 8 doesn't have the option 'tools '. Impossible to make adjustments Audio & video. Unable to activate the camera. Why the hell can't use the "good old Skype".
-
Anyone know what is ' instant resume?
I found 'configure InstantResume' click with the right button on the MP gauge. After that I clicked it once, the configuration option disappear and I can only activate or deactivate it. I wonder what is this to and if I can configure it from? THX
-
Windows activate Windows 7 error hr = 0 x 80070002
Original title: Please help with the interpretation of the WGA report. Separated from this thread. MGA Diagnostic Report: To analyze and solve problems for Activation and Validation, we need to see a full copy of the diagnostic report produced by the
-
Candle hover button in Flex focus problem
Hello I do not know if someone have experience this, but if we do app using flex mxml actionscript and use the power of flex button, the hover accent color will disappear after copy paste see the pop-up window. This allows to simulate inside the flex