TheDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/mikronita/mikrom/llms.txt
Use this file to discover all available pages before exploring further.
mikrom db group gives you full lifecycle control over PostgreSQL databases provisioned through Neon and hosted in Cloud Hypervisor–backed microVMs on the Mikrom platform. You can create databases with custom resource allocations, retrieve tunnel-ready connection strings, manage Neon branches, and take point-in-time snapshots — all from the command line.
mikrom db list
List all databases in the current project context.mikrom db create
Create a new PostgreSQL database. Defaults to a Neon-backed engine running PostgreSQL 16 with 1 vCPU, 512 MiB of RAM, and 1024 MiB of disk space.Unique display name for the database within the current project.
Database engine. Currently supported:
neon.PostgreSQL major version to provision (e.g.
16). Short flag is -V (capital V).Number of CPU cores to allocate. Accepted values:
1, 2, 3, 4. This flag has no short form.Memory to allocate. Accepted values:
512M, 1G, 2G, 4G.Disk size for the database volume, expressed in MiB.
One or more
key=value pairs forwarded as database engine settings, e.g. --settings max_connections=200.The
--disk flag is specified in MiB (mebibytes). The default of 1024 equals 1 GiB. To provision a 10 GiB disk, pass --disk 10240. The --version short flag is -V (capital V), and --vcpus has no short flag.mikrom db delete
Delete a database by its name or ID. Prompts for confirmation unless--yes is supplied.
Name or ID of the database to delete.
Skip the interactive confirmation prompt.
mikrom db info
Retrieve full details about a single database, including its engine version, resource allocation, status, and internal network address.Name or ID of the database.
mikrom db connection
Show the connection details required to reach a database from your local machine. The command returns:- An SSH tunnel command that forwards a local port through the platform’s secure tunnel to the database VM.
- A psql command preconfigured to connect through that tunnel.
- A JSON representation of the same metadata when
--output jsonis passed.
Name or ID of the database.
mikrom db branches
List all Neon branches for a database. Neon’s branching model lets you create instant copy-on-write clones of your database for development or testing.Name or ID of the Neon-backed database.
mikrom db backup
Display backup configuration and status details for a database.Name or ID of the database.
mikrom db snapshots
List all snapshots that have been taken for a database.Name or ID of the database.
mikrom db snapshot-create
Create a named snapshot of a database’s current state. Snapshots capture the full disk image of the database VM and can be used for point-in-time restores.Name or ID of the database.
Descriptive name for the snapshot (e.g.
pre-migration-v2).mikrom db snapshot-restore
Restore a database to the state captured in a named snapshot. This operation replaces the current database disk with the snapshot image.Name or ID of the database.
Name of the snapshot to restore from.
mikrom db snapshot-delete
Permanently delete a named snapshot for a database.Name or ID of the database.
Name of the snapshot to delete.