Database
Common database operations for local DDEV environments and production Coolify deployments.
Commands
Section titled “Commands”Dump database
Section titled “Dump database”-
SSH into the DDEV container:
Terminal window ddev ssh -
Dump the database:
Terminal window pg_dump --no-owner --no-acl -Fc >dump.sql.gz
Coolify
Section titled “Coolify”Add the following flags to your import script:
--no-owner --no-acl