Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

OpenSpecimen v9.0 supported automated backup job, which can be configured on a nightly basis. The job backs up the OpenSpecimen data folder and MySQL database.

Pre-requisites

  1. Before configuring the automated backup, please make sure the backup directory path is configured in the openspecimen.properties as below

app.backup_dir=<Absolute path to the backup dir>

...

2. The database user from which the OpenSpecimen is running should have the MySQL database export privileges.

Note
  1. If the app.backup_dir property is not mentioned, the current working directory is used to store the backup files (.tar.gz files)

  2. The database backup is only supported for the MySQL database.

  3. Database backup uses the command/binary mysqldump and requires the command to be available on the same VM as the application VM.

  4. The data directory and database backup are tar'ed and gzip'ed into a single file using the following format - yyyyMMdd_HHmmss.tar.gz

  5. Email notification is sent to IT admin and super admins when a backup fails.

  6. Only last five backups will be retained.

  7. If we take six backups in a single day then only latest five backups will be retained.

How to configure:

  1. Navigate to → Jobs → Data Backup

  2. Select Daily and enter the date and time to run the job. The example is below.

...