# Source: https://www.aptible.com/docs/reference/aptible-cli/cli-commands/cli-db-dump.md

> ## 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](/core-concepts/managed-databases/supported-databases/postgresql) to a file.\
\
Synopsis

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

Options:
  --env, [--environment=ENVIRONMENT]
```

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).