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