bin/tar -zcf $(date +%Y%m%d) /var/log //定期备份 bin/tar zxf 20181217 //解压可查看 crontab -e */3 * * bin/tar -zcf $(date +Y%m%d) /var/log 计划任务