Backup can be used to restore system availability in case of unexpected behavior and also prevent loss of user data and made configuration changes.
The following can be backed up and restored:
PostgreSQL databases:
main. It contains API users credentials, parameters of connection data sources and their resources, parameters ofenvironments and projects, parameters of connection to LDAP directory, APNs certificates for sending push notifications, and so on.
cache. It contains cache data requested by mobile platform server, or mobile device from data source.
local. It contains data of the Local Database source.
TIP. It is recommended to set object copy frequency depending on how often new data is added. For example, for the main database determine frequency of adding API user accounts, for the cache database determine frequency of data change on schedule of cache update, for the local database determine frequency of adding new data to the Local Database data source. A backup is created after the peak of adding new data.
File storage MinIO. It contains loaded files and certificates for connecting to data sources.
Technical logs in the Elasticsearch storage.
Configuration file .env. It contains information about used containers in use and other system settings.
If Foresight Mobile Platform 23.05 and later is used, creating a backup and restoring of Elasticsearch logs is available separately from the system.
A procedure of creating a backup differs depending on the version of Foresight Mobile Platform:
Creating a system backup in Foresight Mobile Platform 23.12.
Creating a system backup in Foresight Analytics Platform 23.05.
Creating a system backup in Foresight Mobile Platform 22.04 or earlier.
Creating a backup of Elasticsearch logs in Foresight Analytics Platform 23.05 or later.
Restoring of system from backup differs depending on the version of Foresight Mobile Platform:
Restoring system from backup in Foresight Analytics Platform 23.12.
Restoring system from backup in Foresight Analytics Platform 23.05.
Restoring system from backup in Foresight Analytics Platform 22.04 or earlier.
Restoring Elasticsearch logs from backup in Foresight Analytics Platform 23.05 or later.
See also: