.sql, .sql.gz, .dump, and .backup restores are
unavailable in the dashboard and public API. For an authorized database, the
old upload-init, upload-complete, and direct upload routes return
409 CUSTOM_RESTORE_UPLOAD_DISABLED without creating a restore operation.
Use the database owner role and your TLS connection details to run psql for
plain SQL or pg_restore for a PostgreSQL custom-format dump. See the
Restore your own dump guide for examples.
To restore a backup that DBHost made of the same database, see
Restore from a DBHost backup.