Oracle rman自動備份指令碼

2021-06-09 07:12:38 字數 408 閱讀 1711

#!/bin/sh

. /opt/oracle/.bash_profile

pwd_sys="/"

bak_dir="/opt/oracle/backup/oatest"

begin_seq=$(

sqlplus -s $' as sysdba' <#crosscheck backupset;

#crosscheck archivelog all;

#delete expired backupset;

#delete expired archivelog all;

#0 4 * * * /opt/oracle/backup/oatest/backup_rman.sh >> /opt/oracle/backup/oatest/backup_rman.log 2>&1 &

oracle rman自動備份指令碼

bin sh opt oracle bash profile pwd sys bak dir opt oracle backup oatest begin seq sqlplus s as sysdba crosscheck backupset crosscheck archivelog all d...

Oracle Rman 備份指令碼

oracle dbservera crontab l 0 0 u01 rmanbak rmanbak.sh u01 rmanbak rmanbak.log 2 1 oracle dbservera cat u01 rmanbak rmanbak.sh bin bash bash profile ec...

Oracle RMAN簡單備份

oracle資料庫rman備份 準備工作 查詢資料庫是否為歸檔模式 sql select name,log mode from v database 1.sql alter system set log archive dest 1 location oracle oracle10g log arc...