Exporting data - daily backup
This applies to version 4.0 and later.
NOTE: This do not apply when running with external database.
The server executes daily exports/backups of the internal database. Backups are placed in <installation_root>/data/backup. A backup consists of a tar file named phenixid-<date>T<time>.tar.
If not configured a backup is executed nightly at 01:00. This can be overridden by setting "export_start" property on the com.phenixidentity~phenix-store-mpl module.
Recommendation
Store backups on different machine than the actual server for ensuring data can be retrieved in a disaster recovery scenario.
Backup files are currently not removed by the system. This should be done on a regular basis in order not occupying unnecessary disks pace .
Triggering a backup from outside
It is possible triggering a backup by accessing the database and execute the backup command. This is done by executing SQL script:
"BACKUP DATABASE TO './data/backup/' NOT BLOCKING;"