# Basecut ## Docs - [Self-Hosted Agents](https://docs.basecut.dev/advanced/agent-deployment.md): Deploy Basecut agents in your infrastructure for production workloads - [Environment Variables](https://docs.basecut.dev/advanced/environment-variables.md): Complete reference for Basecut CLI configuration - [Troubleshooting](https://docs.basecut.dev/advanced/troubleshooting.md): Common issues and solutions for Basecut CLI and agents - [basecut agent](https://docs.basecut.dev/cli-reference/agent.md): Start a Basecut self-hosted agent - [basecut init](https://docs.basecut.dev/cli-reference/init.md): Generate a ready-to-run basecut.yml from your schema - [basecut login](https://docs.basecut.dev/cli-reference/login.md): Authenticate with your Basecut account - [basecut logout](https://docs.basecut.dev/cli-reference/logout.md): Log out of your Basecut account - [basecut snapshot create](https://docs.basecut.dev/cli-reference/snapshot-create.md): Create a sanitized snapshot from a source database - [basecut snapshot delete](https://docs.basecut.dev/cli-reference/snapshot-delete.md): Delete a snapshot by reference - [basecut snapshot inspect](https://docs.basecut.dev/cli-reference/snapshot-inspect.md): Inspect snapshot metadata by reference - [basecut snapshot list](https://docs.basecut.dev/cli-reference/snapshot-list.md): List snapshots with filtering and cursor pagination - [basecut snapshot restore](https://docs.basecut.dev/cli-reference/snapshot-restore.md): Apply a snapshot's data to a target database - [basecut snapshot status](https://docs.basecut.dev/cli-reference/snapshot-status.md): Inspect async snapshot job status by job ID - [basecut whoami](https://docs.basecut.dev/cli-reference/whoami.md): Check your current authentication status - [Anonymization](https://docs.basecut.dev/configuration/anonymization.md): Configure PII masking during PostgreSQL snapshot creation — auto-detection, explicit rules, internal email exceptions, and org-wide policies. - [Snapshot Rules](https://docs.basecut.dev/configuration/snapshot-rules.md): Define organization-level snapshot guardrails and configure snapshot anonymization - [YAML Reference](https://docs.basecut.dev/configuration/yaml-reference.md): Full reference for the basecut.yml configuration file - [Execution Modes](https://docs.basecut.dev/core-concepts/execution-modes.md): Choose where snapshot extraction runs: self-hosted agent or local CLI - [How It Works](https://docs.basecut.dev/core-concepts/how-it-works.md): Understanding the relationship-following algorithm - [Snapshot Versioning](https://docs.basecut.dev/core-concepts/snapshot-versioning.md): How Basecut manages multiple versions of snapshots and naming conventions - [Snapshots](https://docs.basecut.dev/core-concepts/snapshots.md): Understanding Basecut database snapshots: anatomy, lifecycle, and guarantees - [Storage Providers](https://docs.basecut.dev/core-concepts/storage-providers.md): Configure where snapshots are stored: S3, GCS, or local filesystem - [Authentication](https://docs.basecut.dev/getting-started/authentication.md): How to authenticate with Basecut services - [Installation](https://docs.basecut.dev/getting-started/installation.md): Get Basecut installed and ready to use - [Quick Start](https://docs.basecut.dev/getting-started/quick-start.md): First snapshot in under 5 minutes using local execution - [Basecut with Docker Compose](https://docs.basecut.dev/integrations/docker-compose.md): Integrate Basecut into your Docker Compose workflow for local development - [Basecut in GitHub Actions](https://docs.basecut.dev/integrations/github-actions.md): Integrate Basecut into your GitHub Actions workflows for automated testing and snapshot management - [Welcome to Basecut](https://docs.basecut.dev/introduction.md): Production-like database snapshots in minutes — without production risk - [CI/CD Integration](https://docs.basecut.dev/workflows/ci-cd.md): Automate snapshot creation and test database seeding in your pipeline - [Common Workflows](https://docs.basecut.dev/workflows/common-workflows.md): Real-world patterns for using Basecut in development, testing, and debugging ## OpenAPI Specs - [openapi](https://docs.basecut.dev/api-reference/openapi.json)