V2.0.5.1_beta [Warning-Duplicati.Library.Main.Controller-UnsupportedOption]: The supplied option --default-filters is not supported and will be ignored

Hello,

Our backups started throwing this error recently and after reviewing a number of posts about this issue, I am unclear what the real fix is?

Can someone please explain what this error is actually stating, and if there is proper solution?

Failed: Unexpected difference in fileset version 1: 6/17/2020 12:30:00 PM (database id: 569), found 142532 entries, but expected 142533
Details: Duplicati.Library.Interface.UserInformationException: Unexpected difference in fileset version 1: 6/17/2020 12:30:00 PM (database id: 569), found 142532 entries, but expected 142533
at Duplicati.Library.Main.Database.LocalDatabase.VerifyConsistency(Int64 blocksize, Int64 hashsize, Boolean verifyfilelists, IDbTransaction transaction)
at Duplicati.Library.Main.Operation.Backup.BackupDatabase.<>c__DisplayClass32_0.b__0()
at Duplicati.Library.Main.Operation.Common.SingleRunner.<>c__DisplayClass3_0.b__0()
at Duplicati.Library.Main.Operation.Common.SingleRunner.d__21.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Duplicati.Library.Main.Operation.BackupHandler.<RunAsync>d__19.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at CoCoL.ChannelExtensions.WaitForTaskOrThrow(Task task) at Duplicati.Library.Main.Controller.<>c__DisplayClass13_0.<Backup>b__0(BackupResults result) at Duplicati.Library.Main.Controller.RunAction[T](T result, String[]& paths, IFilter& filter, Action1 method)

Log data:
2020-06-30 12:30:00 -05 - [Warning-Duplicati.Library.Main.Controller-UnsupportedOption]: The supplied option --default-filters is not supported and will be ignored
2020-06-30 12:30:26 -05 - [Error-Duplicati.Library.Main.Operation.BackupHandler-FatalError]: Fatal error
Duplicati.Library.Interface.UserInformationException: Unexpected difference in fileset version 1: 6/17/2020 12:30:00 PM (database id: 569), found 142532 entries, but expected 142533
at Duplicati.Library.Main.Database.LocalDatabase.VerifyConsistency(Int64 blocksize, Int64 hashsize, Boolean verifyfilelists, IDbTransaction transaction)
at Duplicati.Library.Main.Operation.Backup.BackupDatabase.<>c__DisplayClass32_0.b__0()
at Duplicati.Library.Main.Operation.Common.SingleRunner.<>c__DisplayClass3_0.b__0()
at Duplicati.Library.Main.Operation.Common.SingleRunner.d__2`1.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Duplicati.Library.Main.Operation.BackupHandler.d__19.MoveNext()

This is the error that is causing backups not to run. (The warning about default-filters can be removed by just deleting that option.)

The easiest way to fix the unexpected difference issue is to delete the offending backup version. Quick instructions:

Click on your backup set in the Web UI, click the Commandline link, then select “delete” from the Command dropdown. Empty the contents of the Commandline Arguments text box. Then scroll to the bottom and pick “version” from the Add Advanced Option dropdown. Enter the version number to delete and click the “Run delete command now” button.

1 Like

Hi drwtsn32,
Thank you for the assist.
I am stuck at this step “Enter the version number to delete and click the “Run delete command now” button.”

I am unsure what version number I am to enter into this field?

Oops, the version was cut off from my previous quote.

In your case you’d want to enter the number “1”

Thank you, missed that in the logs.

Finished!

The option verbose is deprecated: Set a log-level for the desired output method instead
The supplied option --default-filters is not supported and will be ignored
Listing remote folder …
Deleting file duplicati-20200617T173000Z.dlist.zip.aes (13.05 MB) …
Deleting file duplicati-b1e2ff49c95454287b30c55b3b994579d.dblock.zip.aes (49.97 MB) …
Deleting file duplicati-i58a56ebde52d49109814fddcbf6bad44.dindex.zip.aes (50.20 KB) …
Deleting file duplicati-b38a8ebe3b1b741f3b62df297c86d514f.dblock.zip.aes (50.00 MB) …
Deleting file duplicati-i53a004d9827c4e7aadc8ee028d17d5b8.dindex.zip.aes (17.98 KB) …
Deleting file duplicati-baf6ba17953fa4865aa175c7d4cbc922e.dblock.zip.aes (49.93 MB) …
Deleting file duplicati-i54f5966c5f3f4bef9e980c5aa7453679.dindex.zip.aes (50.12 KB) …
Deleting file duplicati-bac118de42fed43c69a6da970d16c58d6.dblock.zip.aes (49.98 MB) …
Deleting file duplicati-ibc84ca42ed5c4791ac8f3e673a3a16c4.dindex.zip.aes (18.01 KB) …
Deleting file duplicati-bb184b89d2245496f9a10c85e43c956e4.dblock.zip.aes (49.93 MB) …
Deleting file duplicati-ifbc6cbbca2e347b789b834414eb44a0c.dindex.zip.aes (50.15 KB) …
Deleting file duplicati-b45efb7dc6fd44341a28d8d46cfefb4a7.dblock.zip.aes (49.97 MB) …
Deleting file duplicati-i804be7da9f034f80ba6df333e0bdcade.dindex.zip.aes (18.01 KB) …
Deleting file duplicati-b65bece0b95b74096836b6452fbef9d6b.dblock.zip.aes (50.00 MB) …
Deleting file duplicati-i3f05a093bef04c759bb6f1354b8df043.dindex.zip.aes (18.00 KB) …
Deleting file duplicati-b2206dd17b37a44dd9b909990daea6d4b.dblock.zip.aes (49.97 MB) …
Deleting file duplicati-ie6949b85d3e646ff82b8e48befbc43a2.dindex.zip.aes (18.00 KB) …
Deleting file duplicati-b707dd0d3b7444be093159a33535ddd18.dblock.zip.aes (49.93 MB) …
Deleting file duplicati-i9bc87985830442a2a8e716e5ff2195d6.dindex.zip.aes (50.15 KB) …
Deleting file duplicati-be9f714bdc2544d64a64a3f020bc46425.dblock.zip.aes (49.93 MB) …
Deleting file duplicati-idc6261f0d88c4691986347df2baef6ef.dindex.zip.aes (50.09 KB) …
Deleting file duplicati-b728a15568a844cb692ebffe43b0a8076.dblock.zip.aes (49.96 MB) …
Deleting file duplicati-i94172511b4b04c52bb619c18760371ee.dindex.zip.aes (18.01 KB) …
Deleting file duplicati-bf954639608eb4412ad4b586e2650fb1d.dblock.zip.aes (49.99 MB) …
Deleting file duplicati-idf962b69d0414fb59665f91c156c7b1e.dindex.zip.aes (17.98 KB) …
Deleting file duplicati-b10f879f7e9724fbfb5391f47b611c7f2.dblock.zip.aes (49.96 MB) …
Deleting file duplicati-i180bd244c2c046b6b8940894d7b05882.dindex.zip.aes (49.78 KB) …
Deleting file duplicati-b9e7e8951c638480ab955e4e8076676bd.dblock.zip.aes (50.00 MB) …
Deleting file duplicati-ibfb67e391ec243dbb8958d5faf4349ec.dindex.zip.aes (18.01 KB) …
Deleting file duplicati-b1bf4ba48eb964541986f79638a729d5b.dblock.zip.aes (49.92 MB) …
Deleting file duplicati-idddbed051ce64f69b8ba83e6cb802797.dindex.zip.aes (18.14 KB) …
Deleting file duplicati-bc3ef2d4bcb8d454db392826c524a2eec.dblock.zip.aes (49.92 MB) …
Deleting file duplicati-i791e6c7ee7b348b4a563b6cec114a73b.dindex.zip.aes (38.90 KB) …
Deleting file duplicati-b9acc8c412a924b6ba1a931c1bad0d358.dblock.zip.aes (49.92 MB) …
Deleting file duplicati-i637bfec0cf184e3d98aa5b2c52283a6d.dindex.zip.aes (32.04 KB) …
These filesets were deleted:
1: 6/17/2020 12:30:00 PM
Return code: 0

I tried kicking off the backup, but received the following error:

Jul 6, 2020 1:55 PM: Failed while executing “Backup” with id: 1
Duplicati.Library.Interface.UserInformationException: Unexpected difference in fileset version 0: 6/18/2020 12:30:00 PM (database id: 570), found 142580 entries, but expected 142581
at Duplicati.Library.Main.Database.LocalDatabase.VerifyConsistency(Int64 blocksize, Int64 hashsize, Boolean verifyfilelists, IDbTransaction transaction)
at Duplicati.Library.Main.Operation.Backup.BackupDatabase.<>c__DisplayClass34_0.b__0()
at Duplicati.Library.Main.Operation.Common.SingleRunner.<>c__DisplayClass3_0.b__0()
at Duplicati.Library.Main.Operation.Common.SingleRunner.d__21.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Duplicati.Library.Main.Operation.BackupHandler.<RunAsync>d__20.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at CoCoL.ChannelExtensions.WaitForTaskOrThrow(Task task) at Duplicati.Library.Main.Controller.<>c__DisplayClass14_0.<Backup>b__0(BackupResults result) at Duplicati.Library.Main.Controller.RunAction[T](T result, String[]& paths, IFilter& filter, Action1 method)
at Duplicati.Library.Main.Controller.Backup(String inputsources, IFilter filter)
at Duplicati.Server.Runner.Run(IRunnerData data, Boolean fromQueue)

Do I need to re-run the Fix, for fileset 0? "Unexpected difference in fileset version 0: "

If you get that error when you run a backup, then yes, repeat the DELETE command with version “0”. Hopefully that will be the last issue and you’ll be able to successfully run backups.

I ran it again, but received this return:
The supplied option --default-filters is not supported and will be ignored
Listing remote folder …
No filesets matched the criteria
Return code: 0

I reviewed the logs and found these entries:
“2020-07-06 15:04:38 -05 - [Information-Duplicati.Library.Main.Controller-StartingOperation]: The operation Delete has started”,
“2020-07-06 15:04:41 -05 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: List - Started: ()”,
“2020-07-06 15:04:53 -05 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: List - Completed: (45.56 KB)”,
“2020-07-06 15:04:59 -05 - [Information-Duplicati.Library.Main.Operation.DeleteHandler-PreventingLastFilesetRemoval]: Preventing removal of last fileset, use --allow-full-removal to allow removal …”,
“2020-07-06 15:06:18 -05 - [Information-Duplicati.Library.Main.Operation.DeleteHandler-DeleteResults]: No remote filesets were deleted”
],

I then ran the backup again and received this error:

Jul 6, 2020 3:24 PM: Failed while executing “Backup” with id: 1
Duplicati.Library.Interface.UserInformationException: Unexpected difference in fileset version 0: 6/18/2020 12:30:00 PM (database id: 570), found 142580 entries, but expected 142581
at Duplicati.Library.Main.Database.LocalDatabase.VerifyConsistency(Int64 blocksize, Int64 hashsize, Boolean verifyfilelists, IDbTransaction transaction)
at Duplicati.Library.Main.Operation.Backup.BackupDatabase.<>c__DisplayClass34_0.b__0()
at Duplicati.Library.Main.Operation.Common.SingleRunner.<>c__DisplayClass3_0.b__0()
at Duplicati.Library.Main.Operation.Common.SingleRunner.d__21.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Duplicati.Library.Main.Operation.BackupHandler.<RunAsync>d__20.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at CoCoL.ChannelExtensions.WaitForTaskOrThrow(Task task) at Duplicati.Library.Main.Controller.<>c__DisplayClass14_0.<Backup>b__0(BackupResults result) at Duplicati.Library.Main.Controller.RunAction[T](T result, String[]& paths, IFilter& filter, Action1 method)
at Duplicati.Library.Main.Controller.Backup(String inputsources, IFilter filter)
at Duplicati.Server.Runner.Run(IRunnerData data, Boolean fromQueue)

Oh, how many backup versions total do you have? It sounds like there may be only one left, so Duplicati has safeguards to make sure it isn’t deleted.

Last successful backup: 06/18/2020 (took 00:51:50)
Next scheduled run: Tomorrow at 12:30 PM
Source: 1.07 TB
Backup: 1.11 TB / 2 Versions

It looks like I have 2 versions.

Ok, I don’t recall off hand but it’s possible that number doesn’t update after DELETE until the next successful backup. So you have 2 versions, one was deleted, and now Duplicati doesn’t want to delete the last one.

Have you been using Duplicati long or did you just start? Only have 2 versions seems odd to me. What is your retention setting?

I am pretty new to using this app. The client has been using it for a number of years.
This error started within the last month.

I checked the logs and the scheduled backup also failed.

Jul 7, 2020 12:30 PM: Failed while executing “Backup” with id: 1
Duplicati.Library.Interface.UserInformationException: Unexpected difference in fileset version 0: 6/18/2020 12:30:00 PM (database id: 570), found 142580 entries, but expected 142581
at Duplicati.Library.Main.Database.LocalDatabase.VerifyConsistency(Int64 blocksize, Int64 hashsize, Boolean verifyfilelists, IDbTransaction transaction)
at Duplicati.Library.Main.Operation.Backup.BackupDatabase.<>c__DisplayClass34_0.b__0()
at Duplicati.Library.Main.Operation.Common.SingleRunner.<>c__DisplayClass3_0.b__0()
at Duplicati.Library.Main.Operation.Common.SingleRunner.d__21.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Duplicati.Library.Main.Operation.BackupHandler.<RunAsync>d__20.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at CoCoL.ChannelExtensions.WaitForTaskOrThrow(Task task) at Duplicati.Library.Main.Controller.<>c__DisplayClass14_0.<Backup>b__0(BackupResults result) at Duplicati.Library.Main.Controller.RunAction[T](T result, String[]& paths, IFilter& filter, Action1 method)
at Duplicati.Library.Main.Controller.Backup(String inputsources, IFilter filter)
at Duplicati.Server.Runner.Run(IRunnerData data, Boolean fromQueue)

What are your backup retention settings?

I ran this report.

System.Exception: Unparsed data: true
at Duplicati.Library.Utility.Timeparser.ParseTimeInterval(String datestring, DateTime offset, Boolean negate)
at Duplicati.Library.Utility.Timeparser.ParseTimeSpan(String datestring)
at Duplicati.Library.Main.Options.RetentionPolicyValue.CreateFromString(String rententionPolicyValueString)
at Duplicati.Library.Main.Options.get_RetentionPolicy()
at Duplicati.Library.Main.Controller.ValidateOptions()
at Duplicati.Library.Main.Controller.SetupCommonOptions(ISetCommonOptions result, String& paths, IFilter& filter)
at Duplicati.Library.Main.Controller.RunAction[T](T result, String& paths, IFilter& filter, Action1 method) at Duplicati.Library.Main.Controller.CreateLogDatabase(String targetpath) at Duplicati.CommandLine.Commands.CreateBugReport(TextWriter outwriter, Action1 setup, List1 args, Dictionary2 options, IFilter filter)
at Duplicati.CommandLine.Program.ParseCommandLine(TextWriter outwriter, Action1 setup, Boolean& verboseErrors, String[] args) at Duplicati.CommandLine.Program.RunCommandLine(TextWriter outwriter, TextWriter errwriter, Action1 setup, String args)
Return code: 100

Edit your backup job and look at the last config page (page 5). What does it show for backup retention there?

Remote Volume Size 50MB
Keep specific number of backups = 2
Default-Filters = Windows (Is this where I can correct the filters error?)

I’m surprised you only keep 2 backup versions. This may make it difficult to recover from this scenario. Where do you store your backups? Is it local or remote? If remote, how large is it?

Worst case - if we need to start over with a fresh backup, is that ok?

And yes you should be able to remove the default-filters option to get rid of that one warning message.

Is this an old backup configuration from 2.0.3.3_beta_2018-04-02? That option’s been gone awhile.
If you like filtering (sometimes it’s helpful), filters are now fine-grained and you have choices below.
Filters describes them in general. For specifics, help filter-groups shows personalized info for you.
image

Big surprise to me as well. I am leaning towards storage costs being a factor. I am leaning on adjusting this to 14.

These backups sync with AWS.

I am ok with creating a fresh backup, as the last known good backup is a month old.

I am not sure when the original backup was created.
Thank you for the heads up on the default-filters.

Typically Duplicati versions are very efficient storage-wise and don’t consume much space (due to deduplication).

For instance on one of my systems I now have 220 versions going back 3 years. The size of the protected data is 30 GB but on the back end all those versions require 80 GB.

You may find that you can retain many versions without it consuming all that much more space.

In any case you may want to start over. The normal “fix” for unexpected difference issue is to delete the offending backup version, but because you only have one version left Duplicati doesn’t want to delete it. If you go ahead and force the deletion, it should remove all files on the back end (AWS). Then when you run your backup again it will have to re-upload everything.

This unexpected difference issue was greatly reduced in the most recent beta (2.0.5.1) but there are still some cases where it happens, unfortunately.

Makes sense.

I seem to be stuck on the force delete. I have tried adjusting the retention period and tried running a delete from commandline. I am assuming the default policy is preventing this from completing?