While I trying to upload database to the heroku, I hav eget this errors env: pg_dump: no such file or directory and env: pg_restore no such file and directory
. What is the meaning of the this errors ? How can I fix these errors to load database to the heroku ?
Asked
Active
Viewed 715 times
0

nesAM
- 51
- 4
-
They mean that the file, as you specified it with a path and a name, couldn't be found. If you'd like more help, could you please provide some details, like what exact commands did you type in? – lurker May 26 '13 at 14:25
-
@mbratch heroku pg:transfer -f ... -t .... – nesAM May 26 '13 at 15:58
2 Answers
0
Are you using the :sql dump_format instead of schema.rb?
If so, see your solution here: Error when doing rake db:migrate on Heroku
0
I just encountered the same errors using pg_transfer. Turns out that the postgresql client tools weren't installed. You can install them with:
sudo apt-get install postgresql-client

alan
- 4,247
- 7
- 37
- 49