On app startup, check a designated backup folder for any backup on today's date (assumed yyyy-mm-dd-nn-collection-backup.sqlite). If no such file exists, copy the current collection.sqlite to this backup folder with this name.
To avoid bloat, maintain x rolling backups, where x is some value to be determined. Any time a new backup is created, delete any number of old copies to ensure the upper limit of x rolling backups
On app startup, check a designated backup folder for any backup on today's date (assumed
yyyy-mm-dd-nn-collection-backup.sqlite
). If no such file exists, copy the currentcollection.sqlite
to this backup folder with this name.To avoid bloat, maintain x rolling backups, where x is some value to be determined. Any time a new backup is created, delete any number of old copies to ensure the upper limit of x rolling backups