Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Generate a ready-to-run basecut.yml from your schema
basecut init
basecut.yml
basecut init [flags]
--source <url>, -s
$BASECUT_DATABASE_URL
--output <path>, -o
--force, -f
false
basecut init --source "postgresql://readonly@prod-db:5432/myapp"
version: '1' name: 'my-snapshot' from: - table: users where: 'id = :id' params: id: 42 include_all: - countries traverse: stop_at: - user_roles limits: rows: per_table: 1000 total: 100000 sampling: mode: random seed: 0 anonymize: mode: auto rules: users: email: fake_email output: ./snapshots
basecut snapshot create --config basecut.yml --name dev-seed --source "$BASECUT_DATABASE_URL"