- 论坛徽章:
- 0
|
无语了,今天把上面的代码拷到另外一台虚拟机上,结果在使用虚拟带库和使用磁盘做为Storage Units都可以备份成功。但我还没找到为什么在上次那虚拟机上不成功的原因
- ==== started on 2009-07-05 星期日 13:36 ====
- Script name: "C:\nbubackupscripts\nbuhot_database_backup.cmd"
- #
- RMAN : c:\oracle\product\10.1.0\Db_1\bin\rman.exe
- NLS_LANG : american
- ORACLE_HOME : c:\oracle\product\10.1.0\Db_1
- ORACLE_SID : orcl
- NLS_DATE_FORMAT : YYYY-MM-DD:hh24:mi:ss
- RMAN_LOG_FILE : "c:\nbubackupscripts\nbuhot_database_backup.out"
- NB_ORA_SERV : mastersrv
- NB_ORA_FULL : 1
- NB_ORA_INCR : 0
- NB_ORA_CINC : 0
- NB_ORA_CLASS : oracle
- Recovery Manager: Release 10.1.0.2.0 - Production
- Copyright (c) 1995, 2004, Oracle. All rights reserved.
- connected to target database: ORCL (DBID=1214188000)
- using target database controlfile instead of recovery catalog
- RMAN> 2> 3> 4> 5> 6> 7> 8> 9> 10> 11> 12> 13> 14> 15> 16> 17> 18>
- allocated channel: ch00
- channel ch00: sid=140 devtype=SBT_TAPE
- channel ch00: Veritas NetBackup for Oracle - Release 6.5 (20070723)
- allocated channel: ch01
- channel ch01: sid=133 devtype=SBT_TAPE
- channel ch01: Veritas NetBackup for Oracle - Release 6.5 (20070723)
- Starting backup at 2009-07-05:13:36:52
- channel ch00: starting incremental level 0 datafile backupset
- channel ch00: specifying datafile(s) in backupset
- input datafile fno=00001 name=C:\ORACLE\PRODUCT\10.1.0\ORADATA\ORCL\SYSTEM01.DBF
- input datafile fno=00004 name=C:\ORACLE\PRODUCT\10.1.0\ORADATA\ORCL\USERS01.DBF
- channel ch00: starting piece 1 at 2009-07-05:13:36:52
- channel ch01: starting incremental level 0 datafile backupset
- channel ch01: specifying datafile(s) in backupset
- input datafile fno=00003 name=C:\ORACLE\PRODUCT\10.1.0\ORADATA\ORCL\SYSAUX01.DBF
- input datafile fno=00002 name=C:\ORACLE\PRODUCT\10.1.0\ORADATA\ORCL\UNDOTBS01.DBF
- channel ch01: starting piece 1 at 2009-07-05:13:36:52
- channel ch00: finished piece 1 at 2009-07-05:13:38:24
- piece handle=bk_u0kkjcgjk_s20_p1_t691421812 comment=API Version 2.0,MMS Version 5.0.0.0
- channel ch00: backup set complete, elapsed time: 00:01:32
- channel ch01: finished piece 1 at 2009-07-05:13:39:00
- piece handle=bk_u0lkjcgjk_s21_p1_t691421812 comment=API Version 2.0,MMS Version 5.0.0.0
- channel ch01: backup set complete, elapsed time: 00:02:08
- Finished backup at 2009-07-05:13:39:01
- Starting Control File and SPFILE Autobackup at 2009-07-05:13:39:01
- piece handle=c-1214188000-20090705-04 comment=API Version 2.0,MMS Version 5.0.0.0
- Finished Control File and SPFILE Autobackup at 2009-07-05:13:39:46
- sql statement: alter system archive log current
- released channel: ch00
- released channel: ch01
- allocated channel: ch00
- channel ch00: sid=140 devtype=SBT_TAPE
- channel ch00: Veritas NetBackup for Oracle - Release 6.5 (20070723)
- Starting backup at 2009-07-05:13:39:47
- current log archived
- channel ch00: starting archive log backupset
- channel ch00: specifying archive log(s) in backup set
- input archive log thread=1 sequence=1 recid=3 stamp=686414531
- input archive log thread=1 sequence=2 recid=4 stamp=686940474
- input archive log thread=1 sequence=3 recid=5 stamp=686940989
- input archive log thread=1 sequence=4 recid=6 stamp=686942721
- input archive log thread=1 sequence=5 recid=7 stamp=687200251
- input archive log thread=1 sequence=6 recid=8 stamp=687283272
- input archive log thread=1 sequence=7 recid=9 stamp=691326720
- input archive log thread=1 sequence=8 recid=10 stamp=691334430
- input archive log thread=1 sequence=9 recid=11 stamp=691340432
- input archive log thread=1 sequence=10 recid=12 stamp=691418977
- input archive log thread=1 sequence=11 recid=13 stamp=691419614
- input archive log thread=1 sequence=12 recid=14 stamp=691419614
- input archive log thread=1 sequence=13 recid=15 stamp=691420147
- input archive log thread=1 sequence=14 recid=16 stamp=691420149
- input archive log thread=1 sequence=15 recid=17 stamp=691421987
- input archive log thread=1 sequence=16 recid=18 stamp=691421988
- channel ch00: starting piece 1 at 2009-07-05:13:39:50
- channel ch00: finished piece 1 at 2009-07-05:13:40:36
- piece handle=arch-s23-p1 comment=API Version 2.0,MMS Version 5.0.0.0
- channel ch00: backup set complete, elapsed time: 00:00:47
- channel ch00: starting archive log backupset
- channel ch00: specifying archive log(s) in backup set
- input archive log thread=1 sequence=5 recid=1 stamp=686410540
- input archive log thread=1 sequence=6 recid=2 stamp=686410545
- channel ch00: starting piece 1 at 2009-07-05:13:40:37
- channel ch00: finished piece 1 at 2009-07-05:13:41:12
- piece handle=arch-s24-p1 comment=API Version 2.0,MMS Version 5.0.0.0
- channel ch00: backup set complete, elapsed time: 00:00:36
- Finished backup at 2009-07-05:13:41:12
- Starting Control File and SPFILE Autobackup at 2009-07-05:13:41:12
- piece handle=c-1214188000-20090705-05 comment=API Version 2.0,MMS Version 5.0.0.0
- Finished Control File and SPFILE Autobackup at 2009-07-05:13:41:57
- released channel: ch00
- RMAN>
- Recovery Manager complete.
- #
复制代码 |
|