Documentation Index
Fetch the complete documentation index at: https://docs.tablepro.app/llms.txt
Use this file to discover all available pages before exploring further.
Backup & Restore
Dump a PostgreSQL or Redshift database to a.dump file with pg_dump, and restore one back with pg_restore. Both live in the File menu on any connected PostgreSQL or Redshift session.
PostgreSQL and Redshift only. Restore is disabled on read-only Safe Mode. Backup stays available on read-only connections because it does not write to the database.
Requirements
TablePro shells out to your localpg_dump and pg_restore. Install them with Homebrew:
PATH and the standard Homebrew locations.
Backup Dump
- Choose File > Backup Dump….
- Pick the database to dump.
- Choose where to save the
.dumpfile. - Watch progress. Click Cancel to stop and remove the partial file.
<database>-<yyyy-MM-dd-HHmmss>.dump. Dumps use the custom archive format (pg_dump -Fc) so they round-trip through pg_restore.


Restore Dump
- Choose File > Restore Dump….
- Pick the
.dumpfile. - Pick the target database.
- Watch progress. Click Cancel to stop. The target database is not rolled back; review and clean up as needed.
pg_restore runs with --no-owner --no-acl, so the connection user owns the restored objects. TablePro does not pass --clean; restoring on top of an existing schema with conflicting objects produces stderr errors that show in the result sheet.
SSH Tunnels
Both flows reuse the connection’s active SSH tunnel. No second port forward is opened.Cancelling
Cancel asks for confirmation, then sendsSIGTERM.
- Backup: TablePro removes the partial
.dumpfile. - Restore: the target database may be left in a partial state. Drop it and restore again into a fresh database, or clean up the partial objects manually.
Failures
A non-zero exit shows the last 64 KB ofpg_dump or pg_restore stderr in a scrollable monospaced view. Common causes:
- Binary not found: install
libpq, or set a custom path under Settings > Terminal > CLI Paths. - Authentication failed: TablePro passes the connection password via
PGPASSWORDand runs the tools with--no-passwordto avoid a TTY prompt. If the role lacksLOGINor the database is wrong, the failure surfaces here. - Restore conflict: the target database has objects that conflict with the dump. Restore into a fresh database or drop the conflicting objects first.
