- 论坛徽章:
- 0
|
环境:solaris9 for x86+oracle817+Legato NetWorker nmo3.5
前提:Legato文件备份正常;
我想做一个nocatalog的备份测试;
脚本已经做好;名字为online_db
我手工用rman做备份是ok的;
su - oracle
$>;rman nocatalog
rman>;@online_db
一切正常;
online_bd内容如下:
connect target sys/sys@data14;
run{
allocate channel t1 type 'SBT_TAPE'
parms 'ENV=(NSR_SERVER=test2,NSR_CLIENT=sol9x,NSR_DATA_VOLUME_POOL=delteq)'; allocate channel t2 type 'SBT_TAPE'
parms 'ENV=(NSR_SERVER=test2,NSR_CLIENT=sol9x,NSR_DATA_VOLUME_POOL=delteq)';
backup full filesperset 4
format 'test_%s_%p_%u'
(database include current controlfile);
sql 'alter system switch logfile';
release channel t1;
release channel t2;
}
不知道如何修改该教本,才能正常完成 NetWorker的schedule备份?
谢谢DX指教了!! |
|