PRACTICAL GUIDE

Encrypted backups and restore verification

Prepare a verifiable copy of supported stores and restore it into a new destination.

Thesia 0.10.0 · App IT/EN in translated areas · Italian fallback elsewhere

Before you start

  • System administration and the Thesia backup CLI.
  • A separate backup key, identified data/configuration and a maintenance window for multiple databases.

Step by step

  1. Prepare a random key in a secret system or private file outside archived directories; do not pass it as a visible command-line value.
  2. Orderly stop all processes using the data when a coordinated point is required, and verify the data and configuration directories to include.
  3. Run fleet:backup create with a new .thbk destination, required offline confirmation and a protected key reference.
  4. Run verify-restore into a new, nonexistent directory. Read the authentication, hash and SQLite integrity report.
  5. Test the copy through necessary application flows and external services before a real migration; retain key and backup separately.
EXPECTED OUTCOME

What you get

An encrypted archive and a verified restored copy without overwriting the active installation.

Limits and cautions

  • The CLI does not include Keycloak/PostgreSQL, Microsoft 365, external shares or PC archives; those need separate procedures.
  • The offline flag is an operator declaration, not shutdown detection. A single SQLite snapshot does not prove global consistency for a running service.

Guide sources

Documentation is grounded in product implementation and documents. Descriptions do not establish external-service availability in your installation.

  • src/server/fleet-backup.ts
  • scripts/fleet-backup.ts
  • docs/fleet-it.md

Related guides

Open original ↗