Restoring System from Backup in Foresight Mobile Platform 23.12

To restore system from backup in Foresight Mobile Platform 23.12:

  1. Copy the restore_standalone_backup.sh script contained in the standalone_compose_files_v23.12.<version number>.zip archive and place it in to the folder with the docker-compose.standalone.yml file.

  2. Replace the .env configuration file with its backup.

  3. Execute one of the operations:

% docker-compose -f docker-compose.standalone.yml up -d

  1. Place the standalone_backup_<backup creation date and time> folder with the docker-compose.standalone.yml file.
  2. Deny access of user to mobile platform server.

  3. Start the script:

bash restore_standalone_backup.sh

If there are several folders standalone_backup_<backup creation date and time> together with the saved backups, specify name of the required folder as the script:

bash restore_standalone_backup.sh standalone_backup_<backup creation date and time>

  1. Check system performance and volume of restored data:

    1. Check cache data volume. If the data volume is not full, delete cache and add it again in the Cache Control subsection.

    2. Reset JWT expiration time for API users and administrators. To do this, change values of the parameters: Expiration Time of JWT Token for API Users, Expiration Time of JWT Token for Administrators, Expiration Time of refresh JWT for API Users and Administrators in the Security subsection.

    3. Add accounts of API users if they were added after creating a backup.

  1. Allow access of users to mobile platform server.

After executing the operations the system is restored from backup.

See also:

Creating a Backup and Restoring System | Creating a System Backup in Foresight Mobile Platform 23.12