Sie sind auf Seite 1von 3

C:\Users\test>rman target / Recovery Manager: Release 10.2.0.3.

0 - Production on Sat Jun 18 18:00:16 2011 Copyright (c) 1982, 2005, Oracle. All rights reserved. connected to target database: HARRY (DBID=2249710025) RMAN> show all; using target database control file instead of recovery catalog RMAN configuration parameters are: CONFIGURE RETENTION POLICY TO REDUNDANCY 1; # default CONFIGURE BACKUP OPTIMIZATION OFF; # default CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default CONFIGURE CONTROLFILE AUTOBACKUP OFF; # default CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default 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 ARCHIVELOG DELETION POLICY TO NONE; # default CONFIGURE SNAPSHOT CONTROLFILE NAME TO 'C:\ORACLE\PRODUCT\10.2.0\DB_2\DATABASE\S NCFHARRY.ORA'; # default RMAN> CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO 'c:\harry\ backup\%d_%T_%U.cf'; RMAN-00571: RMAN-00569: RMAN-00571: RMAN-03002: RMAN-06492: cify a "%F" =========================================================== =============== ERROR MESSAGE STACK FOLLOWS =============== =========================================================== failure of configure command at 06/18/2011 18:01:22 controlfile autobackup format "c:\harry\backup\%d_%T_%U.cf" must spe format specifier

RMAN> CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO 'c:\harry\ backup\%F_%U.cf'; new RMAN configuration parameters: CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO 'c:\harry\backup \%F_%U.cf'; new RMAN configuration parameters are successfully stored RMAN> CONFIGURE CONTROLFILE AUTOBACKUP ON; new RMAN configuration parameters: CONFIGURE CONTROLFILE AUTOBACKUP ON; new RMAN configuration parameters are successfully stored RMAN> CONFIGURE CONTROLFILE AUTOBACKUP ON; old RMAN configuration parameters: CONFIGURE CONTROLFILE AUTOBACKUP ON; new RMAN configuration parameters: CONFIGURE CONTROLFILE AUTOBACKUP ON; new RMAN configuration parameters are successfully stored

RMAN> RMAN> RMAN> run{ 2> allocate channel d1 type disk; 3> allocate channel d2 type disk; 4> backup database format 'c:\harry\backup\%d_%T_%U.bk' plus archivelog format ' c:\harry\backup\%d_%T_%U.al'; 5> } allocated channel: d1 channel d1: sid=140 devtype=DISK allocated channel: d2 channel d2: sid=139 devtype=DISK Starting backup at 18-JUN-11 current log archived channel d1: starting archive log backupset channel d1: specifying archive log(s) in backup set input archive log thread=1 sequence=4 recid=1 stamp=754164345 channel d1: starting piece 1 at 18-JUN-11 channel d1: finished piece 1 at 18-JUN-11 piece handle=C:\HARRY\BACKUP\HARRY_20110618_07MF78JQ_1_1.AL tag=TAG20110618T1805 45 comment=NONE channel d1: backup set complete, elapsed time: 00:00:04 Finished backup at 18-JUN-11 Starting backup at 18-JUN-11 channel d1: starting full datafile backupset channel d1: specifying datafile(s) in backupset input datafile fno=00001 name=C:\HARRY\HARRY\SYSTEM01.DBF input datafile fno=00004 name=C:\HARRY\HARRY\USERS01.DBF input datafile fno=00006 name=C:\HARRY\HARRY\HARRY02.DBF channel d1: starting piece 1 at 18-JUN-11 channel d2: starting full datafile backupset channel d2: specifying datafile(s) in backupset input datafile fno=00003 name=C:\HARRY\HARRY\SYSAUX01.DBF input datafile fno=00002 name=C:\HARRY\HARRY\UNDOTBS01.DBF input datafile fno=00005 name=C:\HARRY\HARRY\HARRY01.DBF channel d2: starting piece 1 at 18-JUN-11 channel d2: finished piece 1 at 18-JUN-11 piece handle=C:\HARRY\BACKUP\HARRY_20110618_09MF78JV_1_1.BK tag=TAG20110618T1805 50 comment=NONE channel d2: backup set complete, elapsed time: 00:00:57 channel d1: finished piece 1 at 18-JUN-11 piece handle=C:\HARRY\BACKUP\HARRY_20110618_08MF78JV_1_1.BK tag=TAG20110618T1805 50 comment=NONE channel d1: backup set complete, elapsed time: 00:00:58 Finished backup at 18-JUN-11 Starting backup at 18-JUN-11 current log archived channel d1: starting archive log backupset channel d1: specifying archive log(s) in backup set input archive log thread=1 sequence=5 recid=2 stamp=754164409 channel d1: starting piece 1 at 18-JUN-11 channel d1: finished piece 1 at 18-JUN-11

piece handle=C:\HARRY\BACKUP\HARRY_20110618_0AMF78LQ_1_1.AL tag=TAG20110618T1806 49 comment=NONE channel d1: backup set complete, elapsed time: 00:00:02 Finished backup at 18-JUN-11 Starting Control File and SPFILE Autobackup at 18-JUN-11 released channel: d1 released channel: d2 RMAN-00571: =========================================================== RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS =============== RMAN-00571: =========================================================== RMAN-03009: failure of Control File and SPFILE Autobackup command on d1 channel at 06/18/2011 18:06:55 ORA-19715: invalid format c for generated name ORA-27302: failure occurred at: slgpn RMAN>

Das könnte Ihnen auch gefallen