DB error - can i restore from external backup?


I suddenly noticed an error in my duplicati docker container:

A serious error occurred in Duplicati: System.Exception: Failed to create, open or upgrade the database.
Error message: Unable to determine database format: Object cannot be cast from DBNull to other types.
at Duplicati.Server.Program.GetDatabaseConnection (System.Collections.Generic.Dictionary`2[TKey,TValue] commandlineOptions) [0x00229] in :0
at Duplicati.Server.Program.RealMain (System.String _args) [0x002d0] in :100:

I really need to restore files but I dont have a backup of the sqllite db file. Can I somehow restore from the files stored remotely? If so, how?

Any help would be very welcome!

EDIT: I’ve figured this out. Moderator can delete!