Re: Hard link backup strategy

Поиск
Список
Период
Сортировка
От Kevin Grittner
Тема Re: Hard link backup strategy
Дата
Msg-id 49D1DE5B.EE98.0025.0@wicourts.gov
обсуждение исходный текст
Ответ на Re: Hard link backup strategy  (Michael Monnerie <michael.monnerie@is.it-management.at>)
Список pgsql-admin
Michael Monnerie <michael.monnerie@is.it-management.at> wrote:
> It is no problem if B reads, A can copy without a problem, even
> without the cp before mv.

B could open the file while it is being copied, and read to the
current end of file before A has finished copying.  If we used rsync
it would, by default, copy to a temporary file name in the target
directory and mv to the right name when complete, but we prefer the cp
to a temp directory and explicitly mv, because of the subsequent rsync
steps copyig out of the target directory.

-Kevin

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

Предыдущее
От: Emanuel Calvo Franco
Дата:
Сообщение: Re: PG Patch
Следующее
От: Tom Lane
Дата:
Сообщение: Re: PG Patch