Using --snapshot-policy on MacOS

#1

I’m running on MacOS Mojave and experiencing the “Checking errors, related to #1400. Unexpected result count: 0, expected 1” error. I’ve seen recommendations to set --snapshot-policy on, but when I do I get this warning:

2019-04-09 22:09:16 -04 - [Warning-Duplicati.Library.Main.Operation.BackupHandler-SnapshotFailed]: Failed to create a snapshot: System.Exception: The external command failed to start.
Error message: System.ComponentModel.Win32Exception (0x80004005): ApplicationName=’/Applications/Duplicati.app/Contents/Resources/lvm-scripts/find-volume.sh’, CommandLine=’"/Users/jim/"’, CurrentDirectory=’’, Native error= Cannot find the specified file

The find-volume.sh script doesn’t exist. Is it possible to use --snapshot-policy on MacOS? If not is there some other workaround for the “Unexpected result count: 0, expected 1” error?

0 Likes

#2

Hello @jancona and welcome to the forum!

–snapshot-policy only supports Windows and Linux, with certain requirements either way. MacOS not yet, however Any plans to support snapshots on the modern Filesystems (ZFS et. al)? is the feature request…

Because you’ve been looking at other #1400 errors, you might have already read that it might be related to files changing at the time, that snapshot might help but if unavailable, workaround is to not back the file up.

Warning: sqlite-journal errors 1400 would be an example of that, and of how you might be able to see what files give trouble. Hopefully they are ones that you won’t mind deselecting as source, or adding an exclude.

0 Likes