ttd db¶
Database utilities: location, backups, health checks, and demo data. See Data & backups.
Database utilities.
Commands:
backup: Copy the database to a timestamped backup.doctor: Sanity-check the database and print summary counts.migrate: Create/upgrade the schema (also happens automatically on first use).path: Show the database file location.seed-demo: Populate demo clients, projects, and ~3 months of entries (for trying the TUI).
db path¶
Show the database file location.
db backup¶
Copy the database to a timestamped backup.
Parameters:
DEST, --dest: Destination file or directory
db migrate¶
Create/upgrade the schema (also happens automatically on first use).
db doctor¶
Sanity-check the database and print summary counts.
db seed-demo¶
Populate demo clients, projects, and ~3 months of entries (for trying the TUI).
Parameters:
--yes, --no-yes: Skip confirmation [default: False]--reset, --no-reset: Delete the existing database first [default: False]