Re: Fast backup/restore

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Fast backup/restore
Дата
Msg-id 28103.1161097862@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Fast backup/restore  (mengel@notes.cc.sunysb.edu)
Список pgsql-general
mengel@notes.cc.sunysb.edu writes:
> We just tar/gzip the entire data directory.  It takes all of 20 sec. We've
> successfully restored from that also.

You've been very lucky ... unless you stopped the postmaster while
taking the backup.  Without that, this method WILL screw you someday.

(But as long as you're willing to stop the postmaster, it's a perfectly
reasonable option.)

            regards, tom lane

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

Предыдущее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: How to _really_use a non-default tablespace
Следующее
От: "Brian Mathis"
Дата:
Сообщение: Re: A query planner that learns