ITPub博客

首页 > Linux操作系统 > Linux操作系统 > 备份文件的管理(rman,find,gzip etc.)

备份文件的管理(rman,find,gzip etc.)

原创 Linux操作系统 作者:tengrid 时间:2009-05-18 18:52:50 0 删除 编辑

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/,如需转载,请注明出处,否则将追究法律责任。

下一篇: datafile on nfs mount
请登录后发表评论 登录
全部评论

注册时间:2009-05-18

  • 博文量
    136
  • 访问量
    385096