Flink / dokku-psql-single-container

Plugin for dokku that provides a Postgresql server in a single container
MIT License
51 stars 9 forks source link

No data provided on stdin. #28

Closed mmintel closed 8 years ago

mmintel commented 8 years ago

hi there,

i've uploaded a .dump file on my server root path and I am trying to restore the DB of my app from that file.

from my l command you can see that the file exists.

screen shot 2016-06-01 at 17 24 20

Doesn't work with .dump or .sql file. The file was created from pg_dump zeitschild-dev -f zeitschild-dev.sql

BR

Flink commented 8 years ago

Yes that’s normal, the command to issue is the following:

dokku psql:restore staging < zeitschild-dev.dump
mmintel commented 8 years ago

alright, I was just too blind. thank you!

Flink commented 8 years ago

@mmintel you’re welcome :wink: