0

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

1 Answer 1

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
Sign up to request clarification or add additional context in comments.

2 Comments

Can't we use direct restore by accessing the Azure postgres Sql server from pgAdmin ?
You can give it a try. I have not used pgAdmin before.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.