Temp database created during a restore - anyway to save that?

A database (not just this one) shouldn’t be reused unless it’s been kept current with the backup it’s with.
Duplicati keeps its database current as it does backup and such, but I’m not sure that’s the design here.

Ordinarily one would have all operations use the same database. A restore does accept --dbpath option, which you can use after you do a repair with --dbpath option. Using implicit dbpath for all is also possible.

Using stale database can hurt restore due to new or moved data. Repair may delete newer backup data.