After installation of version ’ 2.0.2.9_canary_2017-10-01’ I’m receiving the following error:
Backend verification failed, attempting automatic cleanup
System.ArgumentException: Object must be a root directory ("C:\") or a drive letter ("C").
at System.IO.DriveInfo..ctor(String driveName)
at Duplicati.Library.Backend.File.GetDrive()
at Duplicati.Library.Backend.File.get_Quota()
at Duplicati.Library.Main.Operation.FilelistProcessor.RemoteListAnalysis(BackendManager backend, Options options, LocalDatabase database, IBackendWriter log, String protectedfile)
at Duplicati.Library.Main.Operation.FilelistProcessor.VerifyRemoteList(BackendManager backend, Options options, LocalDatabase database, IBackendWriter log, String protectedfile)
at Duplicati.Library.Main.Operation.BackupHandler.PreBackupVerify(BackendManager backend, String protectedfile)
The destination is an UNC in the format \\\SERVER\Path.
It sound like you upgraded from something to 2.0.2.9 - if so, what version were you on before and how did you upgrade (in-app upgrade feature or manual download and install)?
Also, if possible can you provide the settings for the job that’s failing as a “Export as commandline…” (be sure to remove any personal data you might not want to share such as user name, password, finger hash, etc.).
Thanks for the commandline export - that all looks OK to me (ignoring likely re-formatting issues like the triple-dash before send-mail-url).
It looks like the argument exception may be a common problem with 2.0.2.9 - if you can’t wait until we hear from @kenkendk you might want to consider downgrading to 2.0.2.8, which seems to have worked for some people.
Out of curiosity, does it work any better if you change “C:\Work\” to “C:\Work\” (just add another slash after the colon)?
Thanks for the answer, I’ll roll back to version *.8
About the quote, I’m fairly sure the problem isn’t in the source part but in the destination, as I said I have another backup just like this one, but pointing to a local drive and folder and it works fine.
I have another one, with different sources sent to DropBox and it also works fine.
Nevertheless I made the change and started, the result is the same.
Thanks for testing. I suspect this is a regression issue POSSIBLY related to one of the changes around commit #2763 or so.
I can’t find the reference now but I thought I saw a change implementing a new IQuota interface and I know it’s easy to miss things when shifting to interfaces.
@kenkendk, what’s the best way to bring issues like this to your attention (here, Github, PM, …)?