Skip to content

Restore: the input is not a TTY #54

Closed
@acouvreur

Description

@acouvreur

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

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions