On 2021-06-10 10:43, Dean Gibson (DB Administrator) wrote:
On 2021-06-10 09:54, Ranier Vilela wrote:
Em qui., 10 de jun. de 2021 às 13:08, Dean Gibson (DB Administrator)
<postgre...@mailpen.com <mailto:postgre...@mailpen.com>> escreveu:
... Do I need quotes on the command line?
See at:
https://www.postgresql.org/docs/13/app-pg-dumpall.html
<https://www.postgresql.org/docs/13/app-pg-dumpall.html>
Your cmd lacks =
=>pg_dumpall -U Admin --exclude-database=MailPen >zzz.sql
regards, Ranier Vilela
...
However, the result was the same: 3.5GB before running out of space.
It turns out the "=" is not needed. The double-quoting is (this works):
pg_dumpall -U Admin --exclude-database '"MailPen"' >zzz.sql