Skip to main content

Backup, Update, Recovery

1. Minimum backup before changes

Before major changes, create:

  1. configuration export (Configuration Export),
  2. database export (Database Export),
  3. backup of the instance data directory.

2. Update process (operational model)

Safe minimal flow:

  1. stop service,
  2. backup,
  3. replace binaries,
  4. start service,
  5. verify endpoints.

Post-update checks:

  1. http://<host>:<web-port>/AircraftList.json
  2. http://<host>:<admin-port>/admin

3. Recovery after failed deployment

  1. Stop service.
  2. Restore previous binaries.
  3. Restore configuration and/or database from backup.
  4. Start service.
  5. Verify feeds and admin access.

4. What to log after deployment

Track:

  1. release version,
  2. date and host,
  3. changed ports/binding settings,
  4. endpoint verification results.