Backup "stuck" after restore from Sleep

This is likely due to the database being locked while a backup is running (per The database file is locked database is locked - #3 by kenkendk).

However, after restarting Duplicati the lock should be removed - is it possible you’re restarting the GUI but not the server?