Hello,
Thanks for creating this nice software.
I use it to synchronise data from an LXC container to a host directory.
Unfortunately, I get warnings in the log file. The conf file looks like this:
settings {
logfile = "/var/log/lsyncd/lsyncd.log",
statusFile = "/var/log/lsyncd/lsyncd.status",
insist = true,
}
sync {
default.direct,
source = "/var/lib/lxc/<containername>/rootfs/home/<username>/Dropbox/",
target = "/mnt/raid/Test/files/",
exclude = ".*",
}
After a reboot, I get the following warning in the logs.
Fri Jan 15 23:49:31 2021 Normal: Startup of "/var/lib/lxc/<containername>/rootfs/home/<username>/Dropbox/" finished: 0
/bin/cp: der Aufruf von stat für '/var/lib/lxc/<containername>/rootfs/home/<username>/Dropbox//~UUI2v6LzNGFDqn1rpQQt7Q.tmp' ist nicht möglich: Datei oder Verzeichnis nicht gefunden
Fri Jan 15 23:49:46 2021 Warn: ignored an event of type "Attrib"
If I change the configuration from direct to rsync, the warnings disappear.
Fri Jan 15 23:52:43 2021 Normal: Startup of /var/lib/lxc/<containername>/rootfs/home/<username>/Dropbox/ -> /mnt/raid/Test/files/ finished.
Fri Jan 15 23:53:12 2021 Normal: Calling rsync with filter-list of new/modified files/dirs
/~u_Cb1rPnISYmlpN-76xisg.tmp
/
What am I doing wrong here?