BackupPc 不备份挂载的 LVM 快照?

BackupPc doesn't backup mounted LVM Snapshot?

我重新设置了我的 BackupPc 并且 运行 遇到了一个问题:

我想在所有主机上备份“/backup”。为了测试目的,我从一台主机开始。

进程:

  1. BackupPC 在客户端调用 Shell-Script
  2. 该脚本生成一些快照并将它们装载到 /backup/...
  3. 现在 BackupPC 应该备份
  4. 至少 BackupPC 调用另一个 Shell-脚本,卸载并删除快照

/backup 得到 "backed up" 但只是文件夹,而不是它们的内容。

我增强了第一个 shell-脚本以确保文件夹有内容,这里是输出:

2017-06-04 20:11:14 Created directory /data/backuppc/pc/v3.lipperts-web.de/refCnt
2017-06-04 20:11:15 Output from DumpPreUserCmd:   Reducing COW size 5,00 GiB down to maximum usable size 256,00 MiB.
2017-06-04 20:11:15 Output from DumpPreUserCmd:   Logical volume "snaptshot-zabbix" created
2017-06-04 20:11:15 Output from DumpPreUserCmd:   Reducing COW size 5,00 GiB down to maximum usable size 256,00 MiB.
2017-06-04 20:11:15 Output from DumpPreUserCmd:   Logical volume "snaptshot-filebeat" created
2017-06-04 20:11:15 Output from DumpPreUserCmd:   Reducing COW size 5,00 GiB down to maximum usable size 1,01 GiB.
2017-06-04 20:11:15 Output from DumpPreUserCmd:   Logical volume "snaptshot-teamspeak" created
2017-06-04 20:11:16 Output from DumpPreUserCmd:   Logical volume "snaptshot-schnoddi" created
2017-06-04 20:11:16 Output from DumpPreUserCmd:   Logical volume "snaptshot-sentry" created
2017-06-04 20:11:16 Output from DumpPreUserCmd:   Reducing COW size 5,00 GiB down to maximum usable size 256,00 MiB.
2017-06-04 20:11:16 Output from DumpPreUserCmd:   Logical volume "snaptshot-nginx" created
2017-06-04 20:11:16 Output from DumpPreUserCmd: insgesamt 13
2017-06-04 20:11:16 Output from DumpPreUserCmd: -rw-r--r-- 1 root root   329 Jun  3 17:43 docker-compose.yml
2017-06-04 20:11:16 Output from DumpPreUserCmd: drwx------ 2 root root 12288 Jun  3 17:43 lost+found
2017-06-04 20:11:16 full backup started for directory /backup
2017-06-04 20:11:17 Output from DumpPostUserCmd:   Logical volume "snaptshot-zabbix" successfully removed
2017-06-04 20:11:17 Output from DumpPostUserCmd:   Logical volume "snaptshot-filebeat" successfully removed
2017-06-04 20:11:17 Output from DumpPostUserCmd:   Logical volume "snaptshot-teamspeak" successfully removed
2017-06-04 20:11:17 Output from DumpPostUserCmd:   Logical volume "snaptshot-schnoddi" successfully removed
2017-06-04 20:11:17 Output from DumpPostUserCmd:   Logical volume "snaptshot-sentry" successfully removed
2017-06-04 20:11:18 Output from DumpPostUserCmd:   Logical volume "snaptshot-nginx" successfully removed
2017-06-04 20:11:18 Got fatal error during xfer (No files dumped for share /backup)
2017-06-04 20:11:23 Backup aborted (No files dumped for share /backup)

您可以看到列出了一个文件 "docker-compose.yml",但备份是空的

https://i.imgur.com/u6hfIh3.png

这可能是什么问题?

通过将 RsyncArgs 从默认更改为我在 BackupPC 3 中(默认情况下)使用的 Args,它起作用了:

http://imgur.com/a/rYcHL