- 论坛徽章:
- 0
|
bbb.tpl的内容:
#^oracle template configuration file <<MUST BE FIRST IN FILE, DO NOT REMOVE>>
# -----------------------------------------------------------------
# Veritas NetBackup for oracle: Backup Configuration Template
# $VRTScprght: Copyright 1993 - 2009 Symantec Corporation, All Rights Reserved $
#
# Template level: 1.9.0
# Generated on: 04/26/12 13:19:48
# -----------------------------------------------------------------
TEMPLATE_ID1=15456
TEMPLATE_ID2=8106
TEMPLATE_OWNER=Administrator
# -----------------------------------------------------------------
# BACKUP_TYPE is derived from the schedule type when this script
# is used in a NetBackup scheduled backup. For example, when:
# schedule type is BACKUP_TYPE is
# ---------------- --------------
# Automatic Full INCREMENTAL LEVEL=0
# Automatic Differential Incremental INCREMENTAL LEVEL=1
# Automatic Cumulative Incremental INCREMENTAL LEVEL=1 CUMULATIVE
#
# For a non-proxy user initiated backup, BACKUP_TYPE is defined as shown.
# -----------------------------------------------------------------
BACKUP_TYPE=INCREMENTAL LEVEL=0
ORACLE_HOME=c:\oracle\product\10.2.0\db_2
ORACLE_SID=TEST
# -----------------------------------------------------------------
# RMAN command section
# -----------------------------------------------------------------
RUN {
ALLOCATE CHANNEL ch00
TYPE 'SBT_TAPE';
SEND 'NB_ORA_CLIENT=pengfei-d6f6m0t,NB_ORA_POLICY=oracle_ts_users,NB_ORA_SERV=pengfei-d6f6m0t';
BACKUP
INCREMENTAL LEVEL=0
FORMAT 'bk_u%u_s%s_p%p_t%t'
TABLESPACE
'USERS';
RELEASE CHANNEL ch00;
# Control file backup
ALLOCATE CHANNEL ch00
TYPE 'SBT_TAPE';
SEND 'NB_ORA_CLIENT=pengfei-d6f6m0t,NB_ORA_POLICY=oracle_ts_users,NB_ORA_SERV=pengfei-d6f6m0t';
BACKUP
FORMAT 'ctrl_u%u_s%s_p%p_t%t'
CURRENT CONTROLFILE;
RELEASE CHANNEL ch00;
}
我将SEND那2行按网上说的改为:
parms='ENV=(NB_ORA_CLIENT=pengfei-d6f6m0t,NB_ORA_POLICY=oracle_ts_users,NB_ORA_SERV=pengfei-d6f6m0t)';
依然不行 |
|