Go and Sqlite: backup and (maybe) restore
Sqlite database is widely used and battle tested and thanks to this package it can be integrated with the sql standard library in Go. In this post i’m going to explore how the online backup and restore features of Sqlite work and the steps needed to leverage them using Golang. Remember that the good old way of backing up copying the raw database file is a valid option if: you can prevent writes when file is being copied (e....