标签:
it |
分类: ora错误分析 |
connect target /
crosscheck archivelog all;
run{
allocate channel c1 type disk
allocate channel c2 type disk
allocate channel c3 type disk maxpiecesize=2000M;
Backup format 'g:\rmanbak\%d_%s_%p_%c_%t_arc'
release channel c1;
release channel c2;
release channel c3;
}
执行中第一次出现的错误:
恢复管理器:版本8.1.7.0.0 - Production
RMAN>connect target /
2> crosscheck archivelog
RMAN-00571:
===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS
===============
RMAN-00571:
===========================================================
RMAN-00558: error encountered while parsing input commands
RMAN-01005: syntax error: found "archivelog": expecting one of:
"backup,backupset"
RMAN-01007: at line 2 column 12 file: ic_backup_arc.rcv
错误原因:
crosscheck archivelog all; 语句为验证归档日志,但是此语句适合在9i以上环境中使用,在8i中此语句为:change archivelog all crosscheck;
修改了此crosscheck语句后,再执行以上rman,又提示错误:
错误原因:
使用了maxpiecesize=2000M,此种用法也是在9i中使用,在8i中使用方法如下:
allocate channel c1 type disk;
set limit channel c1 kbytes 2048000;

加载中…