To demonstrate the issue, try these commands:

cd $( mktemp -d /tmp/rsync.demo.XXXXXX )
mkdir -p a
touch a/x.{0001..9999}
rsync -aR a/./ ./b/ & sleep 0.1 ; kill -19 %1
rm -f a/x.000*
kill -18 %1 ; wait

I my system, I get this:

[1] 30107

[1]+  Stopped                 rsync -aR a/./ ./b/
file has vanished: "/tmp/rsync.demo.MKC8je/a/x.0001"
file has vanished: "/tmp/rsync.demo.MKC8je/a/x.0002"
file has vanished: "/tmp/rsync.demo.MKC8je/a/x.0003"
file has vanished: "/tmp/rsync.demo.MKC8je/a/x.0004"
file has vanished: "/tmp/rsync.demo.MKC8je/a/x.0005"
file has vanished: "/tmp/rsync.demo.MKC8je/a/x.0006"
file has vanished: "/tmp/rsync.demo.MKC8je/a/x.0007"
file has vanished: "/tmp/rsync.demo.MKC8je/a/x.0008"
file has vanished: "/tmp/rsync.demo.MKC8je/a/x.0009"
rsync warning: some files vanished before they could be transferred (code
24) at main.c(1333) [sender=3.2.3]
[1]+  Exit 24                 rsync -aR a/./ ./b/

Regards,
- Robert

On Tue, Mar 22, 2022 at 7:16 AM Rich Shepard <rshep...@appl-ecosys.com>
wrote:

> Last night's incremental backup for /home has an error:
> Rsync-Errors (/media/backup/salmo-home/20220322-0030/tree/../rsync_error):
> =========================================================================
> RSYNC_ERR:
> RSYNC_ERR:
> RSYNC_ERR:        *** Execution cycle 0 ***
> RSYNC_ERR:
> RSYNC_ERR:        file has vanished:
> "/home/rshepard/.spamassassin/bayes.lock"
> RSYNC_ERR:        rsync warning: some files vanished before they could be
> transferred (code 24) at main.c(1189) [sender=3.1.3]
>
> I want to understand this error.
>
> Looks to me that the bayes.lock is created when a new email message arrives
> and is removed when spamassassin has processed the message. If that's the
> case why would rsync be looking for a file that was removed?
>
> A curious mind wants to learn,
>
> Rich
>

Reply via email to