Skip to content

Database

Common database operations for local DDEV environments and production Coolify deployments.

  1. SSH into the DDEV container:

    Terminal window
    ddev ssh
  2. Dump the database:

    Terminal window
    pg_dump --no-owner --no-acl -Fc >dump.sql.gz

Add the following flags to your import script:

--no-owner --no-acl