0

I have postgres docker server postgres:9.6.24, I planned to copy the docker container with all of the database and its data to another laptop.

So, I followed this answer.

But after restored the database in another laptop, I got only the structure of the database. It has all the tables without any data/records/rows

How to backup and restore the postgres docker server to another computer

2
  • You could try to help those you want to help you by saying what was in the backup file you created and if you saw any errors Commented Jun 19, 2023 at 19:50
  • @RichardHuxton, I didnt notedown the logs while i restore the db, but, I tried again with the same answer by deleting the docker and created again, it got worked, thanks Commented Jun 20, 2023 at 13:58

0

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.