What’s backed up
- Schedule: a snapshot of the database is taken at least every six hours.
- Retention: snapshots are kept on a rolling schedule. Recent snapshots are kept close together and older ones are thinned out over time, and the oldest are gone within 12 months.
- Encryption: snapshots are encrypted at rest, like the database itself.
Restoring from a backup
Restores are done by the Modelence support team. Email support@modelence.com with:- the app and environment (the app ID is enough),
- the database, if the environment has more than one,
- roughly what point in time you want to go back to.
Exporting data
Each database’s connection string reaches the app at runtime as an environment variable. To export a database, connect with that string and use the database’s standard dump tool, and load a dump back with its matching restore tool.The connection string contains the database password. Keep it out of your repository and anywhere
else it could be read.