Re: Backup?

Поиск
Список
Период
Сортировка
От Vivek Khera
Тема Re: Backup?
Дата
Msg-id x74qzsi8lj.fsf@yertle.int.kciLink.com
обсуждение исходный текст
Ответ на Backup?  (Bjørn T Johansen <btj@havleik.no>)
Список pgsql-general
>>>>> "BTJ" == Bjørn T Johansen <Bj> writes:

BTJ> Should one use pg_dumpall to backup the database or is it more

yes, or pg_dump specific databases.

BTJ> practical to just copy the data directory?

this would do you no good, since the files are not necessarily in a
consistent state when you copy many of them.  ie, the copy is
non-atomic, and there is no guarantee that all data is flushed to
disk.

i don't even do a file system dump of my PG data partition because of
this.


--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Vivek Khera, Ph.D.                Khera Communications, Inc.
Internet: khera@kciLink.com       Rockville, MD       +1-240-453-8497
AIM: vivekkhera Y!: vivek_khera   http://www.khera.org/~vivek/

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

Предыдущее
От: "Edwin Quijada"
Дата:
Сообщение: Re: Activate Index
Следующее
От: Doug McNaught
Дата:
Сообщение: Re: Backup?