Export Your Database

Who can export

Database exports are part of the closed managed-database pilot, with no date for wider availability. New requests are available only when the project's Database export card offers them. The owner requests and downloads an export; people the project is shared with can't. When new requests are unavailable, existing exports keep their expiry, requesting-browser and single-download conditions.

Ask for an export

When new requests are available:

1. Open the project's page and find Database export.

2. Sign in again: enter your password, and the code from your authenticator app when two-factor is on.

3. Confirm.

You need a password on your account to export. You can ask for one export every 24 hours per project, one at a time; an export that failed doesn't count.

Download it

Preparing it takes a while: you're emailed when it's ready, and the download appears on the project's page. It can be downloaded once, only in the browser you asked from, within 24 hours. After that, the download expires and the export is scheduled for deletion. A large database comes in more than one part; download every part. If a download stops before it finishes, you can download that part again, in the same browser and within those 24 hours.

What's in it

One PostgreSQL custom-format dump (the format pg_dump -Fc writes) of your project's database: its tables and their data.

Restore it

If it came in parts, join them in order into one file, for example: cat <name>.dump.part-1 <name>.dump.part-2 > <name>.dump

Then load it into a compatible PostgreSQL database: pg_restore --no-owner --no-acl -d <your database> <name>.dump