Data and storage / User guide
Databases on clusters
Provision and operate managed database workloads on your clusters.
On this page
Before you begin
Use a supported cluster with working persistent storage and the database operator/runtime required by the selected engine. Configure a backup destination separately if required.
Get started
- Choose the database engine and target cluster.
- Set capacity, storage, and access configuration using the options offered by your deployment.
- Create the database and wait for native workload readiness.
- Use the returned connection details from an authorized client and verify a read/write operation.
Operate the service
Protect application credentials and rotate them through the supported database flow. Monitor storage growth and database-native status. For protection, verify that a backup creates a real artifact and that restoration can recover representative data into an isolated target.
Availability and limits
PostgreSQL provisioning is the core verified path; other engines remain dependent on provider configuration. Database backup/PITR is separate from generic BackupService plans. A submitted backup object is not proof that a restorable artifact exists.
Troubleshooting
For a database stuck provisioning, inspect operator readiness, PVC binding, and pod events. For connection failures, distinguish endpoint routing, TLS, and authentication. For restore failures, inspect the native backup artifact and target capacity.
Next steps
Use the CLI guide to automate repeatable work, or the API guide to integrate Anchras with your own tools.
CLI commands
Install and authenticate using the CLI guide. The table describes command families; required arguments are shown in their usage output.
| Command | Purpose |
|---|---|
anchras databases <list|get|create|update|delete|connection|rotate-credential|engines|expose|pooler|backups> (alias: anchras db) | CLI usage. Replace angle-bracket placeholders with your values; square brackets indicate optional arguments. |
anchras databases backups <list|create|configure|restore> | CLI usage. Replace angle-bracket placeholders with your values; square brackets indicate optional arguments. |
anchras databases backups configure <database> --bucket <bucket-id> --credential <credential-id> [--schedule \ | CLI usage. Replace angle-bracket placeholders with your values; square brackets indicate optional arguments. |
anchras databases backups create <database> | CLI usage. Replace angle-bracket placeholders with your values; square brackets indicate optional arguments. |
anchras databases backups list <database> | CLI usage. Replace angle-bracket placeholders with your values; square brackets indicate optional arguments. |
anchras databases backups restore <database> --new-name <name> [--backup <backup-name>] [--target-time <RFC3339>] [--cluster <cluster-id> | --node <node> | --auto] [--verify-query <SELECT> --expect-output <CSV>] | CLI usage. Replace angle-bracket placeholders with your values; square brackets indicate optional arguments. |
anchras databases connection <database> | CLI usage. Replace angle-bracket placeholders with your values; square brackets indicate optional arguments. |
anchras databases create <name> (--cluster <cluster-id> | --node <node> | --auto) [--engine postgres] [--version <v>] [--size 10GiB | --storage 10] [--instances 1] [--database <db>] [--username <user>] [--extensions pg_trgm,citext] [--project <id|slug>] | CLI usage. Replace angle-bracket placeholders with your values; square brackets indicate optional arguments. |
anchras databases delete <database> --yes | CLI usage. Replace angle-bracket placeholders with your values; square brackets indicate optional arguments. |
anchras databases expose <database> [--internal] | CLI usage. Replace angle-bracket placeholders with your values; square brackets indicate optional arguments. |
anchras databases get <database> | CLI usage. Replace angle-bracket placeholders with your values; square brackets indicate optional arguments. |
anchras databases pooler <database> [--disable] [--mode transaction|session] [--instances N] [--pool-size N] | CLI usage. Replace angle-bracket placeholders with your values; square brackets indicate optional arguments. |
anchras databases rotate-credential <database> --yes | CLI usage. Replace angle-bracket placeholders with your values; square brackets indicate optional arguments. |
anchras databases update <database> [--storage <GiB>] [--instances <n>] [--label key=value ...] | CLI usage. Replace angle-bracket placeholders with your values; square brackets indicate optional arguments. |
API reference
Browse procedures, request and response types, and download the complete OpenAPI contract.
