Backup/Restore System in GGC
GGC has special Backup/Restore mechanism, since all user data is stored in database.
GGC uses Hibernate framework, which can use almost any Java database, so it is very
important that we have ability to do full Backup and Restore. (to make updates
and to move data to and from various databases)
As functionalities are enabled and used, also Backup options (Tables) are created so
that all used data can be easily preserved.
All tables are versioned, so if there are changes in database, we can backup data and
restore it into new version (if we installed new version).
Backup/Restore system is intended only for FULL backup/restore operations.
With Daily Values we have option to just append data, but this just so that we can
also add data from other computers. At later time this functionality will be done by
Export/Import system, which will be Backup/Restore subsystem.
Currently we support backup of following data:
- Daily Values for Pen/Injection theraphy
- Configuration (full)
- User Foods/Groups
- Meals entries/Groups
- Pump data
Planned backup of following data:
- Multi User Data (functionality not implemented yet)
- USDA Food/Groups (now they are directly imported)
- Home Weights and other food data (now they are directly imported)
- CGMS data (CGMS support not started yet)