1

I have two Heroku application in that from one heroku application - I take a dump. Now I want to restore that database to another heroku application. so How Can I do that?

I try this :

heroku pgbackups:restore HEROKU_POSTGRESQL_GREEN_URL "URL" --APP

When I run above command then

HEROKU_POSTGRESQL_COLOR_URL  <---restore---  b013.dump

Retrieving... done
Restoring... done

then after when I am checking the database then No records display in the table. All table records are blank

So What Should I do?

Please Help Me, Thanks In Advance

Dipak Panchal
  • 5,996
  • 4
  • 32
  • 68

2 Answers2

1

Heroku has step by step documentation on how to do this:

catsby
  • 11,276
  • 3
  • 37
  • 37
0

Heroku has recently changed their commands around, here is the newest version of how to do it.

Community
  • 1
  • 1
SergeyB
  • 9,478
  • 4
  • 33
  • 47