Обсуждение: Вопрос про бэкапы

Поиск
Список
Период
Сортировка

Вопрос про бэкапы

От
"Evgeny M. Baldin"
Дата:
Добрый день

 Хотелось бы уточнить

 Из документации к postgreSQL 8:

22.3.2. Making a Base Backup

\ldots

   2. Connect to the database as a superuser, and issue the command

SELECT pg_start_backup('label');

\ldots

   3. Perform the backup, using any convenient file-system-backup tool
such as tar or cpio. It is neither necessary nor desirable to stop normal
operation of the database while you do this.

   4. Again connect to the database as a superuser, and issue the command

SELECT pg_stop_backup();

\ldots

Вопрос про пункт 3: обязательно именно копировать или можно pg_dump
воспользоваться?

Вопрос по пунктам 2 и 4 - это разные подсоединения или всё должно быть в
пределах одной сессии?

Есть ли утилита, которая  2, 3 и 4 делает автоматом?

С уважением
    Евгений