问题描述
我使用 backintime 进行备份,然后使用 rsync 制作快照。 计算机上的大多数文件系统都是 XFS,包括 rsync 目标, 系统为 Ubuntu 20.04,rsync 版本 3.1.3,协议版本 31。
我从 rsync 得到一个退出代码 2
,它是 Protocol incompatibility
,
一些挖掘表明,如果您在某些(ssh)连接上运行 rsync,就会发生这种情况
在具有不同 rsync 版本的两台计算机之间,或将一些意外输出注入 ssh 连接的登录脚本。这里不是这种情况,这都是本地的,
命令行见下文。
=> 关于这个 rsync 错误的更多见解?本地 Protocol incompatibility
怎么会发生
如果只有一个 /usr/bin/rsync
?
你的, 史蒂芬
本地U盘挂载为
type xfs (rw,nosuid,nodev,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota,uhelper=udisks2)
INFO: Call rsync to take the snapshot
QStandardpaths: XDG_RUNTIME_DIR not set,defaulting to '/tmp/runtime-root'
WARNING: Command "rsync --recursive --times --devices --specials --hard-links --human-readable \
--links --acls --xattrs --perms --executability --group --owner --info=progress2 \
--no-inc-recursive --delete --delete-excluded -v -i \
--out-format=BACKINTIME: %i %n%L --link-dest=../../20210301-082432-781/backup \
--chmod=Du+wx --exclude=/media/sneumann/LinuxBackup/msbi-corei \
--exclude=/root/.local/share/backintime --exclude=.local/share/backintime/mnt \
--exclude=.gvfs --exclude=.cache* --exclude=[Cc]ache* --exclude=.thumbnails* \
--exclude=[Tt]rash* --exclude=*.backuP* --exclude=*~ \
--exclude=/home/sneumann/Ubuntu One --exclude=.dropBox* --exclude=/proc/* \
--exclude=/sys/* --exclude=/dev/* --exclude=/run/* --exclude=/media \
--exclude=/root/.local/share/backintime/takesnapshot_.log \
--exclude=/root/.local/share/backintime --include=/ --include=/** \
--exclude=* / /media/sneumann/LinuxBackup/msbi-corei/backintime/msbi-corei/root/1/new_snapshot/backup"
returns 2
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)