Re: Postgresql Backups - Mailing list pgsql-general

From Scott Marlowe
Subject Re: Postgresql Backups
Date
Msg-id dcc563d10908071254j37ca9b17w95e16e9a75412641@mail.gmail.com
Whole thread Raw
In response to Postgresql Backups  (sub_woofer <tqzelijah@yahoo.co.uk>)
Responses Re: Postgresql Backups
Re: Postgresql Backups
List pgsql-general
On Thu, Aug 6, 2009 at 6:42 AM, sub_woofer<tqzelijah@yahoo.co.uk> wrote:
>
> Hello all
>
> To backup my postgresql data I use the pg_dumpall command which dumps all my
> databases to a .sql file.
>
> If I would like to restore a single database from this file how would I do
> this? Is it possible using PgAdmin - as this only allows us to restore a
> database from a .backup file???

You're probably better off switching to explicitly backing up
databases in the custom format and using a single pg_dumpall --globals
to backup the users accounts and such.  That's how I prefer to do it
and it makes life much easier.

pgsql-general by date:

Previous
From: Sam Mason
Date:
Subject: Re: Getting linux $USER (and perhaps other env vars) in PL/pg-sql?
Next
From: Ray Stell
Date:
Subject: Re: Postgresql Backups