Re: pg_dumpall for Postgres Database Daily Backup

From: Vick Khera <vivek(at)khera(dot)org>
To: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: pg_dumpall for Postgres Database Daily Backup
Date: 2010-05-13 19:37:12
Message-ID: AANLkTintQ-bkaWgsZm-ftt7D5sWPqGJuSq1ALnB1mI7S@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, May 13, 2010 at 11:50 AM, Wang, Mary Y <mary(dot)y(dot)wang(at)boeing(dot)com> wrote:
> it looks like pg_dumpall > outfile is the best choice.  I'd like to ask the community to reconfirm.

We do an individual pg_dump on each DB separately, using the '-Fc'
format. The only thing we miss from pg_dumpall we get via "pg_dumpall
--globals-only > globals.sql". The "c" format is much more flexible
to restore bits of the database with judicious use of pg_restore and
awk or grep.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Magnus Hagander 2010-05-13 20:37:27 Re: List traffic
Previous Message Tom Lane 2010-05-13 19:19:31 Re: SQL code runs slower as a stored function