我使用rsync从远程Debian的远程nfs文件夹备份到一个MAC。 最后的备份比原来less了58GB。 Rsync说,一切正常,没有更新。
Macintosh:/Volumes/Data1 root# du -sh Produccion/ 319G Produccion/ root@Disketera:/mnt/soho_storage/samba/shares# du -sh Produccion/ 260G Produccion/
我可以信任rsync?
我正在使用rsync -av –stats / Volumes / Data1 / Produccion / / mnt / red /(/ mnt / red是我的samba挂载点)
一些不同的文件夹
root@Disketera:/mnt/soho_storage/samba/shares/Produccion/tiposok# du -sh * 0 IndoSanBol 0 IndoSans-Bold 0 IndoSans-Italic 0 IndoSans-Light 0 IndoSans-Regular 40K PalatinoLTStd-Black.otf 40K PalatinoLTStd-BlackItalic.otf 40K PalatinoLTStd-Bold.otf 44K PalatinoLTStd-BoldItalic.otf 44K PalatinoLTStd-Italic.otf 40K PalatinoLTStd-Light.otf 40K PalatinoLTStd-LightItalic.otf 40K PalatinoLTStd-Medium.otf 40K PalatinoLTStd-MediumItalic.otf 56K PalatinoLTStd-Roman.otf 12K TCL IndoSans_mac Macintosh:/Volumes/Data1/Produccion/tiposok root# du -sh * 36K IndoSanBol 40K IndoSans-Bold 36K IndoSans-Italic 36K IndoSans-Light 36K IndoSans-Regular 40K PalatinoLTStd-Black.otf 40K PalatinoLTStd-BlackItalic.otf 40K PalatinoLTStd-Bold.otf 44K PalatinoLTStd-BoldItalic.otf 44K PalatinoLTStd-Italic.otf 40K PalatinoLTStd-Light.otf 40K PalatinoLTStd-LightItalic.otf 40K PalatinoLTStd-Medium.otf 40K PalatinoLTStd-MediumItalic.otf 56K PalatinoLTStd-Roman.otf 160K TCL IndoSans_mac
不,备份不完整。 对于一些字体,如InSanBol,缺less资源分支,用于较旧的Mac字体来存储字形数据。
我目前还不确定,但是可能使用--xattrs作为参数。 我也build议包括ACL,所以你最终
rsync -aAXv --stats /Volumes/Data1/Produccion/ /mnt/red/
我忘了:MacOS附带一个旧的rsync版本,无论如何这个版本已经无法修复了。 我将安装MacPorts,然后,使用该命令安装新的rsync版本
sudo port install rsync
(这是相当复杂的,因为它需要Apple开发工具来编译rsync)。
根据rsync手册页在10.6.6下,选项是-E,而不是-X,也不存在,所以命令选项是-aEv。