Postgres ΒΆ

Postgres gives your Applications and Jobs a managed PostgreSQL database. You create the database as its own resource and connect workloads to it. Several workloads can use the same database, for example an Application and its Jobs. Avoid sharing a database between applications that you deploy and change independently, because both become tied to the same schema. Use an API or Kafka to share data between them instead.

Postgres automatically creates and manages credentials for your workloads. You can also get short-lived personal access from the Nais CLI when you need to inspect the database.

Postgres supports point-in-time recovery within a window you choose (2 to 30 days, default 2). You can clone a database from its backups, either from the latest available point or from a specific time. The clone is a separate database that you can inspect without affecting existing workloads.

For longer retention, you can take backups that are kept for up to two years and survive deletion of the database. A backup can be restored into a new database.

Next steps ΒΆ

🎯 Create Postgres

🎯 Manage Postgres

🎯 Connect a workload

🎯 Connect as a personal user

🎯 Clone or restore a database

🎯 Back up and restore Postgres

🎯 Delete Postgres

πŸ“š Available extensions

πŸ“š Postgres backups

πŸ“š Postgres cloning

πŸ“š Postgres recovery window

πŸ“š Postgres workload credentials

πŸ“š Postgres personal access

πŸ“š Postgres manifest reference