Tar
通过ssh用tar备份rootfs¶
ssh [email protected] 'tar cpf - --exclude=/proc --exclude=/lost+found --exclude=/mnt --exclude=/sys --exclude=/media /' > rootfs-$(date +%Y%m%d).tar
ssh [email protected] 'tar cpf - --exclude=/proc --exclude=/lost+found --exclude=/mnt --exclude=/sys --exclude=/media /' > rootfs-$(date +%Y%m%d).tar