備份檔案的管理(rman,find,gzip etc.)

tengrid發表於2009-05-18

My Unix Rman scrīpt runs Rman that puts the backups in a certain
directory.  I use the find command to compress all files that have not
already been compressed. (find $BACKUP_DIR/* \! -name '*.gz' -print
-exec gzip {} \;)

These files are backed up by another tape process.  I also use the find
command to keep the directory clean (files older than a week are
deleted).

I Ungzip the files for the weekly validate run or when we need Rman to
run a restore/rollback.  Easy enough to do.

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

相關文章