Topic: Backup and Restore Tables
I'd like anyones thoughts on my 3 scenarios:
Scenario 1
- I plan to distribute my application to various users.
- I want them to be able to backup the tables
- So I assume they could just make a copy of the sqlite.db file and save it somewhere?
- However lets just assume that they are non-technical folks and this procedure would be too much for them.
- I'd like to put a button called BACKUP on my main form so that they could just click it to create the backup?
- Has anyone ever done this & if so is there code available?
-
Scenario 2
- If I make changes to my forms and want to send them to my users, I assume I could send them a new program with zero data in the tables. Then they could just replace/restore sqlite.db with the saved copy from the backup.
- Since they are non-technical folks could I do this with a button and code?
-
- Scenario 3
- Same problem as Scenario 2, except I have changed the structure/fields of one or more of the original tables.
- I assume this will be the most complex scenario since data will have to be taken from the original tables and appended to the new tables.
- Any suggestions?
-
- In an ideal world my tables will always remain the same and the structure will never need updating. However in the real world I can see where changes might have to made to the structures.
- So it looks like Scenario 1 would be a good starting point.
- Any thoughts on 1 or all 3 of the scenarios will be appreciated. (I'm still loving MVD)
-I was just thinking, is there any thought of a backup/restore feature for MVD?
-
Thanks, Frank