常常我们需要备份服务器上的某些数据,今天在这里跟大家分享一下如何使用移动硬盘备份CentOS上的文件。
一、挂载移动硬盘(挂载NTFS格式分区)
1. 安装ntfs3g工具
-
wget http://tuxera.com/opensource/ntfs-3g_ntfsprogs-2011.4.12.tgz
-
tar zxf ntfs-3g_ntfsprogs-2011.4.12.tgz
-
cd ntfs-3g_ntfsprogs-2011.4.12
-
./configure --prefix=/usr/local/ntf3g