#!/bin/bash#NAME:backup.sh#2006-03-24Ver1.0Osmond##请根据您的需要修改如下变量的值BACKUPDIR=/backups/dat#备份文件存放的目录BACKUPLISTDIR=/backups/list#要备份目录的文件列表BACKUPLOGDIR=/backups/logs#存放上次完全备份时间文件的目录TARPATH="/bin/tar"#tar的完整路径TARCOMPRESS="-z"#压缩算法("-z"|"-j"|"")BACKUPKEEPDAYS=