ubuntu用u盘备份的方法:
1.挂载u盘,例如挂载到media/cgp目录下:
umount /media/cgp/4A048CCE048CBE87/mount /dev/sdb4 /backup/
umount /media/cgp/4A048CCE048CBE87/
mount /dev/sdb4 /backup/
2.u盘挂载成功,开始备份即可,命令如下:
tar -cvpzf /backup/ubuntu_home_backupfirst.tar.gz /home