> ## Documentation Index
> Fetch the complete documentation index at: https://docs.leamout.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Backup

> Create a portable backup of deployment identity, configuration, license material, and durable application state.

Create a backup with:

```bash theme={null}
sudo leamout backup
```

or choose an output path:

```bash theme={null}
sudo leamout backup --output /secure/path/leamout-backup.tar.gz
```

The archive currently contains:

* a backup manifest with deployment identity and timestamp;
* a durable application-state dump (`database.sql`);
* `deployment.json`;
* `leamout.env`;
* installed `license.json` and `keyring.json`, when present.

Backup files are created with restrictive permissions.

<Warning>
  Current CLI backups do not include recording media or deployment TLS certificates. Protect and back up those assets separately according to your storage design.
</Warning>
