我为备份设置了 rsnapshot(在 Macos 上),在配置文件中,我尝试备份的位置之一是由以下方式安装的卷密码机。配置文件中的相关行:
backup /Users/USERNAME/Documents/Cryptomator/SomeFolder/ localhost/
在 Cryptomator 软件中,我选择了一个自定义安装点。该命令的相关输出mount
如下:
Cryptomator@macfuse0 on /Users/USERNAME/Documents/Cryptomator/SomeFolder (macfuse, nodev, nosuid, synchronous, mounted by USERNAME)
一旦 rsnapshot 到达应该备份上述文件夹的步骤,我就会收到以下错误:
rsync: opendir "/Users/USERNAME/Documents/Cryptomator/SomeFolder" failed: No such file or directory (2)
rsync error: some files could not be transferred (code 23) at /AppleInternal/Library/BuildRoots/0032d1ee-80fd-11ee-8227-6aecfccc70fe/Library/Caches/com.apple.xbs/Sources/rsync/rsync/main.c(996) [sender=2.6.9]
WARNING: Some files and/or directories in /Users/USERNAME/Documents/Cryptomator/SomeFolder/ only transferred partially during rsync operation
/usr/bin/rsync -a --delete --numeric-ids --relative --delete-excluded \
/Users/USERNAME/Documents/Cryptomator/SomeFolder/ \
/Volumes/HARDDRIVENAME/Snapshots/alpha.0/localhost/
我的猜测是,配置文件不应引用该已安装卷的本地主机,而应引用其他内容。如何正确引用已安装的卷以便 rsnapshot 可以对其进行备份?