0

I have a question of how we can restore a local database backup in Azure PostgreSQL server?

jarlh
  • 42,561
  • 8
  • 45
  • 63
Gudwlk
  • 1,177
  • 11
  • 11

1 Answers1

1

Make sure you can access your database from the computer you are restoring the DB dump

pg_restore --dbname=postgresql://user:password@host:port/database_name ./path/to/your/dump.tar.gz
tom10271
  • 4,222
  • 5
  • 33
  • 62