oracle定时备份压缩的实现步骤
1)需创建存储目录mkdir backup2)编写shell脚步#!/bin/bashexport ORACLE_BASE=/opt/oracle –路径需按照实际路径更改export ORACLE_HOME=$ORACLE_BASE/ora10gr2/db_1 –路径需按照实际路径更改export PATH=$ORACLE_HOME/bin:$PATHd=$(date ‘+%d’)exp metabase/metabase@dskdb file=/home/oracle/backup/’metabase’$d.dmp exp data/data@dskdb file=/home/o