Изменения документа Утилиты
Редактировал(а) Alexandr Fokin 2023/12/16 14:12
отредактировано Alexandr Fokin
на 2022/06/30 20:21
на 2022/06/30 20:21
отредактировано Alexandr Fokin
на 2022/06/09 21:22
на 2022/06/09 21:22
Изменить комментарий:
К данной версии нет комментариев
Комментарий
-
Свойства страницы (1 изменено, 0 добавлено, 0 удалено)
Подробности
- Свойства страницы
-
- Содержимое
-
... ... @@ -1,25 +5,8 @@ 1 -В linux некоторые утилиты идут в рамках пакета "postgresql-client-<Version>" 2 - 3 ----- 4 - 5 5 |=(% style="width: 213px;" %)Название|=(% style="width: 650px;" %)Описание|=(% style="width: 644px;" %) 6 -|(% style="width:213px" %)psql|(% style="width:650px" %)Основная консольная утилита для взаимодействия с БД.|(% style="width:644px" %) 7 -|(% style="width:213px" %)pg_dump|(% style="width:650px" %)Бекап одной БД. 8 -(Можно выбрать отдельные схемы, таблицы. Можно экспортировать только схему)|(% style="width:644px" %)((( 2 +|(% style="width:213px" %)pg_dump|(% style="width:650px" %)Утилита для бекапов БД.|(% style="width:644px" %)((( 9 9 Postgres Pro Standard : Документация: 9.5: pg_dump : Компания Postgres Professional 10 10 https://postgrespro.ru/docs/postgrespro/9.5/app-pgdump 11 11 ))) 12 -|(% style="width:213px" %)pg_dumpall|(% style="width:650px" %)Бекап всех БД сервера.|(% style="width:644px" %) 13 -|(% style="width:213px" %)pg_restore|(% style="width:650px" %)Восстановление данных из бекапа.|(% style="width:644px" %)Postgres Pro Standard : Документация: 11: pg_restore : Компания Postgres Professional 14 -https://postgrespro.ru/docs/postgrespro/11/app-pgrestore 15 -|(% style="width:213px" %)pg_isready|(% style="width:650px" %)Проверка соединения|(% style="width:644px" %){{code language="bash"}}pg_isready -d <dbname> -h <ip/domain> -p <port> -U <user>{{/code}}((( 16 - 6 +|(% style="width:213px" %) |(% style="width:650px" %) |(% style="width:644px" %) 17 17 18 -Postgres - testing database connection in bash 19 -[[https:~~/~~/stackoverflow.com/questions/26911508/postgres-testing-database-connection-in-bash>>https://stackoverflow.com/questions/26911508/postgres-testing-database-connection-in-bash]] 20 -))) 21 - 22 ----- 23 - 24 -PostgreSQL Apt Repository 25 -https://www.postgresql.org/download/linux/debian/ 8 +