Settings & Integrations

Backup & Restore

Backup & Restore (?page=backup) creates a full-system backup bundle — a single .zip file containing:

  • manifest.json — metadata, app version, timestamp
  • database.sql — a full or partial SQL dump
  • uploads/ — every user-uploaded file (lab reports, photos, etc.)
  • logs/ — error logs and Telegram/storage logs
  • env/env.txt — your .env configuration (credentials/config)

Step-by-step: creating a backup

  1. Go to Settings → Backup.
  2. Choose full or partial scope if offered.
  3. Generate the backup — download the resulting .zip and store it somewhere safe outside the server.

Restoring

Two supported paths:

  • Same-server restore — extract the bundle, re-import the database, and copy files back into place.
  • Fresh-server restore — download the bundle .zip and use the restore uploader on a new installation, or extract it manually.

Common issues & fixes

the .env file (with secrets/API keys) is included in the bundle; store backups securely and don't share them casually.
make sure the new server's PHP/MySQL versions are compatible with the app version noted in manifest.json.
the uploads/ folder (lab reports, images) can be sizable; ensure enough disk space and download bandwidth before starting.

Was this article helpful?

Thanks for the feedback!
ESC
navigate open esc close