Please describe what you are doing to trigger the bug:
Trying to run a backup on an SFTP storage using the CLI, running on MacOS Mojave 10.14.6. I am using the -vss
option to enable the use of APFS snapshots, as well as -vss-timeout 400
. The CLI is successfully creating the snapshot, but is unable to mount it, and so errors out with ERROR VSS_CREATE Error while mounting snapshot: exit status 73
Please describe what you expect to happen (but doesn’t):
-vss creates an APFS snapshot and then mounts it from /tmp/snp_*
Please describe what actually happens (the wrong behaviour):
The snapshot is successfully created, but is unable to be mounted.
tmutil listlocalsnapshots /
shows that a snapshot was created at the time of the duplicacy backup attempt. There is also a snp_* folder created in /tmp/ with the same time created as the backup attempt.
For whatever reason, duplicacy was unable to mount the local snapshot in the tmp directory, even though it was successful at creating the snapshot and creating a folder in the /tmp/ directory.
Even stranger - the Web-UI is not having the same issue. Running a backup from the Web-UI using the same -vss
and -vss-timeout 400
options results in a successful APFS snapshot being mounted and the backup being performed using it.
I have both the Web-UI and the CLI binary in the MacOS Full Disk Access list. I have tried running the CLI as sudo. It doesn’t make a difference.