HistoryPurge: Clearing 219 old commits

This commit is contained in:
xpk
2024-10-24 23:09:21 +08:00
commit d08b7cac59
348 changed files with 376141 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
#!/bin/bash
export ORACLE_BASE=/u01/app/oracle
export ORACLE_HOME=/u01/app/oracle/product/12.2.0.1/db_home
export PATH=$ORACLE_HOME/bin:$PATH
export LOG_DIR=/orabackup/logs
export DATE=$(date +%d)
for i in bvcprsu1 bvalfpr1 bvcprsw1; do
export ORACLE_SID=$i
rman cmdfile=/orabackup/scripts/rman-archivelog-backup.rcv log=$LOG_DIR/${DATE}_${ORACLE_SID}.log
done