发布时间:2015-05-25 15:04:59
显示前十个文件[root@localhost smgpbi]# ls -1 | sort -u | head -101.首先查看文件个数,进入所在的文件# find . -name "*" | wc -l或者# ll |grep "^-" |wc -l2.查看文件个数查看120天前的文件个数# find . -mtime +120 | wc -l一般如果是小文件,控制在10-20万左右。解释:-.........【阅读全文】
发布时间:2015-05-25 15:03:42
一、数据库全备RUN {ALLOCATE CHANNEL ch00 DEVICE TYPE disk;ALLOCATE CHANNEL ch01 DEVICE TYPE disk;backup as compressed backupset database filesperset 5 format '/apps/oracle_backup_20141209/bk_%d_%T%s_%p' ;backup current controlfile format '/apps/oracle_backup_20141209/ctl_%d_%T_%s';RELEASE.........【阅读全文】