Re: Is there a way to backup Postgres via SQL commands?

Поиск
Список
Период
Сортировка
От Alban Hertroys
Тема Re: Is there a way to backup Postgres via SQL commands?
Дата
Msg-id 513F71C7-6491-4233-869D-F85A8BE828F7@solfertje.student.utwente.nl
обсуждение исходный текст
Ответ на Is there a way to backup Postgres via SQL commands?  (Frank Church <voipfc@googlemail.com>)
Список 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 по дате отправления:

Предыдущее
От: David Wilson
Дата:
Сообщение: Re: Partial indexes instead of partitions
Следующее
От: Raymond O'Donnell
Дата:
Сообщение: Re: Is there a way to backup Postgres via SQL commands?