openMusiXplora

System documentation

Mirroring and recovery

Use static access and restore a verified data edition.

The catalogue server and static access

The public catalogue server provides search, combinable filters and a paginated REST API. Its two application instances share a disk. An independent public mirror on a second host is planned. Recovery from a separately held copy has been tested locally.

openMusiXplora Portable can run on an ordinary static file host. To display the cinema organ, the browser opens the following file and loads the relevant data block. The record includes technical details, relationships and source references. For offline access the archives can be extracted and searched locally.

version/1/record.html?lang=en&id=4013925

Portable’s index.json records each block’s position, length and checksum. A host that supports HTTP range requests can serve just the required bytes. A public installation on a service such as Codeberg Pages needs to be tested with the actual original IDs, files and checksums. Providing arbitrary REST queries during a server outage would require a second running API.

Restoring service after an outage

  1. Identify the edition and its inventory from a separately held copy. Check the archived files against independently retained SHA-256 checksums and sizes.
  2. Restore the database and rebuild the search index to run the catalogue. For a static mirror, place the numbered editions’ files at their verified paths.
  3. From outside the host, test both languages, original IDs, evidence links and response formats. Include IDs differing only in case and an ID ending in a space. Switch the redirect after these checks pass.