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

# Uploaded dump restore is not available

> DBHost does not restore uploaded .sql, .sql.gz, .dump or .backup files. The routes return 409; import dumps yourself with psql or pg_restore.

Customer-uploaded `.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](https://docs.dbhost.app/guides/restore-your-own-dump.md) guide for examples.
To restore a backup that DBHost made of the same database, see
[Restore from a DBHost backup](https://docs.dbhost.app/guides/restore-from-backup.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.