NBU7.1 -LIUNX-ORACLE
客户端和服务器加hosts
查看磁盘空间DF -H
tar -xvf解压
数据库 link
su - oracle
$/usr/openv/netbackup/bin/oracle_link
[root@SHLPASSETDB01 NetBackup_7.1_CLIENTS]# ./install
启用oracle归档
su - oracle
sqlplus / as sysdba
alter system set log_archive_dest='/oradata/archive_log';
shutdown immediate
startup mount
alter database archivelog;
alter database open;
在NBU SERVER添加ORACLE备份策略
cp /usr/open/netbackup/ext/db_ext/samples/rman/hot_database_backup.sh
/usr/open/scripts/
chmod 777 /usr/open/scripts/hot_database_backup.sh
vi hot_database_backup.sh
修改如下
ORACLE_HOME=/u01/app/oracle/product/10.2.0/db_1
export ORACLE_HOME
(show parameter instance_name)
ORACLE_SID=ASSETDB1
export ORACLE_SID
ORACLE_USER=oracle
TARGET_CONNECT_STR=/
:wq