Перед началом резервного копирования файлов базы данных обязательно нужно остановить БД Postgre SQL.
Чтобы остановить Postgre SQL БД:
На компьютере, где работает база данных, зайдите в систему от имени пользователя root.
В командной строке введите: service pgagent-9.6 stop service postgresql-9.6 stop По окончании процедуры резервного копирования сервисы можно запустить с помощью следующей команды:
service pgagent-9.6 start service postgresql-9.6 start
Sv translation
language
en
Предупреждение
title
Important!
Before processing the database files backup, you should obligatory stop the Postgre SQL database.
To stop Postgre SQL database:
On the computer that hosts the database, log on as the root user.
In the command prompt, enter: service pgagent-9.6 stop service postgresql-9.6 stop You can start services later (when backuping finished), using the following command: service pgagent-9.6 start service postgresql-9.6 start