12
# 把 nginx.conf 及 sites-available, sites-enabled 目录压缩以日期结尾备份tar -czvf nginx_$(date +'%F_%H-%M-%S').tar.gz nginx.conf sites-available/ sites-enabled/