fly postgres

Manage Postgres clusters.


fly postgres [command] [flags]

Available Commands

  • attach - Attach a postgres cluster to an app
  • barman - Manage databases in a cluster
  • config - Show and manage Postgres configuration.
  • connect - Connect to the Postgres console
  • create - Create a new Postgres cluster
  • db - Manage databases in a cluster
  • detach - Detach a postgres cluster from an app
  • events - Track major cluster events
  • failover - Failover to a new primary
  • import - Imports database from a specified Postgres URI
  • list - List postgres clusters
  • restart - Restarts each member of the Postgres cluster one by one.
  • users - Manage users in a postgres cluster


  -h, --help   help for postgres

Global Options

  -t, --access-token string   Fly API Access Token
      --debug                 Print additional logs and traces
      --verbose               Verbose output

See Also

  • fly - The command line interface