Restore a SQLite db

[quote=318944:@Jeff Tullin]You did.
I didnt understand it then, and I was also still looking for a 1-line solution.[/quote]

Yeah there isn’t a one liner
Sorry for the lack of clarity on that previous post suggesting it

The code I just posted should be close but you’ll need to adjust for the names of your attached db & whatever variables
But it should be close