After trying to repair a database it's marked as being under repairstill in

Hello!
After trying to repair a database it shows the next error when I try to delete broken files:
La operación PurgeBrokenFiles ha fallado con error: Cannot continue because the database is marked as being under repair, but does not have broken files. => Cannot continue because the database is marked as being under repair, but does not have broken files.

I’ve tried to delete de database and recreate again, but the error persists.

Could you help me to solve it?

Thank you very much!!!

Regards.

Oscar Garcia.

Welcome to the forum @osccn

How did that go? It sounds like it failed. If so, need the messages. Try job log, also try looking at About → Show log → Stored. If those don’t work, there are more options, but the info is needed.

If it comes down to another recreate, watch the progress bar to see if it gets slow beyond 70%. Additionally, you could watch About → Show log → Live → Verbose to see exactly the actions. Possibly none of this will be necessary if you can find enough information in the existing logs…

What history is there with these? Did something happen indicating a problem? Please explain.

Hello, and thanks for your answer.

Here I put the logs:

11 de nov. de 2024 17:00: Failed while executing Backup “Contabilidad” (id: 5)
Duplicati.Library.Interface.RemoteListVerificationException: Found 326 remote files that are not recorded in local storage, please run repair
en Duplicati.Library.Main.Operation.FilelistProcessor.VerifyRemoteList(BackendManager backend, Options options, LocalDatabase database, IBackendWriter log, IEnumerable1 protectedFiles) en Duplicati.Library.Main.Operation.BackupHandler.PreBackupVerify(BackendManager backend, String protectedfile) en Duplicati.Library.Main.Operation.BackupHandler.<RunAsync>d__20.MoveNext() --- Fin del seguimiento de la pila de la ubicación anterior donde se produjo la excepción --- en System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() en CoCoL.ChannelExtensions.WaitForTaskOrThrow(Task task) en Duplicati.Library.Main.Controller.<>c__DisplayClass14_0.<Backup>b__0(BackupResults result) en Duplicati.Library.Main.Controller.RunAction[T](T result, String[]& paths, IFilter& filter, Action1 method)
en Duplicati.Library.Main.Controller.Backup(String inputsources, IFilter filter)
en Duplicati.Server.Runner.Run(IRunnerData data, Boolean fromQueue)
11 de nov. de 2024 13:37: Failed while executing Backup “Contabilidad” (id: 5)
Duplicati.Library.Interface.UserInformationException: The database was attempted repaired, but the repair did not complete. This database may be incomplete and the backup process cannot continue. You may delete the local database and attempt to repair it again.
en Duplicati.Library.Main.Operation.BackupHandler.d__20.MoveNext()
— Fin del seguimiento de la pila de la ubicación anterior donde se produjo la excepción —
en System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
en CoCoL.ChannelExtensions.WaitForTaskOrThrow(Task task)
en Duplicati.Library.Main.Controller.<>c__DisplayClass14_0.b__0(BackupResults result)
en Duplicati.Library.Main.Controller.RunAction[T](T result, String& paths, IFilter& filter, Action`1 method)
en Duplicati.Library.Main.Controller.Backup(String inputsources, IFilter filter)
en Duplicati.Server.Runner.Run(IRunnerData data, Boolean fromQueue)

Hi @osccn thanks for the error message.

It looks like there is some mismatch between what the local database is expecting and what it finds on the destination.

The error message:

Indicates that a previous run of Duplicati recorded 326 files that are no longer present at the remote destination. I am unsure if this means “all files” in your case or only a subset, but in any case it is important to understand why the files are no longer there.

Once we know why, we can figure out how to proceed.
Common causes for missing files is:

  • User deleted remote backup
  • Changed destination
  • Failures/error at destination
  • Removable drive changed

The error message:

Indicates that a recreate was attempted on the database, but this process was stopped or failed before it could complete.

Common causes for this includes:

  • Errors in remote destination files
  • Partial delete
  • Empty destination

The two error messages are a bit confusing, but it looks like the first run had the “attempted repaired” error and the second run is reporting missing files.

Did you delete files in between the two operations?