I try to automate my backups with a cronjob but I noticed different behaviour if the backup is done from the cronjob compared to the manual backup vi CLI.
The manual backup looks like this:
open repository
lock repository
load index files
using parent snapshot 3217438f
start scan on [/foo/bar/baz]
start backup on [/foo/bar/baz]
scan finished in 0.642s: 4937 files, 1.268 GiB
Files: 0 new, 0 changed, 4937 unmodified
Dirs: 0 new, 5 changed, 14961 unmodified
Data Blobs: 0 new
Tree Blobs: 5 new
Added to the repo: 4.040 KiB
processed 4937 files, 1.268 GiB in 0:01
snapshot c22f8fb8 saved
This works as expected.
But if the backup is done from the cronjob, the output is only
open repository
lock repository
load index files
using parent snapshot 3217438f
start scan on [/foo/bar/baz]
start backup on [/foo/bar/baz]
scan finished in 0.352s: 128 files, 30.433 MiB
If I check afterwards there is no new snapshot.
The backup runs on a machine where I have only limitied access. Nevertheless, cron and CLI user should have the same access rights.
Any pointers where I should start to investigate this issue?