Closed
Description
When trying to restore a backup to a remote server:
zcat backupfile.sql.gz | docker run --rm --tty --interactive postgres:$VERSION psql --host=$HOSTNAME --port=$PORT --username=$USERNAME --dbname=$DBNAME -W
When replacing all the variables, I get the following error:
the input is not a TTY
I cannot restore my backup using the command you provided. I am using ubuntu 20.10 with docker version 20.10.2.
Is there something that I am doing wrong ?
Metadata
Metadata
Assignees
Labels
No labels