backup_database
Create a copy of the Kiln database with optional redaction of sensitive fields like API keys and payment references.
Instructions
Back up the Kiln database with optional credential redaction.
Creates a copy of the SQLite database. By default, sensitive fields
(API keys, access codes, payment refs) are replaced with "REDACTED"
in the backup.
Args:
output_path: Destination file path. Defaults to
``~/.kiln/backups/kiln-YYYYMMDD-HHMMSS.db``.
redact: If ``True`` (default), redact credentials in the backup.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| redact | No | ||
| output_path | No |