Domanda

I'm trying to upload a database to my heroku app, I'm using

$ PGPASSWORD=mypassword pg_dump -Fc --no-acl --no-owner -h localhost -U myuser mydb > mydb.dump

But, to do it, I have to replace localhost with my heroku app host. How do I know what my host is?

Sorry for asking such a simple question, but I'm starting with heroku and there're still a lot I have to learn

È stato utile?

Soluzione

You need to have postgresql installed and running

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top