Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Call postgres:import remotely via ssh not support file redirection to stdin #212

Open
tyctor opened this issue Feb 10, 2023 · 0 comments
Open

Comments

@tyctor
Copy link

tyctor commented Feb 10, 2023

Description of problem

calling postgres:import command via ssh on remote machine, does not support file redirection to stdin

How reproducible

call command via ssh

ssh dokku@DOKKU_HOST "postgres:import appname < /path/to/file/with/db/export-db-data"

Steps to Reproduce

  1. setup dokku env with postgres
  2. create file with db export
  3. run postgres:import remotely via ssh

Actual Results

data from file are not imported

Expected Results

data from file imported in postgres db

Environment Information

report.txt

@josegonzalez josegonzalez transferred this issue from dokku/dokku-postgres Feb 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant