Rob,
I suspect it’s not a big effort to create a filename - and store that in the cloud-based database, along with an ID/email and password. And rename the incoming SQLITE3 database file with the new filename.
DB SIZE
A new Android install shows the DATA storage to be 92KB. This includes the sample data to start the app. A heavily used app could have a DB size of 1.0+MEG. At this point, I have no sense/idea of how long it will take to upload/download the database file from the cloud.
BACKUP FREQUENCY
I’ll probably create a Backup button to create an ‘on demand’ backup by the User. I may provide an option to backup automatically on the app’s EXIT().
INDIVIDUAL RECORDS
I suppose here I’m essentially a bit lazy. If I do the individual records, it means numerous additional scripts; whereas if I do the entire database file ‘on demand’, it’s essentially one script to save; and another to restore it from the Cloud server.
SAME DATABASE
I thought on the Cloud-server, I’d have (at least) a UserID/Email field, a password field and the BLOB field for the SQLITE3 database file on the smartPhone. So there’s only one Cloud-based table to hold all the individual apps’ SQLITE3 databases. There is only one SQLITE3 database to be saved per smartPhone app.
it’d definitely be a nice prob to encounter when my mySQL server host says I need to buy more storage to handle the backups. For this reason alone, maybe your FILE SYSTEM implementation is more advantageous.
CORONIUM CLOUD
Does Corona’s new Coronoium Cloud offer a benefit here? or not even relevant?
Thanks for your input, Rob.
Seth