Error backup RMAN
Hello everybody,
Sometimes i got error messages on the backup of 2 databases (Oracle 11g R2). The backups are realised by dataprotector 6.1
When i execute the backup manually through dataprotector everything is fine.
In the event logs of dataprotector i can see the fails backups and there is an action adviced :
"reduce the number of channel to be egal with the simultaneous parameters in the backup"
Here is the rman script used by dataprotector :
run {
allocate channel 'dev_0' type 'sbt_tape'
parms 'ENV=(OB2BARTYPE=Oracle8,OB2APPNAME=SITGTD,OB2BARLIST=Sauvegarde TD)';
backup incremental level <incr_level>
format 'Sauvegarde TD<SITGTD_%s:%t:%p>.dbf'
database;
sql 'alter system archive log current';
backup
format 'Sauvegarde TD<SITGTD_%s:%t:%p>.dbf'
archivelog all
delete input;
backup
format 'Sauvegarde TD<SITGTD_%s:%t:%p>.dbf'
current controlfile;
I see only one channel described and the simultaneous parameters is set on 2.
Any one has an idea ? Is there anything i can change in the rman script ?
Thanks you.
David
Here is the full log of the backup session :
(Dataprotector is running in French!)
[Normal] De : [email protected] "Sauvegarde TD" Heure : 17/04/2012 16:30:05
La session de sauvegarde 2012/04/17-5 a démarré.
[Normal] De : [email protected] "Sauvegarde TD" Heure : 17/04/2012 16:30:07
Lancement de l'application OB2BAR sur "tsfstd01.sitg.local" réalisé avec succès.
[Normal] De : [email protected] "SITGTD" Heure : 17/04/2012 16:30:08
D?marrage de la sauvegarde de la base de donn?es cible.
Nom du service r?seau : SITGTD.
Etat de l'instance : OPEN.
Nom d'instance : sitgtd.
DBID de la base de donn?es = 1478710307.
Type de fichier de contr?le de BDD : CURRENT.
Mode journalisation BDD : ARCHIVELOG.
[Normal] De : [email protected] "SITGTD" Heure : 17/04/2012 16:30:09
D?marrage de Oracle Recovery Manager.
Recovery Manager: Release 11.2.0.1.0 - Production on Tue Apr 17 16:30:09 2012
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
RMAN> CONNECT TARGET *
2> HOST 'exit';
3> run {
4> allocate channel 'dev_0' type 'sbt_tape'
5> parms 'SBT_LIBRARY=C:/PROGRA~1/OmniBack/bin/orasbt.dll,ENV=(OB2BARTYPE=Oracle8,OB2APPNAME=SITGTD,OB2BARLIST=Sauvegarde TD)';
6>
7> send device type 'sbt_tape' 'OB2BACKUPTYPE=1';
8> send device type 'sbt_tape' 'OB2BARHOSTNAME=tsfstd01.sitg.local';
9> backup incremental level 1
10> format 'Sauvegarde TD<SITGTD_%s:%t:%p>.dbf'
11> database;
12> sql 'alter system archive log current';
13> backup
14> format 'Sauvegarde TD<SITGTD_%s:%t:%p>.dbf'
15> archivelog all
16> delete input;
17> backup
18> format 'Sauvegarde TD<SITGTD_%s:%t:%p>.dbf'
19> current controlfile;
20> }
21> EXIT
RMAN-06005: connected to target database: SITGTD (DBID=1478710307)
RMAN-06009: using target database control file instead of recovery catalog
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of allocate command on dev_0 channel at 04/17/2012 16:30:10
ORA-19554: error allocating device, device type: SBT_TAPE, device name:
ORA-27211: Failed to load Media Management Library
Recovery Manager complete.
[Majeur] De : [email protected] "SITGTD" Heure : 17/04/2012 16:30:10
Erreur signal?e par utilitaire externe.
RMAN PID=5692
[Majeur] De : [email protected] "SITGTD" Heure : 17/04/2012 16:30:10
La base de donn?es a signal? une erreur pendant l'ex?cution de l'op?ration demand?e.
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of allocate command on dev_0 channel at 04/17/2012 16:30:10
ORA-19554: error allocating device, device type: SBT_TAPE, device name:
ORA-27211: Failed to load Media Management Library
Recovery Manager complete.
[Majeur] De : [email protected] "SITGTD" Heure : 17/04/2012 16:30:10
Oracle Recovery Manager termin? avec erreurs.
[Majeur] De : [email protected] "SITGTD" Heure : 17/04/2012 16:30:10
Impossible de sauvegarder la base de donn?es cible.
[Normal] De : [email protected] "Sauvegarde TD" Heure : 17/04/2012 16:30:47
Application OB2BAR sur "tsfstd01.sitg.local" déconnectée.
[Critique] De : [email protected] "Sauvegarde TD" Heure : 17/04/2012 16:30:47
Aucun Agent de disque ne s'est effectué correctement.
La session a échoué.
[Normal] De : [email protected] "Sauvegarde TD" Heure : 17/04/2012 16:30:47
Statistiques de la sauvegarde :
Temps de file d'attente de la session (en heures) 0,00
Agents de disque terminés ........ 0
Agents de disque ayant échoué ........... 0
Agents de disque abandonnés .......... 0
Total des Agents de disque ........... 0
========================================
Agents de support terminés ....... 0
Agents de support ayant échoué .......... 0
Abandon des Agents de support ......... 0
Total des Agents de support .......... 0
===========================================
Total Méga-octets ................. 0 Mo
Total des supports utilisés ............. 0
Total d'erreurs d'Agent de disque ...... 0
============================================================================
Echec de la session !
============================================================================
Thanks for your help.
Similar Messages
-
Dear Gurus,
I got the following error in RMAN TAPE backup.
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of delete command on default channel at 09/20/2011 02:36:58
ORA-15028: ASM file '+ASMFLASH/gcprod/archivelog/2011_09_15/thread_2_seq_55857.2176.761912673' not dropped; currently being accessed
RMAN>
Recovery Manager complete.my RMAN BACKUP Script is:
rman target sys/*****@gcprod1 nocatalog << EOF
spool log to $v_bdest/clean_catalog_TAPE.log append;
run {
allocate channel c1 type 'sbt_tape' parms
'ENV=(TDPO_OPTFILE=/usr/tivoli/tsm/client/oracle/bin64/tdpo.opt)';
#crosscheck backupset;
#crosscheck copy;
#crosscheck archivelog all;
# included on 21Jan2011 at 9:18 PM
#delete noprompt expired backup;
delete noprompt obsolete;
#delete noprompt expired archivelog all;
# included on 21Jan2011 at 9:18 PM
release channel c1;
exit
EOFMy RMAN RETENTION POLICY IS:
RMAN> show all;
RMAN configuration parameters are:
CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 3 DAYS;
CONFIGURE BACKUP OPTIMIZATION OFF;
CONFIGURE DEFAULT DEVICE TYPE TO DISK;
CONFIGURE CONTROLFILE AUTOBACKUP ON;
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F';
CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET;
CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1;
CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1;
CONFIGURE MAXSETSIZE TO UNLIMITED;
CONFIGURE ENCRYPTION FOR DATABASE OFF;
CONFIGURE ENCRYPTION ALGORITHM 'AES128';
CONFIGURE ARCHIVELOG DELETION POLICY TO NONE;
CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/oracle/app/oracle/product/10.2.0.1/db_1/dbs/snapcf_gcprod1.f';According to retention policy archivelogs of past 3 days should be present rest and all , i have written a script to delete and it is performing well from past 6 months, but now recently we got this error
we have enough archivelog space.
and the archive log pointing in this error is on 15th september archivelog.....today date is 20th september....
My archive log was stored in asm .... i went there and saw that still 15th september archivelogs are present there.
Please help me regarding this
Regards,
Vamsi.....For RMAN topics, please use: {forum:id=74}.
-
Error using rman with cumulative backup
Hi,
Can anyone help?
Current system configuration : Oracle 8.0.4 & Veritas Netbackup.
Encounter error when allocate 2 channel for cumulative backup using rman. Using a single channel works fine.
RMAN-08010: channel t1: including datafile 1 in backupset
RMAN-08008: channel t2: starting datafile backupset
RMAN-08502: set_count=152 set_stamp=432319182
RMAN-08010: channel t2: including datafile 7 in backupset
RMAN-08010: channel t2: including datafile 20 in backupset
RMAN-08010: channel t2: including datafile 13 in backupset
RMAN-08010: channel t2: including datafile 15 in backupset
RMAN-08010: channel t2: including datafile 16 in backupset
RMAN-08011: channel t1: including current controlfile in backupset
RMAN-00569: ================error message stack follows================
RMAN-03007: retryable error occurred during execution of command: backup
RMAN-07004: unhandled exception during command execution on channel t2
RMAN-10032: unhandled exception during execution of job step 2: ORA-06512: at li
ne 153
RMAN-10035: exception raised in RPC: ORA-19624: operation failed, retry possible
ORA-27015: skgfcls: failed to close the file
Additional information: 7023
ORA-19502: write error on file "bk_152_1_432319182", blockno 3713 (blocksize=512
ORA-27010: skgfwrt: write to file failed
Additional information: 7043
ORA-06512: at "SYS.DBMS_BACKUP_RESTORE", line 408
RMAN-10031: ORA-19624 occurred during call to DBMS_BACKUP_RESTORE.BACKUPPIECECRE
ATE
Thanks in advance
nullHi,
first of all you must have all the archivelogs since you want to recover your table from the previous backups.
anyways if you want to recover your table then you need to perform incomplete recovery to the point where you loss the table for that you need to restore and recover your database.you likely to loose all the transcation which occurs to the point where you you loose your table.
thanks.. -
Friends,
I made the following test of backup:
SHUTDOWN IMMEDIATE
STARTUP MOUNT
BACKUP DATABASE FORMAT 'D:\ORACLE - BKP\DATABASE_%U.DBF' PLUS ARCHIVELOG TAG=DATAFILE;
BACKUP CURRENT CONTROLFILE FORMAT 'D:\ORACLE - BKP\CONTROLFILES_%U.CTL' TAG=CONTROLFILE;
BACKUP TABLESPACE SYSTEM, UNDOTBS1, DRSYS, TOOLS, USERS, XDB FORMAT 'D:\ORACLE - BKP\TABLESPACES_%U.DBF TAG=TABLESPACE;
BACKUP SPFILE FORMAT 'D:\ORACLE - BKP\SPFILE_%U.DBF' TAG=SPFILE;
ALTER DATABASE OPEN;
When I go to restore the archives, appears the following error:
- CONTROLFILES
RMAN> RESTORE CONTROLFILE FROM TAG='CONTROLFILE';
Initiating restore em 28/03/06
placed canal: ORA_DISK_1
canal ORA_DISK_1: sid=11 devtype=DISK
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 03/28/2006 12:44:59
RMAN-06563: controlfile or SPFILE must be restored using FROM AUTOBACKUP
- DATABASE
RMAN> RESTORE DATABASE FROM TAG='DATABASE';
Initiating restore em 28/03/06
placed canal: ORA_DISK_1
canal ORA_DISK_1: sid=11 devtype=DISK
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 03/28/2006 12:46:36
RMAN-06026: some targets not found - aborting restore
RMAN-06023: no backup or copy of datafile 8 found to restore
RMAN-06023: no backup or copy of datafile 7 found to restore
RMAN-06023: no backup or copy of datafile 6 found to restore
RMAN-06023: no backup or copy of datafile 5 found to restore
RMAN-06023: no backup or copy of datafile 4 found to restore
RMAN-06023: no backup or copy of datafile 3 found to restore
RMAN-06023: no backup or copy of datafile 2 found to restore
RMAN-06023: no backup or copy of datafile 1 found to restore
What it can be happening?????
Tks!!BACKUP DATABASE FORMAT 'D:\ORACLE - BKP\DATABASE_%U.DBF' PLUS ARCHIVELOG TAG=DATAFILE;
RESTORE DATABASE FROM TAG='DATABASE';There is no such TAG. The one you used is "DATAFILE" not "DATABASE" !
RMAN-06563: controlfile or SPFILE must be restored using FROM AUTOBACKUPTry to configure the autobackup feature and try again!
Regards,
Yoann. -
Relationship between current incarnation & Backups/ RMAN-20011
Hi
I have
the following situation in RMAN:
Incarnations:
>
RMAN> list incarnation;
List of Database Incarnations
DB Key Inc Key DB Name DB ID STATUS Reset SCN Reset Time
133 146 TESTDB 2528045035 PARENT 1 05-SEP-10
133 134 TESTDB 2528045035 CURRENT 972274 02-MAR-11
133 548 TESTDB 2528045035 ORPHAN 996374 02-MAR-11
133 646 TESTDB 2528045035 ORPHAN 996490 04-MAR-11
133 460 TESTDB 2528045035 ORPHAN 997986 02-MAR-11
>
Backups:
>
RMAN> list backup;
List of Backup Sets
===================
BS Key Size Device Type Elapsed Time Completion Time
176 56.57M DISK 00:00:42 02-MAR-11
BP Key: 177 Status: AVAILABLE Compressed: NO Tag: TAG20110302T100444
Piece Name: /opt/BACKUP/11.2.0.2/RMAN/TESTDB/DATA/01m66vht_1_1
List of Archived Logs in backup set 176
Thrd Seq Low SCN Low Time Next SCN Next Time
1 2 977121 02-MAR-11 988286 02-MAR-11
1 3 988286 02-MAR-11 994189 02-MAR-11
BS Key Type LV Size Device Type Elapsed Time Completion Time
187 Incr 0 999.72M DISK 00:15:42 02-MAR-11
BP Key: 190 Status: AVAILABLE Compressed: NO Tag: TAG20110302T100531
Piece Name: /opt/BACKUP/11.2.0.2/RMAN/TESTDB/DATA/02m66vjc_1_1
List of Datafiles in backup set 187
File LV Type Ckp SCN Ckp Time Name
1 0 Incr 994637 02-MAR-11 /CDATA/TESTDB/system01.dbf
2 0 Incr 994637 02-MAR-11 /CDATA/TESTDB/sysaux01.dbf
3 0 Incr 994637 02-MAR-11 /CDATA/TESTDB/undotbs01.dbf
4 0 Incr 994637 02-MAR-11 /CDATA/TESTDB/users01.dbf
BS Key Size Device Type Elapsed Time Completion Time
201 4.48M DISK 00:00:01 02-MAR-11
BP Key: 206 Status: AVAILABLE Compressed: NO Tag: TAG20110302T102124
Piece Name: /opt/BACKUP/11.2.0.2/RMAN/TESTDB/DATA/03m670h5_1_1
List of Archived Logs in backup set 201
Thrd Seq Low SCN Low Time Next SCN Next Time
1 4 994189 02-MAR-11 996336 02-MAR-11
BS Key Type LV Size Device Type Elapsed Time Completion Time
214 Full 9.36M DISK 00:00:10 02-MAR-11
BP Key: 216 Status: AVAILABLE Compressed: NO Tag: TAG20110302T102129
Piece Name: /opt/BACKUP/11.2.0.2/RMAN/TESTDB/CONTROLFILES/c-2528045035-20110302-00
SPFILE Included: Modification time: 02-MAR-11
SPFILE db_unique_name: TESTDB
Control File Included: Ckp SCN: 996373 Ckp time: 02-MAR-11
BS Key Size Device Type Elapsed Time Completion Time
244 757.50K DISK 00:00:01 02-MAR-11
BP Key: 247 Status: AVAILABLE Compressed: NO Tag: TAG20110302T103137
Piece Name: /opt/BACKUP/11.2.0.2/RMAN/TESTDB/DATA/05m67149_1_1
List of Archived Logs in backup set 244
Thrd Seq Low SCN Low Time Next SCN Next Time
1 5 996336 02-MAR-11 997210 02-MAR-11
BS Key Type LV Size Device Type Elapsed Time Completion Time
261 Incr 0 1001.02M DISK 00:13:29 02-MAR-11
BP Key: 263 Status: AVAILABLE Compressed: NO Tag: TAG20110302T103138
Piece Name: /opt/BACKUP/11.2.0.2/RMAN/TESTDB/DATA/06m6714b_1_1
List of Datafiles in backup set 261
File LV Type Ckp SCN Ckp Time Name
1 0 Incr 997238 02-MAR-11 /CDATA/TESTDB/system01.dbf
2 0 Incr 997238 02-MAR-11 /CDATA/TESTDB/sysaux01.dbf
3 0 Incr 997238 02-MAR-11 /CDATA/TESTDB/undotbs01.dbf
4 0 Incr 997238 02-MAR-11 /CDATA/TESTDB/users01.dbf
BS Key Size Device Type Elapsed Time Completion Time
279 742.00K DISK 00:00:01 02-MAR-11
BP Key: 284 Status: AVAILABLE Compressed: NO Tag: TAG20110302T104517
Piece Name: /opt/BACKUP/11.2.0.2/RMAN/TESTDB/DATA/07m671tt_1_1
List of Archived Logs in backup set 279
Thrd Seq Low SCN Low Time Next SCN Next Time
1 6 997210 02-MAR-11 997953 02-MAR-11
BS Key Type LV Size Device Type Elapsed Time Completion Time
297 Full 9.36M DISK 00:00:10 02-MAR-11
BP Key: 299 Status: AVAILABLE Compressed: NO Tag: TAG20110302T104519
Piece Name: /opt/BACKUP/11.2.0.2/RMAN/TESTDB/CONTROLFILES/c-2528045035-20110302-01
SPFILE Included: Modification time: 02-MAR-11
SPFILE db_unique_name: TESTDB
Control File Included: Ckp SCN: 997985 Ckp time: 02-MAR-11
BS Key Size Device Type Elapsed Time Completion Time
*342 438.00K DISK 00:00:00 02-MAR-11*
BP Key: 345 Status: AVAILABLE Compressed: NO Tag: TAG20110302T104935
Piece Name: /opt/BACKUP/11.2.0.2/RMAN/TESTDB/DATA/09m67260_1_1
List of Archived Logs in backup set 342
Thrd Seq Low SCN Low Time Next SCN Next Time
*1 7 997953 02-MAR-11 998260 02-MAR-11*
BS Key Type LV Size Device Type Elapsed Time Completion Time
*364 Incr 0 1001.65M DISK 00:14:34 02-MAR-11*
BP Key: 366 Status: AVAILABLE Compressed: NO Tag: TAG20110302T104937
Piece Name: /opt/BACKUP/11.2.0.2/RMAN/TESTDB/DATA/0am67261_1_1
List of Datafiles in backup set 364
File LV Type Ckp SCN Ckp Time Name
*1 0 Incr 998289 02-MAR-11 /CDATA/TESTDB/system01.dbf*
*2 0 Incr 998289 02-MAR-11 /CDATA/TESTDB/sysaux01.dbf*
*3 0 Incr 998289 02-MAR-11 /CDATA/TESTDB/undotbs01.dbf*
*4 0 Incr 998289 02-MAR-11 /CDATA/TESTDB/users01.dbf*
BS Key Size Device Type Elapsed Time Completion Time
*387 7.58M DISK 00:00:02 02-MAR-11*
BP Key: 392 Status: AVAILABLE Compressed: NO Tag: TAG20110302T110421
Piece Name: /opt/BACKUP/11.2.0.2/RMAN/TESTDB/DATA/0bm6731m_1_1
List of Archived Logs in backup set 387
Thrd Seq Low SCN Low Time Next SCN Next Time
*1 8 998260 02-MAR-11 1000465 02-MAR-11*
BS Key Type LV Size Device Type Elapsed Time Completion Time
*410 Full 9.36M DISK 00:00:10 02-MAR-11*
BP Key: 412 Status: AVAILABLE Compressed: NO Tag: TAG20110302T110425
Piece Name: /opt/BACKUP/11.2.0.2/RMAN/TESTDB/CONTROLFILES/c-2528045035-20110302-02
SPFILE Included: Modification time: 02-MAR-11
SPFILE db_unique_name: TESTDB
Control File Included: Ckp SCN: 1000507 Ckp time: 02-MAR-11
BS Key Type LV Size Device Type Elapsed Time Completion Time
483 Full 9.36M DISK 00:00:05 02-MAR-11
BP Key: 484 Status: AVAILABLE Compressed: NO Tag: TAG20110302T113759
Piece Name: /opt/BACKUP/11.2.0.2/RMAN/TESTDB/CONTROLFILES/c-2528045035-20110302-03
SPFILE Included: Modification time: 02-MAR-11
SPFILE db_unique_name: TESTDB
Control File Included: Ckp SCN: 998081 Ckp time: 02-MAR-11
BS Key Type LV Size Device Type Elapsed Time Completion Time
571 Full 9.36M DISK 00:00:04 02-MAR-11
BP Key: 572 Status: AVAILABLE Compressed: NO Tag: TAG20110302T121754
Piece Name: /opt/BACKUP/11.2.0.2/RMAN/TESTDB/CONTROLFILES/c-2528045035-20110302-04
SPFILE Included: Modification time: 02-MAR-11
SPFILE db_unique_name: TESTDB
Control File Included: Ckp SCN: 996489 Ckp time: 02-MAR-11
BS Key Type LV Size Device Type Elapsed Time Completion Time
667 Full 9.36M DISK 00:00:18 04-MAR-11
BP Key: 668 Status: AVAILABLE Compressed: NO Tag: TAG20110304T132050
Piece Name: /opt/BACKUP/11.2.0.2/RMAN/TESTDB/CONTROLFILES/c-2528045035-20110304-00
SPFILE Included: Modification time: 04-MAR-11
SPFILE db_unique_name: TESTDB
Control File Included: Ckp SCN: 996596 Ckp time: 04-MAR-11
RMAN>
>
I want rebuild the Database with the Backup (bold text).
And I get the error after executed the following script:
>
RMAN> RUN
2> {
3> # STARTUP NOMOUNT;
4> # RESTORE SPFILE TO '/u01/app/oracle/product/11.2.0.2/db_1/dbs/spfileTESTDB.ora' from TAG "TAG20110302T063849";
5> # SHUTDOWN IMMEDIATE;
6> STARTUP NOMOUNT;
7> RESTORE CONTROLFILE FROM TAG "TAG20110302T110425";
8> STARTUP MOUNT;
9> SET UNTIL SCN 1000507;
10> RESTORE DATABASE;
11> RECOVER DATABASE;
12> ALTER DATABASE OPEN RESETLOGS;
13> }
database is already started
Starting restore at 04-MAR-11
using channel ORA_DISK_1
channel ORA_DISK_1: starting datafile backup set restore
channel ORA_DISK_1: restoring control file
channel ORA_DISK_1: reading from backup piece /opt/BACKUP/11.2.0.2/RMAN/TESTDB/CONTROLFILES/c-2528045035-20110302-02
channel ORA_DISK_1: piece handle=/opt/BACKUP/11.2.0.2/RMAN/TESTDB/CONTROLFILES/c-2528045035-20110302-02 tag=TAG20110302T110425
channel ORA_DISK_1: restored backup piece 1
channel ORA_DISK_1: restore complete, elapsed time: 00:00:15
output file name=/CDATA/TESTDB/control01.ctl
output file name=/CFLASH/TESTDB/control02.ctl
Finished restore at 04-MAR-11
database is already started
database mounted
released channel: ORA_DISK_1
executing command: SET until clause
Starting restore at 04-MAR-11
Starting implicit crosscheck backup at 04-MAR-11
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=136 device type=DISK
Crosschecked 11 objects
Finished implicit crosscheck backup at 04-MAR-11
Starting implicit crosscheck copy at 04-MAR-11
using channel ORA_DISK_1
Finished implicit crosscheck copy at 04-MAR-11
searching for all files in the recovery area
cataloging files...
cataloging done
List of Cataloged Files
=======================
File Name: /CFLASH/TESTDB/archivelog/2011_03_04/o1_mf_1_1_6q1k25xs_.arc
using channel ORA_DISK_1
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 /CDATA/TESTDB/system01.dbf
channel ORA_DISK_1: restoring datafile 00002 to /CDATA/TESTDB/sysaux01.dbf
channel ORA_DISK_1: restoring datafile 00003 to /CDATA/TESTDB/undotbs01.dbf
channel ORA_DISK_1: restoring datafile 00004 to /CDATA/TESTDB/users01.dbf
channel ORA_DISK_1: reading from backup piece /opt/BACKUP/11.2.0.2/RMAN/TESTDB/DATA/0am67261_1_1
channel ORA_DISK_1: piece handle=/opt/BACKUP/11.2.0.2/RMAN/TESTDB/DATA/0am67261_1_1 tag=TAG20110302T104937
channel ORA_DISK_1: restored backup piece 1
channel ORA_DISK_1: restore complete, elapsed time: 00:13:45
Finished restore at 04-MAR-11
Starting recover at 04-MAR-11
using channel ORA_DISK_1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of recover command at 03/04/2011 13:47:17
RMAN-06004: ORACLE error from recovery catalog database: RMAN-20011: target database incarnation is not current in recovery catalog
>
How can I know the right incarnation to reset current?
Please , help
reagards
hqr200475
Edited by: hqt200475 on 04.03.2011 06:19Hi Werner,
I tried some experiments to find out the Relationship between current incarnations & Backups !
Here is a listing 2 hours before with the incarnation 460:
>
RMAN> list incarnation;
List of Database Incarnations
DB Key Inc Key DB Name DB ID STATUS Reset SCN Reset Time
133 146 TESTDB 2528045035 PARENT 1 05-SEP-10
133 134 TESTDB 2528045035 PARENT 972274 02-MAR-11
133 548 TESTDB 2528045035 ORPHAN 996374 02-MAR-11
133 646 TESTDB 2528045035 ORPHAN 996490 04-MAR-11
133 460 TESTDB 2528045035 CURRENT 997986 02-MAR-11
RMAN> list backup;
List of Backup Sets
===================
BS Key Size Device Type Elapsed Time Completion Time
176 56.57M DISK 00:00:42 02-MAR-11
BP Key: 177 Status: AVAILABLE Compressed: NO Tag: TAG20110302T100444
Piece Name: /opt/BACKUP/11.2.0.2/RMAN/TESTDB/DATA/01m66vht_1_1
List of Archived Logs in backup set 176
Thrd Seq Low SCN Low Time Next SCN Next Time
1 2 977121 02-MAR-11 988286 02-MAR-11
1 3 988286 02-MAR-11 994189 02-MAR-11
BS Key Type LV Size Device Type Elapsed Time Completion Time
187 Incr 0 999.72M DISK 00:15:42 02-MAR-11
BP Key: 190 Status: AVAILABLE Compressed: NO Tag: TAG20110302T100531
Piece Name: /opt/BACKUP/11.2.0.2/RMAN/TESTDB/DATA/02m66vjc_1_1
List of Datafiles in backup set 187
File LV Type Ckp SCN Ckp Time Name
1 0 Incr 994637 02-MAR-11 /CDATA/TESTDB/system01.dbf
2 0 Incr 994637 02-MAR-11 /CDATA/TESTDB/sysaux01.dbf
3 0 Incr 994637 02-MAR-11 /CDATA/TESTDB/undotbs01.dbf
4 0 Incr 994637 02-MAR-11 /CDATA/TESTDB/users01.dbf
BS Key Size Device Type Elapsed Time Completion Time
201 4.48M DISK 00:00:01 02-MAR-11
BP Key: 206 Status: AVAILABLE Compressed: NO Tag: TAG20110302T102124
Piece Name: /opt/BACKUP/11.2.0.2/RMAN/TESTDB/DATA/03m670h5_1_1
List of Archived Logs in backup set 201
Thrd Seq Low SCN Low Time Next SCN Next Time
1 4 994189 02-MAR-11 996336 02-MAR-11
BS Key Type LV Size Device Type Elapsed Time Completion Time
214 Full 9.36M DISK 00:00:10 02-MAR-11
BP Key: 216 Status: AVAILABLE Compressed: NO Tag: TAG20110302T102129
Piece Name: /opt/BACKUP/11.2.0.2/RMAN/TESTDB/CONTROLFILES/c-2528045035-20110302-00
SPFILE Included: Modification time: 02-MAR-11
SPFILE db_unique_name: TESTDB
Control File Included: Ckp SCN: 996373 Ckp time: 02-MAR-11
BS Key Size Device Type Elapsed Time Completion Time
244 757.50K DISK 00:00:01 02-MAR-11
BP Key: 247 Status: AVAILABLE Compressed: NO Tag: TAG20110302T103137
Piece Name: /opt/BACKUP/11.2.0.2/RMAN/TESTDB/DATA/05m67149_1_1
List of Archived Logs in backup set 244
Thrd Seq Low SCN Low Time Next SCN Next Time
1 5 996336 02-MAR-11 997210 02-MAR-11
BS Key Type LV Size Device Type Elapsed Time Completion Time
261 Incr 0 1001.02M DISK 00:13:29 02-MAR-11
BP Key: 263 Status: AVAILABLE Compressed: NO Tag: TAG20110302T103138
Piece Name: /opt/BACKUP/11.2.0.2/RMAN/TESTDB/DATA/06m6714b_1_1
List of Datafiles in backup set 261
File LV Type Ckp SCN Ckp Time Name
1 0 Incr 997238 02-MAR-11 /CDATA/TESTDB/system01.dbf
2 0 Incr 997238 02-MAR-11 /CDATA/TESTDB/sysaux01.dbf
3 0 Incr 997238 02-MAR-11 /CDATA/TESTDB/undotbs01.dbf
4 0 Incr 997238 02-MAR-11 /CDATA/TESTDB/users01.dbf
BS Key Size Device Type Elapsed Time Completion Time
279 742.00K DISK 00:00:01 02-MAR-11
BP Key: 284 Status: AVAILABLE Compressed: NO Tag: TAG20110302T104517
Piece Name: /opt/BACKUP/11.2.0.2/RMAN/TESTDB/DATA/07m671tt_1_1
List of Archived Logs in backup set 279
Thrd Seq Low SCN Low Time Next SCN Next Time
1 6 997210 02-MAR-11 997953 02-MAR-11
BS Key Type LV Size Device Type Elapsed Time Completion Time
297 Full 9.36M DISK 00:00:10 02-MAR-11
BP Key: 299 Status: AVAILABLE Compressed: NO Tag: TAG20110302T104519
Piece Name: /opt/BACKUP/11.2.0.2/RMAN/TESTDB/CONTROLFILES/c-2528045035-20110302-01
SPFILE Included: Modification time: 02-MAR-11
SPFILE db_unique_name: TESTDB
Control File Included: Ckp SCN: 997985 Ckp time: 02-MAR-11
BS Key Size Device Type Elapsed Time Completion Time
342 438.00K DISK 00:00:00 02-MAR-11
BP Key: 345 Status: AVAILABLE Compressed: NO Tag: TAG20110302T104935
Piece Name: /opt/BACKUP/11.2.0.2/RMAN/TESTDB/DATA/09m67260_1_1
List of Archived Logs in backup set 342
Thrd Seq Low SCN Low Time Next SCN Next Time
1 7 997953 02-MAR-11 998260 02-MAR-11
BS Key Type LV Size Device Type Elapsed Time Completion Time
364 Incr 0 1001.65M DISK 00:14:34 02-MAR-11
BP Key: 366 Status: AVAILABLE Compressed: NO Tag: TAG20110302T104937
Piece Name: /opt/BACKUP/11.2.0.2/RMAN/TESTDB/DATA/0am67261_1_1
List of Datafiles in backup set 364
File LV Type Ckp SCN Ckp Time Name
1 0 Incr 998289 02-MAR-11 /CDATA/TESTDB/system01.dbf
2 0 Incr 998289 02-MAR-11 /CDATA/TESTDB/sysaux01.dbf
3 0 Incr 998289 02-MAR-11 /CDATA/TESTDB/undotbs01.dbf
4 0 Incr 998289 02-MAR-11 /CDATA/TESTDB/users01.dbf
BS Key Size Device Type Elapsed Time Completion Time
387 7.58M DISK 00:00:02 02-MAR-11
BP Key: 392 Status: AVAILABLE Compressed: NO Tag: TAG20110302T110421
Piece Name: /opt/BACKUP/11.2.0.2/RMAN/TESTDB/DATA/0bm6731m_1_1
List of Archived Logs in backup set 387
Thrd Seq Low SCN Low Time Next SCN Next Time
1 8 998260 02-MAR-11 1000465 02-MAR-11
BS Key Type LV Size Device Type Elapsed Time Completion Time
410 Full 9.36M DISK 00:00:10 02-MAR-11
BP Key: 412 Status: AVAILABLE Compressed: NO Tag: TAG20110302T110425
Piece Name: /opt/BACKUP/11.2.0.2/RMAN/TESTDB/CONTROLFILES/c-2528045035-20110302-02
SPFILE Included: Modification time: 02-MAR-11
SPFILE db_unique_name: TESTDB
Control File Included: Ckp SCN: 1000507 Ckp time: 02-MAR-11
BS Key Type LV Size Device Type Elapsed Time Completion Time
483 Full 9.36M DISK 00:00:05 02-MAR-11
BP Key: 484 Status: AVAILABLE Compressed: NO Tag: TAG20110302T113759
Piece Name: /opt/BACKUP/11.2.0.2/RMAN/TESTDB/CONTROLFILES/c-2528045035-20110302-03
SPFILE Included: Modification time: 02-MAR-11
SPFILE db_unique_name: TESTDB
Control File Included: Ckp SCN: 998081 Ckp time: 02-MAR-11
BS Key Type LV Size Device Type Elapsed Time Completion Time
571 Full 9.36M DISK 00:00:04 02-MAR-11
BP Key: 572 Status: AVAILABLE Compressed: NO Tag: TAG20110302T121754
Piece Name: /opt/BACKUP/11.2.0.2/RMAN/TESTDB/CONTROLFILES/c-2528045035-20110302-04
SPFILE Included: Modification time: 02-MAR-11
SPFILE db_unique_name: TESTDB
Control File Included: Ckp SCN: 996489 Ckp time: 02-MAR-11
BS Key Type LV Size Device Type Elapsed Time Completion Time
667 Full 9.36M DISK 00:00:18 04-MAR-11
BP Key: 668 Status: AVAILABLE Compressed: NO Tag: TAG20110304T132050
Piece Name: /opt/BACKUP/11.2.0.2/RMAN/TESTDB/CONTROLFILES/c-2528045035-20110304-00
SPFILE Included: Modification time: 04-MAR-11
SPFILE db_unique_name: TESTDB
Control File Included: Ckp SCN: 996596 Ckp time: 04-MAR-11
RMAN> @TESTDB_rr.rman
RMAN> RUN
2> {
3> # STARTUP NOMOUNT;
4> # RESTORE SPFILE TO '/u01/app/oracle/product/11.2.0.2/db_1/dbs/spfileTESTDB.ora' from TAG "TAG20110302T063849";
5> # SHUTDOWN IMMEDIATE;
6> STARTUP NOMOUNT;
7> RESTORE CONTROLFILE FROM TAG "TAG20110302T110425";
8> STARTUP MOUNT;
9> SET UNTIL SCN 1000507;
10> RESTORE DATABASE;
11> RECOVER DATABASE;
12> ALTER DATABASE OPEN RESETLOGS;
13> }
database is already started
Starting restore at 04-MAR-11
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=12 device type=DISK
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 03/04/2011 13:29:58
RMAN-06026: some targets not found - aborting restore
RMAN-06024: no backup or copy of the control file found to restore
RMAN> **end-of-file**
RMAN> list incarnation;
List of Database Incarnations
DB Key Inc Key DB Name DB ID STATUS Reset SCN Reset Time
133 146 TESTDB 2528045035 PARENT 1 05-SEP-10
133 134 TESTDB 2528045035 PARENT 972274 02-MAR-11
133 548 TESTDB 2528045035 ORPHAN 996374 02-MAR-11
133 646 TESTDB 2528045035 ORPHAN 996490 04-MAR-11
133 460 TESTDB 2528045035 CURRENT 997986 02-MAR-11
>
regards
hqt200475 -
Backup RMAN Incremental Level 1 without Level 0 - 10gR2
Hi,
I'm a bit confused after some tests.
The Question: It's mandatory to perform backup incremental level 0 before the level 1 using Oracle 10gR2 ?
On Oracle 11.2 it's mandatory but on Oracle 10.2.0.5 I don't know.
Test on 11.2. If doesn't exists level 0 rman take care about it and perform automaticaly level 0 before level1
RMAN> backup incremental level 1 database;
Starting backup at 29-APR-11
using channel ORA_DISK_1
no parent backup or copy of datafile 1 found
channel ORA_DISK_1: starting incremental level 0 datafile backup set
channel ORA_DISK_1: specifying datafile(s) in backup set
...Docs said:
Incremental backups capture only those blocks that change between backups in each datafile.
In a typical incremental backup strategy, a level 0 incremental backup is used as a starting point. A level 0 backup captures all blocks in the datafile.
So, on Oracle 10.2.0.5 this not happen like on 11.2:
Perfoming backup level 1 without level 0:
RMAN> list backup;
RMAN> backup incremental level 1 database;
Starting backup at 29-APR-11
using channel ORA_DISK_1
channel ORA_DISK_1: starting incremental level 1 datafile backupset
channel ORA_DISK_1: specifying datafile(s) in backupset
input datafile fno=00001 name=+DG_ORCL/db10g/datafile/system.260.749756975
channel ORA_DISK_1: starting piece 1 at 29-APR-11
channel ORA_DISK_1: finished piece 1 at 29-APR-11
piece handle=+DG_FRA/db10g/backupset/2011_04_29/nnndn1_tag20110429t190340_0.260.749761421 tag=TAG20110429T190340 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:25
channel ORA_DISK_1: starting incremental level 1 datafile backupset
channel ORA_DISK_1: specifying datafile(s) in backupset
including current control file in backupset
including current SPFILE in backupset
channel ORA_DISK_1: starting piece 1 at 29-APR-11
channel ORA_DISK_1: finished piece 1 at 29-APR-11
piece handle=+DG_FRA/db10g/backupset/2011_04_29/ncsnn1_tag20110429t190340_0.262.749761449 tag=TAG20110429T190340 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:05
Finished backup at 29-APR-11
RMAN> backup archivelog all delete input;
Starting backup at 29-APR-11
current log archived
using channel ORA_DISK_1
Finished backup at 29-APR-11
RMAN> shutdown abort;
Oracle instance shut downDelete all files on ASM (except SPFILE).
ASMCMD> cd +DG_ORCL/DB10g
ASMCMD> ls
PARAMETERFILE/
spfiledb10g.oraSo, let's perfom restore of database
oracle@butao:/home/oracle> rman target /
Recovery Manager: Release 10.2.0.5.0 - Production on Fri Apr 29 19:06:52 2011
Copyright (c) 1982, 2007, Oracle. All rights reserved.
connected to target database (not started)
RMAN> startup nomount
Oracle instance started
Total System Global Area 293601280 bytes
Fixed Size 2095872 bytes
Variable Size 92275968 bytes
Database Buffers 192937984 bytes
Redo Buffers 6291456 bytes
RMAN> restore controlfile from '+DG_FRA/db10g/backupset/2011_04_29/ncsnn1_tag20110429t190340_0.262.749761449';
Starting restore at 29-APR-11
using channel ORA_DISK_1
channel ORA_DISK_1: restoring control file
channel ORA_DISK_1: restore complete, elapsed time: 00:00:05
output filename=+DG_ORCL/db10g/controlfile/current.263.749761699
output filename=+DG_FRA/db10g/controlfile/current.263.749761699
Finished restore at 29-APR-11
RMAN> startup mount
database is already started
database mounted
released channel: ORA_DISK_1
RMAN> restore database;
Starting restore at 29-APR-11
Starting implicit crosscheck backup at 29-APR-11
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=156 devtype=DISK
Crosschecked 1 objects
Finished implicit crosscheck backup at 29-APR-11
Starting implicit crosscheck copy at 29-APR-11
using channel ORA_DISK_1
Finished implicit crosscheck copy at 29-APR-11
searching for all files in the recovery area
cataloging files...
cataloging done
List of Cataloged Files
=======================
File Name: +dg_fra/DB10G/BACKUPSET/2011_04_29/ncsnn1_TAG20110429T190340_0.262.749761449
File Name: +dg_fra/DB10G/BACKUPSET/2011_04_29/annnf0_TAG20110429T190442_0.264.749761485
using channel ORA_DISK_1
channel ORA_DISK_1: starting datafile backupset restore
channel ORA_DISK_1: specifying datafile(s) to restore from backup set
restoring datafile 00001 to +DG_ORCL/db10g/datafile/system.260.749756975
restoring datafile 00002 to +DG_ORCL/db10g/datafile/undotbs1.261.749757085
restoring datafile 00003 to +DG_ORCL/db10g/datafile/sysaux.262.749757095
restoring datafile 00004 to +DG_ORCL/db10g/datafile/users.264.749757107
channel ORA_DISK_1: reading from backup piece +DG_FRA/db10g/backupset/2011_04_29/nnndn1_tag20110429t190340_0.260.749761421
channel ORA_DISK_1: restored backup piece 1
piece handle=+DG_FRA/db10g/backupset/2011_04_29/nnndn1_tag20110429t190340_0.260.749761421 tag=TAG20110429T190340
channel ORA_DISK_1: restore complete, elapsed time: 00:00:26
Finished restore at 29-APR-11
RMAN> recover database;
Starting recover at 29-APR-11
using channel ORA_DISK_1
starting media recovery
archive log thread 1 sequence 27 is already on disk as file +DG_FRA/db10g/onlinelog/group_3.259.749756971
archive log thread 1 sequence 28 is already on disk as file +DG_FRA/db10g/onlinelog/group_1.257.749756963
archive log filename=+DG_FRA/db10g/onlinelog/group_3.259.749756971 thread=1 sequence=27
archive log filename=+DG_FRA/db10g/onlinelog/group_1.257.749756963 thread=1 sequence=28
media recovery complete, elapsed time: 00:00:02
Finished recover at 29-APR-11
RMAN> alter database open resetlogs;
database opened
RMAN>See I don't need level 0 backup to restore level 1.
Thanks,
Levi PereiraHi Gokhan,
Thank you for point this.
After spending a time studying about this I find out this:
Your expanation apply only in Oracle 10gR1/R2.
Because there is differences between RMAN Version 10gR1/R2 and 11gR1/R2 about Incremental Level 1 and this confuse me.
Oracle 10gR1/R2 run only one backup incremental level 1 even if level 0 not exists .
Oracle 11gR1/R2 run two backups incremental if level 0 not exists. i.e level 0 first and after that level 1.
Oracle 10gR2
If no level 0 backup is available, then the behavior depends upon the compatibility mode setting. If compatibility is >=10.0.0, RMAN copies all blocks changed since the file was created, and stores the results as a level 1 backup. In other words, the SCN at the time the incremental backup is taken is the file creation SCN.
http://download.oracle.com/docs/cd/B19306_01/backup.102/b14192/bkup004.htm
Thats means wich RMAN run level 0 with name level 1. (i.e: Only one Backup) This is confuse.
Oracle 11gR1
If no level 0 backup is available in either the current or parent incarnation, then the behavior varies with the compatibility mode setting. If compatibility is >=10.0.0, RMAN copies all blocks that have been changed since the file was created. Otherwise, RMAN behaves as it did in previous releases, by generating a level 0 backup.
http://download.oracle.com/docs/cd/B28359_01/backup.111/b28270/rcmcncpt.htm#BRADV89500
Oracle 11gR2
If no level 0 backup is available in either the current or parent incarnation, then the behavior varies with the compatibility mode setting. If compatibility is >=10.0.0, RMAN copies all blocks that have been changed since the file was created. Otherwise, RMAN generates a level 0 backup.
http://download.oracle.com/docs/cd/E11882_01/backup.112/e10642/rcmcncpt.htm#BRADV89500
Thats means wich RMAN run (automatically) level 0 first after finish level 0 backup RMAN run level 1 backup (i.e Two Backups). This seems right.
Regards,
Levi Pereira -
Error "backup is corrupt or not compatiable".
I recently got my iphone 4 stolen, so I have borrowed my mom's iphone 3gs, but when I try and back it up, it gives me this error " backup is corrupt or not compatiable." How can I get this information back? I have tried uninstalling itunes and reinstalling. I'm not having any luck with this at all. Please help!!!!!!!!!!!!!!!!!!!!!!!!!!
thanks,
lindseyfromkyEven if deleted all the backups shown in iTunes Preferences>Devices, check the actual backup folder on your computer to be sure there isn't one still there that needs to be deleted. You will find them at one of the following locations:
Windows XP: \Documents and Settings\(username)\Application Data\Apple Computer\MobileSync\Backup\
Windows Vista/7: \Users\(username)\AppData\Roaming\Apple Computer\MobileSync\Backup\
Mac OS X: ~/Library/Application Support/MobileSync/Backup/ -
ERROR: Backup message response: 212 Unable to backup until Setup is finished
Dont backup iphone 8.1.2. Whats up?
AppleMobileBackup[35473]: ERROR: Backup message response: 212 Unable to backup until Setup is finished (MBErrorDomain/212)Additional info since some searchs brought it up. I did install several versions of the iOS 6 beta when it was in beta at the time.
-
Register Database error in Rman
Hi
I have been trying to register a database in RMAN . Here are the steps I took on OS linux Mandrake 8.1 using ORACLE version 9.2.0.1.0
SQL:
CONNECT sys/password@ora AS SYSDBA
CREATE TABLESPACE "RMAN"
DATAFILE 'C:\ORACLE\ORADATA\W2K1\RMAN01.DBF' SIZE 6208K REUSE
AUTOEXTEND ON NEXT 64K MAXSIZE 32767M
EXTENT MANAGEMENT LOCAL
SEGMENT SPACE MANAGEMENT AUTO;
CREATE USER rman IDENTIFIED BY rman
TEMPORARY TABLESPACE temp
DEFAULT TABLESPACE rman
QUOTA UNLIMITED ON rman;
GRANT connect, resource, recovery_catalog_owner TO rman;
rman catalog=rman/rman@ora
Recovery Manager: Release 9.2.0.1.0 - Production
Copyright (c) 1995, 2002, Oracle Corporation. All rights reserved.
connected to recovery catalog database
recovery catalog is not installed
RMAN> create catalog tablespace "RMAN";
recovery catalog created
RMAN> exit
Recovery Manager complete.
rman catalog=rman/rman@ora target=sys/password@w2k2
Recovery Manager: Release 9.2.0.1.0 - Production
Copyright (c) 1995, 2002, Oracle Corporation. All rights reserved.
connected to target database: ora (DBID=1371963417)
connected to recovery catalog database
RMAN> register database;
This is returning the error message
RMAN-00571:
RMAN-00569:
RMAN-00571:
RMAN-03002:failure of register command at 07/16/03 12:56
RMAN-03014:implicit resyncof recovery catalog failed
RMAN-03009:failure of full resync command on default channel at 07/16/03
ORA01001- cursor not valideHi,
Change the name of your tablespace RMAN to CATTBS. I believe RMAN is a reserved word in oracle. -
Time Machine error: backup disk image could not be created
Iet up my new time capsule day and it's working great. Now that I've got everything sorted out, I'm ready to do the initial time machine back up on it. I went into preferences, changed the backup location to my TC and clicked 'back up now'. Very quickly I get a message that the backup failed: "Time Machine Error - The backup disk image could not be created".
I've searched the apple support area but haven't been able to figure this one out. Can anyone help, please? This is an initial backup. (FYI, it worked great on my old external drive.)
Many thanksI had the same problem. I installed my Time Capsule, fired up Time Machine and got an error that said "The backup is too large for the backup volume. The backup requires 436.8 GB but only 182.2GB are available."
Coincidently, these are the same sizes as the space used and the space available on my iMac's drive.
I looked in /Volumes and saw that the sparsebundle was being created on the local disk and not on the main disk. Trying to backup again gave me the "Time Machine error: backup disk image could not be created." message.
I poked around the forums, and found a post about the machine name setting in sharing. I decided to give it a look, and lo and behold, I did not have a machine name. So I gave my box a name, kicked off Time Machine again, and it worked. -
Time Machine Error, Backup to large - 496 avail and only 79 needs backed up
I have a 1 TB TM with 496.9 GB available (I already have 1 computer backed up on TM)
The second computer I want to back up has 80 GB used of a 500 GB HD.
Time Machine prefs show 496.9 GB available on TM and shows the back up will be 79.1 GB total.
But I get a error each time I try to back up saying " Time Machine Error, This backup is too large for the backup volume. The backup requires 614.1 GB but only 496.9 are available."
Two questions:
How can 496.9 GB be to small for a 79.1 GB backup?
Why does a 79.1 GB backup require 614.1 GB of space?
Thank You
DougHere's what Backup Buddy says:
Starting standard backup
Backup destination alias resolved to path: /Volumes/Doug's Time Capsule
Disk image /Volumes/Doug's Time Capsule/Jackie’s_001b63b59975.sparsebundle mounted at: /Volumes/Backup of Jackie’s
Backing up to: /Volumes/Backup of Jackie’s/Backups.backupdb
Event store UUIDs don't match for volume: Backup of Jackie’s
Event store UUIDs don't match for volume: Macintosh HD
Backup content size: 432.7 GB excluded items size: 0 bytes for volume Backup of Jackie’s
Backup content size: 80.2 GB excluded items size: 1007.5 MB for volume Macintosh HD
Starting pre-backup thinning: 614.25 GB requested (including padding), 496.85 GB available
No expired backups exist - deleting oldest backups to make room
Error: backup disk is full - all 0 possible backups were removed, but space is still needed.
Backup Failed: unable to free 614.25 GB needed space
Backup failed with error: Not enough available disk space on the target volume.
Ejected Time Machine disk image.
Ejected Time Machine network volume. -
My Mac mini time capsule is showing an error Time machine error, backup disk image "/volumes/data-1/.sparesbundle " already in use. I don;t know what this means, can someone help?
I had a similar problem and I solved it as follows -
In Time Machine - > I deselected time capsule Data Disk as a destination.
Then I pulled the power plug on the Time Capsule, twiddled my thumbs for 15 secs, plugged the power back in.
Went back t Time Machine -> Re-Added the Time Capsule Data Disk as destination. And then tested by selecting Backup Now.
All went well and the backup picked up from before the problem.
BTW - I also have a USB drive connected to Time Capsule that is an alternate disk for Time Machine to backup.
In Mountain Lion the GUI lets you add more than one Time Machine backup destinations very easily so I think it a good idea to have redundancy.
Hope this helps. -
RMAN throwing errors during Tablespace Backup - RMAN-06004 and RMAN-06019
Hi All.
Please help me to fix trail of error message I'm getting while trying backup of a newly added tablespace in database. I'm using RMAN as a recovery method.
Tablespace Name: test
DB Version: Oracle 10g R1.
OS: Red Hat Linux 5
RMAN> report schema;
Report of database schema
List of Permanent Datafiles
===========================
File Size(MB) Tablespace RB segs Datafile Name
1 490 SYSTEM YES /u01/app/oracle/oradata/qrcl/system01.dbf
2 25 UNDOTBS1 YES /u01/app/oracle/oradata/qrcl/undotbs01.dbf
3 270 SYSAUX NO /u01/app/oracle/oradata/qrcl/sysaux01.dbf
4 23 USERS NO /u01/app/oracle/oradata/qrcl/users01.dbf
5 40 TEST NO /u01/app/test01.dbf
List of Temporary Files
=======================
File Size(MB) Tablespace Maxsize(MB) Tempfile Name
1 20 TEMP 32767 /u01/app/oracle/oradata/qrcl/temp01.dbf
RMAN>
RMAN> backup tablespace "test";
Starting backup at 22-AUG-12
using channel ORA_DISK_1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of backup command at 08/22/2012 11:57:13
RMAN-06004: ORACLE error from recovery catalog database: RMAN-20202: tablespace not found in the recovery catalog
RMAN-06019: could not translate tablespace name "test"
RMAN> restore tablespace test;
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00558: error encountered while parsing input commands
RMAN-01009: syntax error: found "test": expecting one of: "double-quoted-string, identifier, single-quoted-string"
RMAN-01007: at line 1 column 20 file: standard input
I tried to update Catalog Server but still no luck:
RMAN> RESYNC CATALOG;
starting full resync of recovery catalog
full resync complete
Please Assist.
Thanks
Prashant DixitHello Prashant;
The main issue is your tablespace name is an RMAN Reserved Word "Test"
http://docs.oracle.com/cd/B13789_01/server.101/b10770/rcmcomma.htm#1006728
Different test
-- Create the tablespace
CREATE TABLESPACE OTN_TEST DATAFILE
'/u01/oradata/RECOVER2/test01.dbf' SIZE 1M AUTOEXTEND OFF
LOGGING
ONLINE;-- Create a user for the tablespace
CREATE USER RMAN_TEST
IDENTIFIED BY RMAN_TEST
DEFAULT TABLESPACE OTN_TEST
TEMPORARY TABLESPACE TEMP
PROFILE DEFAULT
ACCOUNT UNLOCK;
ALTER USER RMAN_TEST QUOTA UNLIMITED ON "OTN_TEST"; -- Create a table in the tablespace
CREATE TABLE RMAN_TEST.EMP
EMPNO NUMBER,
ENAME VARCHAR2(30 BYTE),
JOB VARCHAR2(30 BYTE),
MGR NUMBER,
HIREDATE DATE,
SAL NUMBER,
COMM NUMBER,
DEPTNO NUMBER
TABLESPACE OTN_TEST;-- Add some data
SET DEFINE OFF;
Insert into RMAN_TEST.EMP
(EMPNO, ENAME, JOB, MGR, HIREDATE, SAL, COMM, DEPTNO)
Values
(7369, 'SMITH', 'CLERK', 7902, TO_DATE('12/17/1980 00:00:00', 'MM/DD/YYYY HH24:MI:SS'),
800, 20, 0);
Insert into RMAN_TEST.EMP
(EMPNO, ENAME, JOB, MGR, HIREDATE, SAL, COMM, DEPTNO)
Values
(5000, 'NOCATALOG', 'DBA', 77902, TO_DATE('04/01/2010 00:00:00', 'MM/DD/YYYY HH24:MI:SS'),
200, 0, 0);
COMMIT;-- start RMAN and backup tablespace
RMAN> BACKUP TABLESPACE OTN_TEST;
Starting backup at 22-AUG-12
starting full resync of recovery catalog
full resync complete
using channel ORA_DISK_1
channel ORA_DISK_1: starting full datafile backup set
channel ORA_DISK_1: specifying datafile(s) in backup set
input datafile file number=00007 name=/u01/oradata/RECOVER2/test01.dbf
channel ORA_DISK_1: starting piece 1 at 22-AUG-12
channel ORA_DISK_1: finished piece 1 at 22-AUG-12
piece handle=/u01/app/oracle/flash_recovery_area/RECOVER2/backupset/2012_08_22/o1_mf_nnndf_TAG20120822T080711_839pczng_.bkp tag=TAG20120822T080711 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:01
Finished backup at 22-AUG-12
Starting Control File and SPFILE Autobackup at 22-AUG-12
piece handle=/u01/app/oracle/flash_recovery_area/RECOVER2/autobackup/2012_08_22/o1_mf_s_791971633_839pd1bm_.bkp comment=NONE
Finished Control File and SPFILE Autobackup at 22-AUG-12
Note
If you dropped the tablespace then you need to recover the database to a point in time, not the tablespace.
Best Regards
mseberg -
ORA-01858 error in RMAN during backup backupset format '/test/rman/%U'
Hello!
I am trying to perform bacup using command
RMAN> backup backupset completed after 'sysdate-1' format '/tmp/test/%U';
as described in:
asmcmd scripts
All backupsets are copied to /tmp/test/.
Everything is going fine except the last message from RMAN:
input backupset count=5342 stamp=660348635 creation_time=17-JUL-08
channel ORA_DISK_1: starting piece 1 at 18-JUL-08
piece handle=/tmp/test/6ujlo7mr_1_2 comment=NONE
channel ORA_DISK_1: finished piece 1 at 18-JUL-08
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:15
input backupset count=5343 stamp=660348722 creation_time=17-JUL-08
channel ORA_DISK_1: starting piece 1 at 18-JUL-08
piece handle=/tmp/test/6vjlo7pi_1_2 comment=NONE
channel ORA_DISK_1: finished piece 1 at 18-JUL-08
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:15
input backupset count=5344 stamp=660348810 creation_time=17-JUL-08
channel ORA_DISK_1: starting piece 1 at 18-JUL-08
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of backup command on ORA_DISK_1 channel at 07/18/2008 10:59:48
ORA-01858: a non-numeric character was found where a numeric was expected
I suspect that rman is performing, at the end of backup, some internal work (store something in control file based catalog or so) and catches ORA-01858.
The destination catalog is local catalog (not nfs mounted remote dir).
RMAN is spawned from the same node the Oracle Database is running on.
I tested it on two servers.
Error occurs on both of them:
version 10g (ia-32) - flash recovery area on filesystem
and version 11g (Aix) - flash on ASM
RMAN-oracle10> show all ;
using target database controlfile instead of recovery catalog
RMAN configuration parameters are:
CONFIGURE RETENTION POLICY TO REDUNDANCY 1;
CONFIGURE BACKUP OPTIMIZATION OFF;
CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
CONFIGURE CONTROLFILE AUTOBACKUP ON;
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
CONFIGURE DEVICE TYPE DISK BACKUP TYPE TO COMPRESSED BACKUPSET PARALLELISM 1;
CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE MAXSETSIZE TO UNLIMITED; # default
CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/opt/oracle/10gSE/dbs/snap_dbname.dbf'; # default
RMAN-oracle11> show all ;
using target database control file instead of recovery catalog
RMAN configuration parameters for database with db_unique_name O2DB are:
CONFIGURE RETENTION POLICY TO REDUNDANCY 1; # default
CONFIGURE BACKUP OPTIMIZATION OFF; # default
CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
CONFIGURE CONTROLFILE AUTOBACKUP ON;
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO COMPRESSED BACKUPSET;
CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE MAXSETSIZE TO UNLIMITED; # default
CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
CONFIGURE COMPRESSION ALGORITHM 'BZIP2'; # default
CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/u01/app/oracle/product/11.1.0/dbname_1/dbs/snapcf_dbname.f';
How to diagnose the problem?
How check what RMAN is exactly doing when error occurs?
Or maybe there is better way to achieve this:
I want to move backupset from asm realm to remote server without storing them on local, non asm disk.
Any suggestions kindly welcome!
Thanx!Solution:
NLS_DATE_FORMAT mus be set mannualy;
export NLS_DATE_FORMAT='YYYY_MM_DD'
solved the problem..
https://metalink.oracle.com/metalink/plsql/f?p=130:15:12788270042070262572::::p15_database_id,p15_docid,p15_show_header,p15_show_help,p15_black_frame,p15_font:BUG,6198368,1,1,1,helvetica
Metalinking before posting is the rule of thumb : ) -
Hi Experts,
I'm facing the following error while running my RMAN script.
Server : Sun Solaris 5.10
DB : Oracle 10gR2
RMAN> connect *********
2> connect *********
3> run
4> {
5> CONFIGURE CHANNEL DEVICE TYPE 'SBT_TAPE'
6> PARMS 'ENV=(NSR_SERVER=namibia,NSR_DATA_VOLUME_POOL=KBAPS,NSR_CLIENT=kenya)' ;
7> configure device type sbt PARALLELISM 12;
8> allocate channel ch01 type sbt
9> PARMS 'ENV=(NSR_SERVER=namibia,NSR_DATA_VOLUME_POOL=KBAPS,NSR_CLIENT=kenya)' ;
10> allocate channel ch02 type sbt
11> PARMS 'ENV=(NSR_SERVER=namibia,NSR_DATA_VOLUME_POOL=KBAPS,NSR_CLIENT=kenya)' ;
12> allocate channel ch03 type sbt
13> PARMS 'ENV=(NSR_SERVER=namibia,NSR_DATA_VOLUME_POOL=KBAPS,NSR_CLIENT=kenya)' ;
14> allocate channel ch04 type sbt
15> PARMS 'ENV=(NSR_SERVER=namibia,NSR_DATA_VOLUME_POOL=KBAPS,NSR_CLIENT=kenya)' ;
16> allocate channel ch05 type sbt
17> PARMS 'ENV=(NSR_SERVER=namibia,NSR_DATA_VOLUME_POOL=KBAPS,NSR_CLIENT=kenya)' ;
18> allocate channel ch06 type sbt
19> PARMS 'ENV=(NSR_SERVER=namibia,NSR_DATA_VOLUME_POOL=KBAPS,NSR_CLIENT=kenya)' ;
20> allocate channel ch07 type sbt
21> PARMS 'ENV=(NSR_SERVER=namibia,NSR_DATA_VOLUME_POOL=KBAPS,NSR_CLIENT=kenya)' ;
22> allocate channel ch08 type sbt
23> PARMS 'ENV=(NSR_SERVER=namibia,NSR_DATA_VOLUME_POOL=KBAPS,NSR_CLIENT=kenya)' ;
24> allocate channel ch09 type sbt
25> PARMS 'ENV=(NSR_SERVER=namibia,NSR_DATA_VOLUME_POOL=KBAPS,NSR_CLIENT=kenya)' ;
26> allocate channel ch10 type sbt
27> PARMS 'ENV=(NSR_SERVER=namibia,NSR_DATA_VOLUME_POOL=KBAPS,NSR_CLIENT=kenya)' ;
28> allocate channel ch11 type sbt
29> PARMS 'ENV=(NSR_SERVER=namibia,NSR_DATA_VOLUME_POOL=KBAPS,NSR_CLIENT=kenya)' ;
30> allocate channel ch12 type sbt
31> PARMS 'ENV=(NSR_SERVER=namibia,NSR_DATA_VOLUME_POOL=KBAPS,NSR_CLIENT=kenya)' ;
32>
33> catalog controlfilecopy '/hist/archv/PRODCDRS/control_files/control_backup';
34> backup format 'ctl_%d_%s_%p_%t' controlfilecopy
'/hist/archv/PRODCDRS/control_files/control_backup';
35>
36> backup full filesperset 6 format 'fulldb_%d_%s_%p_%t' (database) ;
37> backup format 'archv_%d_%s_%p_%t' (archivelog all);
38>
39> release channel ch01;
40> release channel ch02;
41> release channel ch03;
42> release channel ch04;
43> release channel ch05;
44> release channel ch06;
45> release channel ch07;
46> release channel ch08;
47> release channel ch09;
48> release channel ch10;
49> release channel ch11;
50> release channel ch12;
51> }
52>
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
ORA-12528: TNS:listener: all appropriate instances are blocking new connections
Recovery Manager complete.
Any input will be highly appreciated.
Thanks
~Pointer~Host:root:/orabin/rman$ lsnrctl status
LSNRCTL for Solaris: Version 10.2.0.1.0 - Production on 06-OCT-2007 01:42:34
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
STATUS of the LISTENER
Alias LISTENER_RMAn
Version TNSLSNR for Solaris: Version 10.2.0.1.0 - Production
Start Date 05-AUG-2007 13:51:59
Uptime 61 days 11 hr. 50 min. 35 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /orabin/rman/oracle/product/10.2.0/network/admin/listener.ora
Listener Log File /orabin/rman/oracle/product/10.2.0/network/log/listener_rman.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=kenya)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC0)))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "PRODCDRS" has 1 instance(s).
Instance "CDRS", status READY, has 1 handler(s) for this service...
Service "PRODCDRS_XPT" has 1 instance(s).
Instance "CDRS", status READY, has 1 handler(s) for this service...
Service "RMAN" has 2 instance(s).
Instance "CDRS", status UNKNOWN, has 1 handler(s) for this service...
Instance "RMAN", status READY, has 1 handler(s) for this service...
Service "RMANXDB" has 1 instance(s).
Instance "RMAN", status READY, has 1 handler(s) for this service...
Service "RMAN_XPT" has 1 instance(s).
Instance "RMAN", status READY, has 1 handler(s) for this service...
The command completed successfully
Regards,
~Pointer~
Maybe you are looking for
-
ITunes 9.0 pausing when skipping a song off of a USB external drive
This is not random and is very much related to iTunes 9.0, because it didn't exist with 8.0. Or well, I could normally skip through 3-4 songs off the external HDD before a similar short pause, and I just always figured it was a normal buffer issue of
-
How "not to set locale " in user's profile?
In the "Oracle Universal Content Management 11gR1 Differences between 11gR1 and 10gR3" document http://www.oracle.com/technology/products/content-management/ucm/diffsbetween10gand11g.pdf says: "If locale is not set in a user's profile, Content Server
-
my iphone is not turning on its freeze on the black screen with the apple
-
Expense Account for Item Group
Dear All, I have a question for the G/L account of Item Group. If we purchase something from our vendor, the first account 'Expense Account' should be increase. Is that correct? But our customer would like to have a Asset Account increase because tha
-
Master Data ------ Source and Target Mapping
I want to know the source and target mapping of some master data elements like plant,vendor,customer,workcenter. Where can I get it. Please provide the relevant documents or links.