I am developing an application for `android` and `ios`. I want to be able to snapshot a `sqlite` database, and have the possibility of rolling back to that snapshot after many commits. There only needs to be one snapshot at any one time. 

The **data must persist over app restarts**, so `SAVEPOINT` is not an option (it only exists within the one connection)

Is this possible with sqlite on android and ios? If not, is there a database solution which does have this ability?