> ## Documentation Index
> Fetch the complete documentation index at: https://www.aptible.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# aptible db:dump

This command dumps a remote [PostgreSQL Database](https://www.aptible.com/docs/core-concepts/managed-databases/supported-databases/postgresql.md) to a file.\
\\

# Synopsis

```
Usage:
  aptible db:dump HANDLE [pg_dump options] [flags]

Flags:
  -e, --env string           Environment handle (alias)
      --environment string   Environment handle
```

For additional pg\_dump options, please review the following [PostgreSQL documentation that outlines command-line options that control the content and format of the output.](https://www.postgresql.org/docs/current/app-pgdump.html).
