参考来源:https://blog.csdn.net/u014797226/article/details/80229887
https://www.jianshu.com/p/dd875cb28414
sudo su
cd /
$ tar cvpzf /home/ubuntu_`date +%Y%m%d_%H`.tgz --exclude=/proc --exclude=/lost+found --exclude=/home/ubuntu_`date +%Y%m%d_%H`.tgz --exclude=/mnt --exclude=/sys --exclude=/media /