Re: pg_dump in cycle

From: "Najib Abi Fadel" <nabifadel(at)usj(dot)edu(dot)lb>
To: "generalpost" <pgsql-general(at)postgresql(dot)org>
Subject: Re: pg_dump in cycle
Date: 2004-09-16 09:36:42
Message-ID: 007b01c49bd0$afe41600$f664a8c0@najib
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Use pg_dump instead of pg_dumpall

example:
pg_dump databaseName > databaseDumpFile

if u have many databases, you can make a script that dumps each database in
it's own file ....

----- Original Message -----
From: "Ilia Chipitsine" <ilia(at)paramon(dot)ru>
To: <pgsql-general(at)postgresql(dot)org>
Sent: Thursday, September 16, 2004 8:08 AM
Subject: [GENERAL] pg_dump in cycle

> Dear Sirs,
>
> I want to dump all databases, but separately each database in its own
> file, not all databases in one single file as pg_dumpall does.
>
> How can I implement that ?
>
> Cheers,
> Ilia Chipitsine
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Paramveer.Singh 2004-09-16 09:42:37 Re: schema level variables
Previous Message Stefano Bonnin 2004-09-16 09:29:57 problem with pg_restore and user privileges