传输期间 BackupPC 出现错误

传输期间 BackupPC 出现错误

尝试在本地主机上使用 BackupPC 进行完整备份时出现错误:

最后一个错误的 XferLOG:

Contents of file /var/lib/backuppc/pc/localhost/XferLOG.bad.z, modified 2012-03-26 02:00:08

Running: /usr/bin/ssh -q -x -n -l root localhost env LC_ALL=C /bin/tar -c -v -f - -C /home/\* --totals .
full backup started for directory /home/*
Xfer PIDs are now 8151,8150
Tar exited with error 65280 () status
tarExtract: Done: 0 errors, 0 filesExist, 0 sizeExist, 0 sizeExistComp, 0 filesTotal, 0 sizeTotal
Got fatal error during xfer (No files dumped for share /home/*)
Backup aborted (No files dumped for share /home/*)
Not saving this as a partial backup since it has fewer files than the prior one (got 0 and 0 files versus 1768)

并在日志文件中有

2012-03-26 03:00:03 Got fatal error during xfer (No files dumped for share /home)
2012-03-26 03:00:08 Backup aborted (No files dumped for share /home)

这些错误是否与权限或 ssh 连接失败或 tar 有关?

答案1

解决了。​​问题在于 BackupPC 已配置为通过 ssh 工作。由于 SSH 配置不正确,BackupPC 无法执行任何操作。已删除 SSH 命令并配置 BackupPC 以在本地工作。

相关内容