RMAN backup gets already
Hi all;
RMAN > set the channel 1 device type disc format ' / u01/rmanbkp ";
new RMAN configuration settings:
CONFIGURE the CHANNEL 1 DEVICE TYPE DISK FORMAT ' / u01/rmanbkp ";
new RMAN configuration settings are stored successfully
output channel: ORA_DISK_1
RMAN > list backup;
specification does not match the backups in the repository
RMAN > backup database tag = "NORMAL_BKP_15_jul_15";
From 25 July 15 backup
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID = 20 type of device = DISK
channel ORA_DISK_1: from complete compressed datafile backup set
channel ORA_DISK_1: specifying datafile (s) in the backup set
Enter a number of file datafile = 00005 name=/u03/app/oracle/oradata/crms/tbs02.dbf
Enter a number of file datafile = 00001 name=/u02/app/oracle/oradata/crms/system01.dbf
Enter a number of file datafile = name=/u01/crmsx4.dbf 00024
channel ORA_DISK_1: starting piece 1 to July 25, 15
RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-03009: failure of the backup command on the channel ORA_DISK_1 at 25/07/2015 10:30:26
ORA-19504: cannot create the file ' / u01/rmanbkp.
ORA-27038: created file already exists
Additional information: 1
There is no file physically in/u01/rmanbkp
DB version: 11.2.0.1 on (Redaht)
RMAN > set the channel 1 device type disc format ' / u01/rmanbkp ";
Specify format with extension, something like below
RMAN > set up the channel 1 device type disk format ' / u01/rmanbkp/backup%U';
http://docs.Oracle.com/CD/B28359_01/backup.111/b28273/rcmsubcl010.htm
Tags: Database
Similar Questions
-
RMAN backup error; already saved 1 time, backup finished with errors
Hi DBAs,
I get error below after each backup to the production DB (Oracle 10.2.0.5)
skip the log file archive + DATA_FRA/zeus/archivelog/2014_06_23/thread_1_seq_25321.3279.850962321; already saved 1 time
skip the log file archive + DATA_FRA/zeus/archivelog/2014_06_23/thread_1_seq_25322.3265.850962439; already saved 1 time
skip the log file archive + DATA_FRA/zeus/archivelog/2014_06_23/thread_1_seq_25323.3194.850963433; already saved 1 time
skip the log file archive + DATA_FRA/zeus/archivelog/2014_06_23/thread_1_seq_25324.3206.850963501; already saved 1 time
...
..
..
.
Complete recovery manager.
List of backup completed successfully
= Thu Jun 26 07:38:33 IST completed 2014 list backups - complete set =.
= Finished Thu Jun 26 07:38:33 IST 2014 =.
Backup completed with errors
A way to avoid this error daily and a way to remove the already saved up to archive newspapers 1 time?
Kind regards
Ritu
This is not an error but an informational message. The error comes from RMAN or one of your scripts?
Are there other RMAN - or ORA-errors in your log file?
Check your backup optimization, which can be turned on in which case it will not backup the archivelog again.
You can use one of the two commands to remove the archivelogs that have been backed up.
backup archivelog all not backed up delete input; delete archivelog all backed up 1 times to device type sbt;
-
RMAN backup command gets failure
Hello;
Merry Christmas to all
It's the test database (10.2.0.1) on RHEL 4.8, Rman backup command was already.
I don't understand why I got the error? What was the reason?
RMAN > backup the database archivelog;
From backup 25 December 14
Current archived log
using the control file of the target instead of recovery catalog database
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid = 141 devtype = DISK
channel ORA_DISK_1: from archive newspaper backupset
channel ORA_DISK_1: specification of archive log backup set
archive log entry thread = 1 sequence 2 recid = 1 stamp = 867230647 =
archive log entry thread = 1 = 3 = 2 = 867233039 stamp recid sequence
archive log entry thread = 1 sequence 4 recid = 3 = 867233044 stamp =
archive log entry thread = 1 sequence 5 recid = 4 = 867233122 stamp =
archive log entry thread = 1 sequence = recid 6 = 5 = 867233128 stamp
archive log entry thread = 1 sequence = recid 7 = 6 = 867233214 stamp
archive log entry thread = 1 sequence 8 recid = 7 = 867233453 stamp =
archive log entry thread = 1 sequence 9 recid = 8 = 867233493 stamp =
archive log entry thread = 1 sequence 10 recid = 9 = 867233559 stamp =
channel ORA_DISK_1: starting piece 1 to December 25, 14
channel ORA_DISK_1: finished piece 1 to December 25, 14
piece handle=/home/oracle/oracle/product/10.2.0/db_1/flash_recovery_area/ORCL/backupset/2014_12_25/o1_mf_annnn_TAG20141225T101241_b9q5g4jo_.bkp tag = TAG20141225T101241 comment = NONE
channel ORA_DISK_1: complete set of backups, time: 00:00:16
Backup over at December 25, 14
From backup 25 December 14
using channel ORA_DISK_1
channel ORA_DISK_1: from full datafile backupset
channel ORA_DISK_1: specifying datafile (s) in backupset
input datafile fno = 00001 name=/home/oracle/oracle/product/10.2.0/oradata/orcl/system01.dbf
input datafile fno = name=/home/oracle/oracle/product/10.2.0/oradata/orcl/sysaux01.dbf 00003
input datafile fno = 00005 name=/home/oracle/oracle/product/10.2.0/oradata/orcl/example01.dbf
input datafile fno = name=/home/oracle/oracle/product/10.2.0/oradata/orcl/undotbs01.dbf 00002
input datafile fno = name=/home/oracle/oracle/product/10.2.0/oradata/orcl/users01.dbf 00004
channel ORA_DISK_1: starting piece 1 to December 25, 14
RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-03002: failure of command thus backup archivelog to 2014/12/25 10:13:54
ORA-19502: write error on file ' / home/oracle/oracle/product/10.2.0/db_1/flash_recovery_area/ORCL/backupset/2014_12_25/o1_mf_nnndf_TAG20141225T101301_%u_.bkp ', blockno 8833 (blocksize = 8192)
ORA-27072: IO file error
Linux error: 2: no such file or directory
Additional information: 4
Additional information: 8833
Additional information: 348160
> > Physical directories are available
$ pwd
/Home/Oracle/Oracle/product/10.2.0/Db_1/flash_recovery_area/ORCL
[oracle@RAC1 ORCL] $ ls-l
total 12
drwxr-x - 3 oracle oinstall 4096 Dec 25 09:24 archivelog
drwxr-x - 3 oracle oinstall 4096 Dec 25 09:18 backupset
drwxr-x - 2 oracle oinstall 4096 Dec 24 17:16 onlinelog
ORA-19502: write error on file ' / home/oracle/oracle/flash_recovery_area/ORCL/backupset/2014_12_26/o1_mf_nnndf_TAG20141226T233412_%u_.bkp ', blockno 37505 (blocks ize = 8192)
I don't understand why is it taking over as "%u" rather than place a unique value for him. Is it the file with System FRA has enough space?
DF h/home/oracle/oracle/flash_recovery_area/ORCL/backupset.
Kind regards
Shivananda
-
restore the RMAN backup to new server
Hello
I took RMAN backup of a database with the control file autobackup on... I copied the backup
to a new server restored the spfile from backup and changed the settings
bdump, udump, control the file because the directory structure is different from the original
machine. I have restored the control file and it has been restored correctly.
Now I need to restore the data files in the new path so I used the set newname and switch
but I get an error... I posted the error please look
RMAN > run
2 > {}
3 > the value of newname for datafile 1 to ' E:\ORACLE\METAGRID\ORADATA\METAGRID\SYSTEM01. DBF';
4 > the value of newname for datafile 2 to ' E:\ORACLE\METAGRID\ORADATA\METAGRID\UNDOTBS01. DBF';
5 > the value of newname for datafile 3 to ' E:\ORACLE\METAGRID\ORADATA\METAGRID\SYSAUX01. DBF';
6 > the value of newname for datafile 4 to ' E:\ORACLE\METAGRID\ORADATA\METAGRID\USERS01. DBF';
7 > the value of newname for datafile 5 to 'E:\ORACLE\METAGRID\ORADATA\METAGRID\TSDATA_01.DBF ';
8 > the value of newname for datafile 6 to ' E:\ORACLE\METAGRID\ORADATA\METAGRID\TSIDX01. DBF';
9 > the value of newname for datafile 7 to
' E:\ORACLE\METAGRID\ORADATA\METAGRID\TSDATA_AUDIT01. DBF';
10 > restore database;
11 > switch datafile;
12 > restore database;
{13 >}
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
From restoration to 11 November 10
using channel ORA_DISK_1
channel ORA_DISK_1: from datafile backupset restoration
channel ORA_DISK_1: specifying datafile (s) to restore from backup set
restoring datafile 00001 to E:\ORACLE\METAGRID\ORADATA\METAGRID\SYSTEM01. DBF
restoring datafile 00002 to E:\ORACLE\METAGRID\ORADATA\METAGRID\UNDOTBS01. DBF
restoring datafile 00005 to E:\ORACLE\METAGRID\ORADATA\METAGRID\TSDATA_01.DBF
restoring datafile 00006 to E:\ORACLE\METAGRID\ORADATA\METAGRID\TSIDX01. DBF
RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-03002: failure of the restore command at 11/11/2010 12:38:24
ORA-19693: already included backup E:\RMAN\DB_0FLSLJH1_1_1 pieceTry to clear and recataloguer backups will be used before the restore:
rman target / crosscheck backup; delete expired backup; catalog start with 'path_to_your_backup';
-
Dear friends,
Seasonal greetings.
I use these commands to make my backup.
Can I use the .bkp?backup database tag "everyday_full_bkup" format='D:\Oracle_Backup\Database_Name\%I_%T.bkp';
This is the message I get when I run the above, receives the command.
Seeing this error, I removed the backup:Starting backup at 11-MAY-10 using channel ORA_DISK_1 channel ORA_DISK_1: starting full datafile backupset channel ORA_DISK_1: specifying datafile(s) in backupset input datafile fno=00002 name=D:\ORACLE\DATA\MARSDB\UNDO_01.DBF input datafile fno=00001 name=D:\ORACLE\DATA\MARSDB\SYSTEM_01.DBF input datafile fno=00004 name=D:\ORACLE\DATA\MARSDB\DATA_01.ORA input datafile fno=00005 name=D:\ORACLE\DATA\MARSDB\INDEXES_01.ORA input datafile fno=00003 name=D:\ORACLE\DATA\MARSDB\SYSAUX_01.DBF input datafile fno=00006 name=D:\ORACLE\DATA\MARSDB\XXSMALLTABS_01.ORA channel ORA_DISK_1: starting piece 1 at 11-MAY-10 channel ORA_DISK_1: finished piece 1 at 11-MAY-10 piece handle=D:\ORACLE_BACKUP_DATA\MARSDB\1970380511_20100511 tag=EVERYDAY_FULL_BKUP comment=NONE channel ORA_DISK_1: backup set complete, elapsed time: 00:00:25 channel ORA_DISK_1: starting full datafile backupset channel ORA_DISK_1: specifying datafile(s) in backupset including current control file in backupset channel ORA_DISK_1: starting piece 1 at 11-MAY-10 RMAN-00571: =========================================================== RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS =============== RMAN-00571: =========================================================== RMAN-03009: failure of backup command on ORA_DISK_1 channel at 05/11/2010 11:03:01 ORA-19504: failed to create file "D:\ORACLE_BACKUp\DatabaseName\1970380511_20100511" ORA-27038: created file already exists OSD-04010: <create> option specified, file already exists
n is based on the number that I see in the backup from the list.list backup; delete backup piece n;
Since then, I thought that set up channel might help, tried this but still getting the same error.
Want to clarify, if the channel set is only to set the path where is made the backup as well as the naming convention?RMAN> CONFIGURE CHANNEL 1 DEVICE TYPE DISK FORMAT 'the path\%F.bkp'; BACKUP DATABASE tag "everyday_full_bkup";
Just to make sure that everything is fine, I checked
and all is well.crosscheck backup;
I even tried
and still the same error.rman> backup database;
Please throw some light on this. Please guide me. I'm desperate.
Thanking you in advance.
See you soon!
Nith
Published by: user645399 on May 11, 2010 11:00
Published by: user645399 on May 11, 2010 11:36
Published by: user645399 on May 11, 2010 11:53Hi.There occur error because you used format(for backup) is a mistake. Because used this format, rman cannot generate a unique name for each backupset. RMAN create the first backup set using this format, then want to also eponymous and the error occur (backupsets cannot be the same name). You can use %U this guarantees uniqueness in
generated backups.
See also
http://SS64.com/ora/rman_format_string.html -
RMAN backup with a missing archivelog.
Hello
I backed up my database yesterday after that you guys helped me to solve some problems I've had on this subject. I have used RMAN with the following command in an execution block:
* run {*}
allocate channel t1 type disk;
backup current controlfile;
backup database;
delete any backup archivelog entry;
output channel c1;
*}*
At the end of the operation, RMAN indicates that archivelog is missing, and he couldn't find it. Therefore, recover the operation may be compromised. Now am confused because I don't know if the command executed successfully or not and how to fix the missing archivelog.
Here are all of the output of the operation with the error message:
channel Affectu: t1
channel t1: sid = 131 typedev = DRIVE
Dumarrage of backup in 16/04/09
channel t1: backup of all files in Donnues all Dumarrage
channel t1: insertion of the Donnues in all of backup file
insertion of the current score in all of backup file
channel t1: Dumarrage of Ulument 1 in 16/04/09
channel t1: Ulument 1 Terminu in 16/04/09
pointeur=+ASMTEST/Meta4/backupset/2009_04_16/ncnnf0_tag20090416t211049_0.334.684
* Utiquette 364257 = TAG20090416T211049 comment = NONE *.
channel t1: all backup Terminu, time Ucoulu: 00:00:14
End of backup in 16/04/09
Dumarrage of backup in 16/04/09
channel t1: backup of all files in Donnues all Dumarrage
channel t1: insertion of the Donnues in all of backup file
file Donnues en Entrue fno = nom=+ASMTEST/meta4/m4prod.dbf 00008
Donnues en Entrue fno name 00010 = file is H:\ORADATA\M4REC. DBF
Donnues en Entrue fno = 00009 name file is E:\DATAFILEMETA4\M4PROD02. DBF
Donnues en Entrue fno = 00001 nom=+ASMTEST/meta4/system01.dbf file
file Donnues en Entrue fno = nom=+ASMTEST/meta4/sysaux01.dbf 00003
Donnues en Entrue fno = name 00006 file is C:\TEST. DBF
Donnues en Entrue fno nom=+ASMTEST/meta4/meta4.dbf 00007 = file
Donnues en Entrue fno = 00005 nom=+ASMTEST/meta4/example01.dbf file
Donnues en Entrue fno = 00002 nom=+ASMTEST/meta4/undotbs01.dbf file
file Donnues en Entrue fno = nom=+ASMTEST/meta4/users01.dbf 00004
channel t1: Dumarrage of Ulument 1 in 16/04/09
channel t1: Ulument 1 Terminu in 16/04/09
pointeur=+ASMTEST/Meta4/backupset/2009_04_16/nnndf0_tag20090416t211107_0.333.684
* Utiquette 364271 = TAG20090416T211107 comment = NONE *.
channel t1: all backup Terminu, time Ucoulu: 00:51:10
channel t1: backup of all files in Donnues all Dumarrage
channel t1: insertion of the Donnues in all of backup file
insertion of the current score in all of backup file
inclusion of the current SPFILE in all of backup
channel t1: Dumarrage of Ulument 1 in 16/04/09
channel t1: Ulument 1 Terminu in 16/04/09
pointeur=+ASMTEST/Meta4/backupset/2009_04_16/ncsnf0_tag20090416t211107_0.345.684
* Utiquette 367351 = TAG20090416T211107 comment = NONE *.
channel t1: all backup Terminu, time Ucoulu: 00:00:26
End of backup in 16/04/09
Dumarrage of backup in 16/04/09
Journal Archivu underway
channel Liburu: t1
RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-03002: Uchec of the command backup O 16/04/2009 22:04:03
RMAN-06059: journal archiving waited not found; the loss of the log arch
ivago compromises the Possibilitu of Rucupuration
ORA-19625: error identification of the H:\ARCHIVEMETA4\ARC00001_0 file
* 682674928.001*
ORA-27041: opening the file impossible
04002 - OSD: cannot open the file
S/O-error: (OS2) the Spucifiu file is not found.
Here is my l and please correct me if am wrong:
The first 3 statements in the block run executed successfully, but
the last of them is not. Is this true?
Whatever the understanding, should I have a backup? What can I do to get a consistent backup?
Thanks in advance.Adomi,
It is sad to see that you are still RMAN in 8i mode where you are on 10g.
The script is bs, sorry
Run {}
allocate channel t1 type disk; -not required
backup current controlfile; -not necessary, as this is already done backup of database
backup database;
delete any backup archivelog entry;
output channel c1; -not required.
}If you have autobackup controlfile, you might just
backup database archivelog
and be done with it.
Like you didn't made a RMAN backup from the start, should have read your archivelog backup statement
ARCHIVELOG backup all Skip inaccessible delete entry.
Once successful Oracle shouldn't the archivelog has more need, and you should make a second backup without the skip inaccessible clause.
------
Sybrand Bakker
Senior Oracle DBA -
RMAN backup location must change and remove obsolete
Dear Experts,
I'm working on the following environment,
Operating system: Windows server 2012 R2
Oracle version: 11.2.0.1.0 release
Type of RMAN backup: Cumulative (preferred by the direction and I can't change it in differential backup)
My current situation,
I set up RMAN and H: drive for purposes of backup and G: for Archivelog.
Recently, my city was covered by the flood waters and the server works not for a week so that we delete obsolete level 0 does not work.
Currently there is not enough space to run a level 1 and level 0, while I should change the backup location.
My Question is,
(1) I need to change this location of drive H: to G: drive backup backup correctly without error not enough space.
(2) after having taken a level 1 and level 0, depending on my 1 redundancy, RMAN mechanism should delete obsolete backup disk without failure G: and H:.
Kindly help me how to get to my need. This will help me, thanks in advance
You can
1. replace the DB_RECOVERY_FILE_DEST G:
2 run backups
3. wait for the DELETE OBSOLETE delete obsolete backups of H:
and then
4. change the DB_RECOVERY_FILE_DEST return h as it was more early
In this way, you don't have to use the FORMAT or CHANNEL of CONFIGURE commands (I was referring to CONFIGURE CHANNEL, not ALLOCATE CHANNEL) to change the destination of the backup
Hemant K Collette
-
Here's my question after tons of research and test without have the right solutions.
Target:
(1) I have a 12.1.0.2 database unique main enterprise 'testdb' as database instance running on the server "node1".
(2) I created physical standby database "stbydb" on the server "node2".
(3) DataGuard running on the mode of MaxAvailability (SYNC) with roll forward in real time 12 default c apply.
(4) primary database has 3 groups of one-man redo. (/oraredo/testdb/redo01.log redo02.log redo03.log)
(5) I've created 4 standby redo logfiles (/oraredo/testdb/stby01.log stby02.log stby03.log stby04.log)
(6) I do RMAN backup (database and archivelog) on the site of relief only.
(7) I want to use this backup for full restore of the database on the primary database.
He is a DR test to simulate the scenario that has lost every primary & Eve total servers.
Here is how to save, on the database pending:
(1) performance 'alter database recover managed standby database Cancel' to ensure that compatible data files
(2) RMAN > backup database;
(3) RMAN > backup archivelog all;
I got elements of backup and copied to primary db Server something like:
/Home/Oracle/backupset/o1_mf_nnndf_TAG20151002T133329_c0xq099p_.BKP (data files)
/Home/Oracle/backupset/o1_mf_ncsnf_TAG20151002T133329_c0xq0sgz_.BKP (spfile & controlfile)
/Home/Oracle/backupset/o1_mf_annnn_TAG20151002T133357_c0xq15xf_.BKP (archivelogs)
So here's how to restore, on the main site:
I clean all the files (data files, controlfiles oder all gone).
(1) restore spfile from pfile
RMAN > startup nomount
RMAN > restore spfile from pfile ' / home/oracle/pfile.txt' to ' / home/oracle/backupset/o1_mf_ncsnf_TAG20151002T133329_c0xq0sgz_.bkp';
(2) modify pfile to convert to db primary content. pFile shows below
*.audit_file_dest='/opt/Oracle/DB/admin/testdb/adump '
* .audit_trail = "db".
* full = '12.1.0.2.0'
*.control_files='/oradata/testdb/control01.ctl','/orafra/testdb/control02.ctl'
* .db_block_size = 8192
* .db_domain = "
*.db_file_name_convert='/testdb/','/testdb /'
* .db_name = "testdb".
* .db_recovery_file_dest ='/ orafra'
* .db_recovery_file_dest_size = 10737418240
* .db_unique_name = "testdb".
*.diagnostic_dest='/opt/Oracle/DB '
* .fal_server = "stbydb".
* .log_archive_config = 'dg_config = (testdb, stbydb)'
* .log_archive_dest_2 = "service = stbydb SYNC valid_for = (ONLINE_LOGFILE, PRIMARY_ROLE) db_unique_name = stbydb'"
* .log_archive_dest_state_2 = 'ENABLE '.
*.log_file_name_convert='/testdb/','/testdb /'
* .memory_target = 1800 m
* .open_cursors = 300
* runoff = 300
* .remote_login_passwordfile = "EXCLUSIVE."
* .standby_file_management = "AUTO".
* .undo_tablespace = "UNDOTBS1.
(3) restart db with updated file pfile
SQLPLUS > create spfile from pfile='/home/oracle/pfile.txt'
SQLPLUS > the judgment
SQLPLUS > startup nomount
(4) restore controlfile
RMAN > restore primary controlfile to ' / home/oracle/backupset/o1_mf_ncsnf_TAG20151002T133329_c0xq0sgz_.bkp';
RMAN > change the editing of the database
(5) all elements of backup catalog
RMAN > catalog starts by ' / home/oracle/backupset / '.
(6) restore and recover the database
RMAN > restore database;
RMAN > recover database until the SNA XXXXXX; (this YVERT is the maximum in archivelog backups that extends beyond the scn of the backup of the data file)
(7) open resetlogs
RMAN > alter database open resetlogs;
Everything seems perfect, except one of the file log roll forward pending is not generated
SQL > select * from v$ standby_log;
ERROR:
ORA-00308: cannot open archived log ' / oraredo/testdb/stby01.log'
ORA-27037: unable to get file status
Linux-x86_64 error: 2: no such file or directory
Additional information: 3
no selected line
I intended to use the same backup to restore primary basic & helps record traffic and the downtime between them in the world of real output.
So I have exactly the same steps (except STANDBY restore CONTROLFILE and not recover after database restore) to restore the database pending.
And I got the same missing log file.
The problem is:
(1) complete alert.log filled with this error, not the concern here
(2) now repeat it in real time apply won't work since the Party shall LGWR shows always "WAITING_FOR_LOG."
(3) I can't delete and re-create this log file
Then I tried several and found:
The missing standby logfile was still 'ACTIVE' at present RMAN backup was made.
For example, on db standby, under Group #4 (stby01.log) would be lost after the restoration.
SQL > select GROUP #, SEQUENCE #, USE (s), the STATUS from v$ standby_log;
GROUP # SEQUENCE # USED STATUS
---------- ---------- ---------- ----------
4 19 ACTIVE 133632
5 0 0 UNASSIGNED
6 0 0 not ASSIGNED
7 0 0 UNASSIGNED
So until I take the backup, I tried on the primary database:
SQL > alter system set log_archive_dest_state_2 = delay;
This was the Group of standby_log side Eve #4 was released:
SQL > select GROUP #, SEQUENCE #, USE (s), the STATUS from v$ standby_log;
GROUP # SEQUENCE # USED STATUS
---------- ---------- ---------- ----------
4 0 0 UNASSIGNED
5 0 0 UNASSIGNED
6 0 0 not ASSIGNED
7 0 0 UNASSIGNED
Then, the backup has been restored correctly without missing standby logfile.
However, to change this primary database means break DataGuard protection when you perform the backup. It's not accept on the production environment.
Finally, my real questions come:
(1) what I do may not do on parameter change?
(2) I know I can re-create the control file to redo before delete and then recreate after. Is there any simple/fast to avoid the standby logfile lost or recreate the lost one?
I understand that there are a number of ways to circumvent this. Something to keep a copy of the log file waiting restoration progress and copy up one missing, etc, etc...
And yes I always have done no real-time applies "to the aid of archived logfile" but is also not accept mode of protection of production.
I just want proof that the design (which is displayed in a few oracle doc Doc ID 602299.1 is one of those) that backs up data backup works effectively and can be used to restore the two site. And it may be without spending more time to resume backups or put the load on the primary database to create the database before.
Your idea is very much appreciated.
Thank you!
Hello
1--> when I take via RMAN backup, RMAN does not redo log (ORL or SRL) file, so we cannot expect ORLs or SRL would be restored.
2nd--> when we opened the ORL database should be deleted and created
3rd--> Expecting, SRL should not be an issue.we should be able to do away with the fall.
DR sys@cdb01 SQL > select THREAD #, SEQUENCE #, GROUP #, STATUS from v$ standby_log;
THREAD # SEQUENCE # GROUP # STATUS
---------- ---------- ---------- ----------
1 233 4 ACTIVE
1 238 5 ACTIVE
DR sys@cdb01 SQL > select * from v$ logfile;
GROUP # STATUS TYPE MEMBER IS_ CON_ID
---------- ------- ------- ------------------------------ --- ----------
3 /u03/cdb01/cdb01/redo03.log no. 0 online
/U03/cdb01/cdb01/redo02.log no. 0 2 online
1 /u03/cdb01/cdb01/redo01.log no. 0 online
4 /u03/cdb01/cdb01/stdredo01.log WATCH No. 0
/U03/cdb01/cdb01/stdredo02.log EVE 5 No. 0
DR sys@cdb01 SQL > ! ls - ltr /u03/cdb01/cdb01/stdredo01.log
method: cannot access the /u03/cdb01/cdb01/stdredo01.log: no such file or directory
DR sys@cdb01 SQL >! ls - ltr /u03/cdb01/cdb01/stdredo02.log
-rw - r-. 1 oracle oinstall 52429312 17 Oct 15:32 /u03/cdb01/cdb01/stdredo02.log
DR sys@cdb01 SQL > alter database force claire logfile 4;
change the database group claire logfile 4
*
ERROR on line 1:
ORA-01156: recovery or current flashback may need access to files
DR sys@cdb01 SQL > alter database recover managed standby database cancel;
Database altered.
DR sys@cdb01 SQL > change the database group claire logfile 4;
Database altered.
DR sys@cdb01 SQL > ! ls - ltr /u03/cdb01/cdb01/stdredo01.log
-rw - r-. 1 oracle oinstall 52429312 17 Oct 15:33 /u03/cdb01/cdb01/stdredo01.log
DR sys@cdb01 SQL >
If you do, you can recreate the controlfile without waiting for redo log entry...
If you still think it's something is not acceptable, you must have SR with support to analyze why he does not abandon SRL when controlfile_type is "underway".
Thank you
-
content managed rman backup crushing and selection procedure of the tape media
Hello Experts.
I have a question about the backupset rman tape media manage tape of the osb.
[ENV]
Exadata rman backup assistance OSB(version: 10.4.0.3.0) SL500 LTO5 4 Tape Drive with rman scripts and full backup is working well.
1 Appendix backup on OS crontab
-Each backup full day at 00:00 AM
2 rman view all:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
using the control file of the target instead of recovery catalog database
RMAN settings for database with db_unique_name TESTDW are:
CONFIGURE RETENTION POLICY TO 3 DAY RECOVERY WINDOW;
CONFIGURE BACKUP OPTIMIZATION # by default
CONFIGURE THE TYPE OF DEFAULT DEVICE TO 'SBT_TAPE ';
SET UP THE DEVICE TYPE 'SBT_TAPE' PARALLELISM 4 TYPE OF BACKUP BACKUPSET.
CONFIGURE CONTROLFILE AUTOBACKUP ON;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3 rman backup scirpts
Run {}
allocate channels c01 type 'sbt_tape' connect 'sys/manager@testdw1';
allocate channel c02 type 'sbt_tape' connect 'sys/manager@testdw2';
allocate channel c03 type 'sbt_tape' connect 'sys/manager@testdw1';
allocate channels c04 type 'sbt_tape' connect 'sys/manager@testdw2';
Backup section size 900g database;
output channel c01;
output channel c02;
output channel c03;
output channel c04;
}
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1st quarter > after several weeks and I run the command as "#obtool u admin Pei welcome1 lsvol-L lib1.
and are used in many media of rman backup band (about 50EA media, perhaps 46EA are full and 4EA are appendble)
So, I issue the command 'lsvol - a - c' and could not display expired on all media content.
Why OSB no has not select and replace the tape media despite the rman rman default retention policy (3days) all show the setting.
Why OSB does not have the expired status of rman content on tape media?
-> I need the rman (delete expired, delete obsolete etc...) command to share the summary status of OSB and rman rman?
Q2 > selection procedure for the tape media all backup rman
Suppose the total number of tape media is 5EA. (1,2,3,4,5) with an available tape LTO5 drive.
Status: 1 (full-rman content already expired), 2 (content integral-rman not expired), 3 (editable, remaining space), 4 (new media), 5 (currnet wring media)
If OSB burn now 5 and reach at the end of the Strip and possibly another media, media to be selected by the OSB?
Advanced thanks.
If I place the order obsolete in the rman script as 'delete type 'SBT_TAPE' noprompt obsolete device;' the results will be the same as your
the syntax because rman default setting (CONFIGURE RETENTION POLICY to RECOVERY WINDOW OF 3 DAYS ;) has already been fixed on the command "Show all", right? @)
Yes.
I use the catalog of recovery on a different database and backup script has catalog db connection string.
And if I only use controlfile instead of recovery catalog to save the backup information and put in place "control_file_record_keep_time" a default of 7 days to 365 days, "remove obsolete" command to remove several weeks backupset works well, is it not?
Possible problem are existing backups for several weeks if you left default control_file_record_keep_time. Change now will not help unless you catalog later manually all the old pieces not catalogued on tape backup.
After you clean up the situation and particularly to remove obsolete in your script, rman, you will never make problems with control_file_record_keep_time from this moment. By default will do just fine because it is larger than your window of recovery.
Kind regards
Mitja
-
Hello
I tried to include works of RMAN Oracle 12 c
If I use the following command, I should have the backuppiece and the archivelog saved in a folder:
RMAN > BACKUP database DATA PLUS ARCHIVELOG;
If I ran this command in 4 different days, which I ended up having 4 folders with different inside files
I guess that, in these files, I have the data files and the archivelogs
Now I move these folders to tape, re-cutting the backups and delete expired
Say that in a month, I need one of these backups if I put a band records and I added start with 'c:\path_of _restored_folder _L', so I added all files in the folder that I restored from tape
Now, if I try to restore the basis of all is well but when I run the recover, it is missing some archiving logs it says
If I put all the files for 4 days then he finds the archivelog she needs and pick up without problem
on this basis I understand that in the folder containing a backuppiece of a specific day there is the newspaper of archive that I needed to recover from the DB, is that true? How can I know if the backups folder I need to replace in order to have all the required log archiving?
At the moment my DB retrieves only if I handed out the Ribbon last backup folder, if I handed out the previous, it restores, but is not recover
Also I have this configuration of the oracle recovery 3 days window maintains backups in order to be able to restore and recover the last 3 days and he simply deletes all obsolete if the FRA is full
I tried earlier to set up the window of 3 days as a test recovery
I ran a few backups and after that I ran the 5th FRA leak out of space and the backup fails
I expect rman to remove the old backup and make way for a new that I have 5 backuppiece and the FRA is full, why he not do?
Thank you
The default behavior of RECOVER is to make a full recovery - right until the transactions today. So it must all archivelogs.
If you want to restore and recover to a point in time, use the SET clause to THAT specify a sequence of the newspaper or time or SNA. Oracle will then not get beyond that point in time - that is to say he will not seek further archiving logs.
(Ideally, when you restore an old backup, I also begins to restore the old controlfile, then using this controlfile).
If you use the FRA in this way
a. set db_recovery_file_dest_size and db_recovery_file_dest
b. * not * used a FORMAT clause in the BACKUP command
Oracle will recognize all backups in the FRA (you can check by querying V$ FLASH_RECOVERY_AREA_USAGE before and after the backup).
In this case, Oracle can and will automatically purge outdated backups - that is to say any backup older than the retention period, provided that there is at least a L0 or backup complete closest to the retention period. You should see messages to this effect in the alert of the instance database log file.
Hemant K Collette
-
Hello
I get an error when you try to run an Oracle database backup using a windows batch file that calls a settings file to execute RMAN commands. This is handled by the windows scheduler.
It's been in place for several months and worked fine until today.
Oracle Version - 11G 11.2.0.2.0
OS - Windows server 2008 R2
* Note *-I have changed for security reasons password and company information.
Here are the contents of the batch file:
echo: [email protected] > > \\CCCODS09\c$\Support\DB_Backup\Max.log
echo to: [email protected] > > \\CCCODS09\c$\Support\DB_Backup\Max.log
Echo subject: Max Backup log > > \\CCCODS09\c$\Support\DB_Backup\Max.log
RMAN @\\CCCODS09\c$\Support\DB_Backup\Max.txt > > \\CCCODS09\c$\Support\DB_Backup\Max.log
copy \\CCCODS09\c$\Support\DB_Backup\Max.log \\ccvmds51\c$\inetpub\mailroot\Pickup\email.txt
del \\CCCODS09\c$\Support\DB_Backup\Max.log
Here is the content of the Max.txt settings file:
connect sys/password@maxof target;
Run {}
backup as compressed backupset actual additional database tag 0 = = "format='\\cccobu02\oracle\cccods09\Max\%T_Max-HOT-BACKUP-OF-FULL-DATABASE-AND-LOGS-DATAFILE-%U.BKP';
backup as compressed backupset archivelog all delete tag all input = "format='\\cccobu02\oracle\cccods09\Max\%T_Max-HOT-BACKUP-OF-FULL-DATABASE-AND-LOGS-LOGFILE-%U.BKP';
backup as compressed backupset current controlfile tag = "format='\\cccobu02\oracle\cccods09\Max\%T_Max-HOT-BACKUP-OF-FULL-DATABASE-AND-LOGS-CONTROLFILE-%U.BKP";
}
"exit";
And here is the log file:
Recovery Manager: release 11.2.0.2.0 - Production on Mon Nov 17 05:30 2014
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
RMAN > Connect target *.
2 > run {}
3> = backup as compressed backupset actual additional database tag 0 = "format='\\cccobu02\oracle\cccods09\Max\%T_Max-HOT-BACKUP-OF-FULL-DATABASE-AND-LOGS-DATAFILE-%U.BKP';
4> backup as compressed backupset archivelog all delete tag all input = "format='\\cccobu02\oracle\cccods09\Max\%T_Max-HOT-BACKUP-OF-FULL-DATABASE-AND-LOGS-LOGFILE-%U.BKP';
5> as a compressed backupset backup current controlfile tag = "format='\\cccobu02\oracle\cccods09\Max\%T_Max-HOT-BACKUP-OF-FULL-DATABASE-AND-LOGS-CONTROLFILE-%U.BKP ';
{6 >}
7 > exit;
connected to target database: MAX (DBID = 1234567890)
From backup 17 November 14
DBGSQL: TARGET > select nvl (max (al.recid), '0'), nvl (max (al.recid), 0) in : txtparmvalue,: parmvalue of al v$ archived_log where in al.status ('X', 'A') and al.is_recovery_dest_file = 'YES' and al.creator = "RMAN"
DBGSQL: SQLCODE = 1008
RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-03002: failure of the backup at 17/11/2014 05:30:16 command
RMAN-03014: implicit recovery catalog Resync failed
ORA-01008: not all variables
Complete recovery manager.
If you need more information please let me know.
Any help to fix this would be appreciated.
Thank you
Hello
This is considered to be a bug for 11.2.0.2 version.
Please see this document of MOS
ORA-01008: RMAN backup does not work with assorted errors 11.2.0.2 If cursor sharing is turned on (Doc ID 1472116.1)
Kind regards
Shivananda
-
Restore the RMAN backup on another server
Hello
ENV: Oracle 10 g 2 64 bit, RHEL 5.8 64 bit on ASM, Database size = ~ 1.3 to
Backup RMAN of PROD will FRA and then backed up to tape. I have limited access to the PROD because it is maintained by 3rd party.
My client is planning to move this database on their own datacenter (from the 3rd party data center). For test purposes, I asked DBA of 3rd party to provide us with an export of drawings required data pump. Export takes about 8 hours, and the import takes the same time to the new location. To copy the files exported to new locations takes another few hours (over the network). The total size of the dump file is around 500 GB. Thus, a whole cycle of Export-Import-copy takes about ~ 20 + Hrs.
I want to try another option to reduce the time required for the updating of the database of PROD and which is "use RMAN backup of PROD ' and restore it on the data center server. RMAN full backup takes ~ 4hrs PROD and the restoration should be at the same time (new server has better and faster HW, storage with a SSD). I found this thread very useful on the Oracle Forms on this topic:
Restore backup RMAN on another server
This thread contains very good example for a restoration of database on the file system.
I have a bit of confusion because my database uses ASM. The default location of the backups in PROD is FRA (on ASM == > db_recovery_file_dest = + FRA ). If I understand correctly, the RMAN backup must be in the same place where he was on the PROD Server - i.e. the diskgroup FRA.
If I get a copy of the part 3 RMAN backup, how would I copy on FRA?
OR can / should I just change the init parameter "db_recovery_file_dest" on the new server to point to the file system directory where the backup (say "/ ora_backup") and RMAN will pick up and restore the database?
Please advise!
Best regards
You can restore the backup files to any location, then you must configure the channel using the "CONFIGURE CHANNEL device type disk format 'new location ';
This thread will help
Restore from a different location from the original location of RMAN backup
-
Hi all
11.2.0.1
AIX 6.1
I have been using RMAN backup for most of our databases by using this parameter:
run
{
CONFIGURE REDUNDANCY 1 RETENTION STRATEGY;
compressed backup backupset database more archivelog;
backup current controlfile to sleep;
backup current controlfile;
overlap archivelog all;
cross-checking of backup;
delete expired backup noprompt.
delete noprompt expired archivelog all;
delete noprompt obsolete;
}
And most of them succeeded, except this one with the error:
RMAN-06207: WARNING: 54 items could not be removed for DISC due channels
RMAN-06208: status do not match. Use the OVERLAP command to set status
RMAN-06210: list of relevant objects
RMAN-06211: =.
RMAN-06212: filename/Type object Handle
RMAN-06213: --------------- ---------------------------------------------------
RMAN-06214: copy of the data /proddata/oradata/PROD/datafile/dbs1m3a.dbf file
RMAN-06214: copy of the data /proddata/oradata/PROD/datafile/dbs1m4b.dbf file
RMAN-06214: copy of the data /proddata/oradata/PROD/datafile/dbs1m1b.dbf file
RMAN-06214: copy of the data /proddata/oradata/PROD/datafile/dbs1m3b.dbf file
I said that I have to use CROSSCHECK, but I already have this in my parameter .rcv above right?
Help, please...
Thank you very much
zxy
yxes2013 wrote:
I'm confused with a lot of OVERLAP
I also check above dbf files, and they are most active. Why it checks rman for deletion? Is this a bug?
Helpppp...
file a bug report
-
How to find the total size of the RMAN backup files?
Hello
env: Oracle 10 g 2, RHEL 64 bit
My customer has a production database where rman backups are taken: level 0 backup every Sunday and level 1, Monday to Saturday.
I have very limited access to this database of production because it is managed by a third party, and they don't give me my required info (don't know why). I don't have access to the rman repository. To connect to the database that I have to connect to a staging server, then connect to the database server. I have no access to Enterprise Manager. So in short, my access is limited. I want to collect information on the total size of the files of rman backup - both for level 1 to level 0 backups separately. I understand that this info can be retrieved from the rman repository. Is there a dictionary views/tables of data where I can get this info?
Best regards
Hello
Have you tried to check forum this:https://forums.oracle.com/thread/1097939
HTH
-
Hello
I have the oracle database (11 GR 1 material) 64 bit installed on 64-bit Windows 2003 R2 server. MY DB size is almost 152 GB and its operation in log mode archive. When I run the RMAN backup, its takes too long, it took 22 hours and still functioning, I'm not sure why it is that consumes a lot of time...
I use RMAN script below...
Run {}
allocate channels ch1 disc type;
backup FILESPERSET 32
format tag 'F:\RMAN_BACKUP\%d_t%t_s%s_FULL' Full_DATABASE_07_july_13
(database)
COURSE CONTROLFILE, SPFILE;
SQL 'alter system archive log current;
backup FILESPERSET 200
format 'F:\RMAN_BACKUP\ARC_%d_%s_%t '.
(archivelog all);
output channel ch1.
}
Kindly help me and what's wrong in this please tell me. Also tell me if any other necessary information...
Thank you and best regards,
John of Vikash
It also depends on your storage system. What is your speed on the RMAN disk?
If you have enough flow, then you must complete this debit allocate more channels.
If your drive canprovide you 1 Gbit/s, then it will take 152 seconds to get the backup.
What is your rate?
Maybe you are looking for
-
How to change the channel of my SONY HDR-CX440 wireless?
I'm live streaming video from my sony HDR-Cx440 to an iPAD using app "playmemories Mobile". Communication between these two seems to be on Channel 6 and which interferes with my other wireless devices. I want to change the channel from 6 to any other
-
Question about HDD-set level on a Satellite A10
Hello, just want to update my laptop and everything interesting. This laptop supports 160 GB?Maybe even, that the bigger HARD disk support this computer?I think on 120 GB or 160 GB of best... And do not know what to do :)Satellite A10...Thanks for th
-
My apologies if this isn't the appropriate forum. My question is mainly about the LabVIEW Core 1 - Core 3 and TestStand 1 classes. Stock content is the same in the 3 aforementioned formats? In stock, I mean 'to the exclusion of any other document su
-
tengo unos videos don't con expandable ' we .avi y no los puedo playsecure en mi pc como hago para get los codecs en linea o any opcion para poder resproducirlos in mi pc
-
Get the message (must be high) to open files
I use Windows XP and sometimes I can't open the Open Office files or download attachments, I get the message (must be). This also happens with my files stored in my Docs