Re: Is there a way to backup Postgres via SQL commands? - Mailing list pgsql-general

From Alban Hertroys
Subject Re: Is there a way to backup Postgres via SQL commands?
Date
Msg-id 513F71C7-6491-4233-869D-F85A8BE828F7@solfertje.student.utwente.nl
Whole thread Raw
In response to Is there a way to backup Postgres via SQL commands?  (Frank Church <voipfc@googlemail.com>)
List pgsql-general
On 14 Jun 2010, at 13:28, Frank Church wrote:

> Are there SQL commands that can do a backup over a client connection,
> rather than from the command line like pgsql etc?

No.

> By that I mean some kind of SELECT commands that can retrieve the
> database's content as SQL commands that can be replayed to a server to
> restore it, rather than something that saves directly to file, or
> passes it through a pipe?


That sounds quite a bit like replicating the DB to a warm standby, is that what you're after? There are several
solutionsfor that. 

Alban Hertroys

--
If you can't see the forest for the trees,
cut the trees and you'll see there is no forest.


!DSPAM:737,4c16281d286215086519202!



pgsql-general by date:

Previous
From: David Wilson
Date:
Subject: Re: Partial indexes instead of partitions
Next
From: Raymond O'Donnell
Date:
Subject: Re: Is there a way to backup Postgres via SQL commands?