Oracle 11g RMAN multiplexing 備份指令碼

feelpurple發表於2016-05-11
echo "The operation starts .." >> /home/oracle/rman_timetable.log
echo `date` >> /home/oracle/rman_timetable.log
rman target / log=/home/oracle/rman.log << EOF
RUN
{
allocate channel C1 device type disk MAXOPENFILES 120;
allocate channel C2 device type disk MAXOPENFILES 120;
backup as compressed backupset database format '/bk/bak_%U' FILESPERSET 80;
release channel C1;
release channel C2;
}
exit
EOF
echo "The operation finished .." >> /home/oracle/rman_timetable.log
echo `date` >> /home/oracle/rman_timetable.log

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/26506993/viewspace-2097700/,如需轉載,請註明出處,否則將追究法律責任。

相關文章