Connections
Dump
Restore
Logs
About

Database Connections

Source Database

Not Connected

No Connection

Test your connection to view database information

Target Database

Not Connected

No Connection

Test your connection to view database information

Next Steps

After connecting to your databases, proceed to the Dump tab to create a backup or the Restore tab to recover from a backup.

Database Dump

Dump Settings

The output file format used by pg_dump
Higher compression saves space but can take longer
Leave empty for all schemas
Appropriate file extension will be added automatically
pg_dump
"postgres://user:***@hostname:5432/database"
-Fc
-v
-f
"timescale_backup.dump"

Database Restore

Restore Settings

pg_restore
-d
"postgres://user:***@hostname:5432/database"
-v
--no-owner
--single-transaction
"timescale_backup.dump"

Migration Logs

TimescaleDB Migrator Terminal
$
Welcome to TimescaleDB Migrator
$
Ready to execute commands. Check logs below for details.
Activity Log

About TimescaleDB Migrator

What is TimescaleDB Migrator?

TimescaleDB Migrator is a tool designed to simplify the process of migrating data between TimescaleDB instances using the PostgreSQL native backup and restore utilities: pg_dump and pg_restore.

Key Features

  • Easy Database Migration: Migrate your entire TimescaleDB database with just a few clicks
  • Secure Connections: Support for secure connections with password protection
  • Backup Download: Download your database backup for safekeeping
  • Real-time Monitoring: Track the progress of your dump and restore operations
  • TimescaleDB-aware: Handles TimescaleDB-specific migration requirements
How It Works

Dump Operation

The dump operation uses pg_dump to create a backup of your source database. This backup can be in various formats (custom, directory, plain SQL, or tar) and with different compression levels.

Restore Operation

The restore operation uses pg_restore to import your backup into the target database. It includes TimescaleDB-specific pre and post-restore functions to ensure data integrity.

Commands Used

pg_dump
"postgres://user:password@source-host:5432/source_db"
-Fc
-v
-f
"~/timescale_backup.dump"
psql
"postgres://user:password@target-host:5432/target_db"
-c
"SELECT timescaledb_pre_restore();"
pg_restore
-d
"postgres://user:password@target-host:5432/target_db"
-v
--no-owner
"~/timescale_backup.dump"
psql
"postgres://user:password@target-host:5432/target_db"
-c
"SELECT timescaledb_post_restore(); ANALYZE;"