backup_database
Back up the Kiln database while optionally redacting sensitive fields like API keys and access codes, replacing them with 'REDACTED' for safe storage.
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 |