Re: problem with dumpall - Mailing list pgsql-admin

From Bruce Momjian
Subject Re: problem with dumpall
Date
Msg-id 200201100512.g0A5CT028702@candle.pha.pa.us
Whole thread Raw
In response to problem with dumpall  (RED <kv@red.kht.ru>)
List pgsql-admin
RED wrote:
> Hi !
> I have small problem
> amount size all databases ~5Gb
> I make dumpall >dumpfile
> when size dumpfile = 1024 dumpall print error and exit !
> Linux Slackware7.2 ext2 2.4.17 gcc2.95
> file size in bash - unlimit

Try:

    pg_dumpall | gzip >dumpfile

pg_dump and hence pg_dumpall also has compression option flags.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

pgsql-admin by date:

Previous
From: RED
Date:
Subject: problem with dumpall
Next
From: "Florian Helmberger"
Date:
Subject: Re: pgdumpall_file is bigger than 2 Gigabyte