Describe the solution you'd like
As part of the setup wizard, the user should be given the chance to restore the database from a backup. Restoring from a backup bypasses the need for any other user settings entries, as the entire database should be in the backup file.
Additional context
The user of this app is the treasurer for the organisation. At the last GM, a different treasurer was elected. The old treasurer creates a backup of the apps data and gives it to the new treasurer. The new treasurer installs the StageFright Community app, and on the first run is presented with the startup wizard asking if the user would like to restore from backup. Checking this option (use a checkbox control), the user is asked for the location of the backup file., then restores the database from the backup. The user is advised the app needs to restart to use the restored database. The backup file should be OS agnostic. A backup created on a mac needs to be compatible with restoring to a windows pc and vice versa.
NOTE: AS part of this update, ensure the backup includes ALL data required to restore the current state.
Create a test to backup the data to a file on disk (the user can set the file location and file name. THe file name should default to include the organisation name, the word "backup" and the date the backup is taken.
Describe the solution you'd like
As part of the setup wizard, the user should be given the chance to restore the database from a backup. Restoring from a backup bypasses the need for any other user settings entries, as the entire database should be in the backup file.
Additional context
The user of this app is the treasurer for the organisation. At the last GM, a different treasurer was elected. The old treasurer creates a backup of the apps data and gives it to the new treasurer. The new treasurer installs the StageFright Community app, and on the first run is presented with the startup wizard asking if the user would like to restore from backup. Checking this option (use a checkbox control), the user is asked for the location of the backup file., then restores the database from the backup. The user is advised the app needs to restart to use the restored database. The backup file should be OS agnostic. A backup created on a mac needs to be compatible with restoring to a windows pc and vice versa.
NOTE: AS part of this update, ensure the backup includes ALL data required to restore the current state.
Create a test to backup the data to a file on disk (the user can set the file location and file name. THe file name should default to include the organisation name, the word "backup" and the date the backup is taken.