我在使用“Back in Time”时遇到这些错误。有人能解释一下如何避免这些错误吗?
[E] 错误:rsync:符号链接“/media/TREKSTOR/Sicherung/backintime/Refle/root/1/new_snapshot/backup/home/refle/.config/chromium/SingletonCookie”->“11676890789582771720”失败:操作不允许(1) [E] 错误:rsync:符号链接“/media/TREKSTOR/Sicherung/backintime/Refle/root/1/new_snapshot/backup/home/refle/.config/chromium/SingletonLock”->“Refle-2305”失败:操作不允许(1) [E] 错误:rsync:符号链接“/media/TREKSTOR/Sicherung/backintime/Refle/root/1/new_snapshot/backup/home/refle/.config/chromium/SingletonSocket”->“/tmp/.org.chromium.Chromium.nSUOLR/SingletonSocket”失败:操作不允许(1) [E] 错误:rsync:符号链接“/media/TREKSTOR/Sicherung/backintime/Refle/root/1/new_snapshot/backup/home/refle/.kde/socket-Refle”->“/tmp/ksocket-refle”失败:操作不允许(1) [E] 错误:rsync:符号链接“/media/TREKSTOR/Sicherung/backintime/Refle/root/1/new_snapshot/backup/home/refle/.kde/tmp-Refle”->“/tmp/kde-refle”失败:操作不允许(1) [E] 错误:rsync:符号链接“/media/TREKSTOR/Sicherung/backintime/Refle/root/1/new_snapshot/backup/home/refle/.pulse/a720e9d91d67a4671223dd9100000009-runtime”->“/tmp/pulse-yd4kGx1FIvgw”失败:操作不允许(1) [E] 错误:rsync:mkstemp“/media/TREKSTOR/Sicherung/backintime/Refle/root/1/new_snapshot/backup/home/refle/.local/share/gvfs-metadata/.afc:host=c0d85dff9221e93bd569ad19c719a9cc812cc00a.pRRwoB”失败:参数无效(22) [E] 错误:rsync:mkstemp“/media/TREKSTOR/Sicherung/backintime/Refle/root/1/new_snapshot/backup/home/refle/.local/share/gvfs-metadata/.afc:host=c0d85dff9221e93bd569ad19c719a9cc812cc00a,port=3.5FFq0l”失败:参数无效(22) [E] 错误:rsync:mkstemp“/media/TREKSTOR/Sicherung/backintime/Refle/root/1/new_snapshot/backup/home/refle/.local/share/gvfs-metadata/.afc:host=c0d85dff9221e93bd569ad19c719a9cc812cc00a,port=3-c2bd17dd.log.Dw3kC6”失败:参数无效(22) [E] 错误:rsync:mkstemp“/media/TREKSTOR/Sicherung/backintime/Refle/root/1/new_snapshot/backup/home/refle/.local/share/gvfs-metadata/.afc:host=c0d85dff9221e93bd569ad19c719a9cc812cc00a-1da33d62.log.u2BigR”失败:参数无效(22) [E] 错误:rsync:符号链接“/media/TREKSTOR/Sicherung/backintime/Refle/root/1/new_snapshot/backup/home/refle/Documents/Studium/Uni **/Verknüpfung mit Programmieren”->“/host/Users/**/Documents/Studium/Uni Bayreuth/Programmieren”失败:操作不允许 (1) [E] 错误:rsync:符号链接“/media/TREKSTOR/Sicherung/backintime/Refle/root/1/new_snapshot/backup/home/refle/Ubuntu One/Shared With Me”->“/home/refle/.local/share/ubuntuone/shares”失败:操作不允许 (1)
谢谢
答案1
看起来您在这里遇到了两种不同类型的错误。
[E] Error: rsync: mkstemp "/media/TREKSTOR/Sicherung/backintime/Refle/root/1/new_snapshot/backup/home/refle/.local/share/gvfs-metadata/.afc:host=c0d85dff9221e93bd569ad19c719a9cc812cc00a.pRRwoB" failed: Invalid argument (22)
[E] Error: rsync: mkstemp "/media/TREKSTOR/Sicherung/backintime/Refle/root/1/new_snapshot/backup/home/refle/.local/share/gvfs-metadata/.afc:host=c0d85dff9221e93bd569ad19c719a9cc812cc00a,port=3.5FFq0l" failed: Invalid argument (22)
[E] Error: rsync: mkstemp "/media/TREKSTOR/Sicherung/backintime/Refle/root/1/new_snapshot/backup/home/refle/.local/share/gvfs-metadata/.afc:host=c0d85dff9221e93bd569ad19c719a9cc812cc00a,port=3-c2bd17dd.log.Dw3kC6" failed: Invalid argument (22)
[E] Error: rsync: mkstemp "/media/TREKSTOR/Sicherung/backintime/Refle/root/1/new_snapshot/backup/home/refle/.local/share/gvfs-metadata/.afc:host=c0d85dff9221e93bd569ad19c719a9cc812cc00a-1da33d62.log.u2BigR" failed: Invalid argument (22)
这些是由于您的文件名语法。Rsync(Back in Time 的命令行后端)不支持文件名中的冒号。我不知道 Back in Time 的配置是如何工作的,但是使用 rsync 您可以定义排除规则,以便允许您忽略这些文件。
[E] Error: rsync: symlink "/media/TREKSTOR/Sicherung/backintime/Refle/root/1/new_snapshot/backup/home/refle/.config/chromium/SingletonCookie" -> "11676890789582771720" failed: Operation not permitted (1)
[E] Error: rsync: symlink "/media/TREKSTOR/Sicherung/backintime/Refle/root/1/new_snapshot/backup/home/refle/.config/chromium/SingletonLock" -> "Refle-2305" failed: Operation not permitted (1)
[E] Error: rsync: symlink "/media/TREKSTOR/Sicherung/backintime/Refle/root/1/new_snapshot/backup/home/refle/.config/chromium/SingletonSocket" -> "/tmp/.org.chromium.Chromium.nSUOLR/SingletonSocket" failed: Operation not permitted (1)
您在这里遇到的是权限错误。您尝试备份的文件可能是由 root 用户创建的,因此您没有读取权限。尝试从文件管理器检查文件的权限 (特性-->权限)。
我建议您尝试从备份中排除这些文件。据我所知,它们主要是不应备份的锁定文件和套接字。