Martlark / pg_dump

Docker image for scheduled dump of PostGres SQL files with automatic retention and removal
Apache License 2.0
22 stars 14 forks source link

Falha ao pegar as variáveis #10

Closed yuriprawucki1 closed 1 year ago

yuriprawucki1 commented 1 year ago

Olá, estou testando essa imagem no meu ambiente porém percebi que o Dump não é realizado pois o Shell Script não consegue ler as variáveis declaradas como POSTGRES_DB, PGPORT…

Fiz um teste exportando a variável “export $PGPORT=5432”. Com isso funciona.

Martlark commented 1 year ago

"Hello, I'm testing this image in my environment but I noticed that the Dump is not performed because the Shell Script cannot read the variables declared as POSTGRES_DB, PGPORT...

I did a test by exporting the variable “export $PGPORT=5432”. With that it works."