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

Поиск
Список
Период
Сортировка
От A. Kretschmer
Тема Re: Is there a way to backup Postgres via SQL commands?
Дата
Msg-id 20100614114251.GF18782@a-kretschmer.de
обсуждение исходный текст
Ответ на Is there a way to backup Postgres via SQL commands?  (Frank Church <voipfc@googlemail.com>)
Список pgsql-general
In response to Frank Church :
> Are there SQL commands that can do a backup over a client connection,
> rather than from the command line like pgsql etc?
>
> 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?

What's wrong with pg_dump?

Andreas
--
Andreas Kretschmer
Kontakt:  Heynitz: 035242/47150,   D1: 0160/7141639 (mehr: -> Header)
GnuPG: 0x31720C99, 1006 CCB4 A326 1D42 6431  2EB0 389D 1DC2 3172 0C99

В списке pgsql-general по дате отправления:

Предыдущее
От: Frank Church
Дата:
Сообщение: Is there a way to backup Postgres via SQL commands?
Следующее
От: Sergey Konoplev
Дата:
Сообщение: Re: Partial indexes instead of partitions