0
I have a machine that I need to backup the Postgresql database, it is in a Docker container on a server, to backup tried the following script:
docker exec -t postgresDB pg_dump -U usuario_banco -h remote_host --host=127.0.0.1 --port=5432 nome_do_banco --file=/etc/backup.bkp
The problem that is the bank is large and lack space for backup, I wonder if there is any way to save direct on my machine.