Изменения документа Утилиты
Редактировал(а) Alexandr Fokin 2023/12/16 14:12
отредактировано Alexandr Fokin
на 2022/06/09 21:22
на 2022/06/09 21:22
отредактировано Alexandr Fokin
на 2023/12/16 14:01
на 2023/12/16 14:01
Изменить комментарий:
Updated parent field.
Комментарий
-
Свойства страницы (2 изменено, 0 добавлено, 0 удалено)
-
Объекты (0 изменено, 1 добавлено, 0 удалено)
Подробности
- Свойства страницы
-
- Родительский документ
-
... ... @@ -1,1 +1,1 @@ 1 -Разработка.Базы данных.SQL.PostgreSQL.WebHome 1 +xwiki:Разработка.Базы данных 2.SQL.PostgreSQL.WebHome - Содержимое
-
... ... @@ -1,8 +1,33 @@ 1 +В linux некоторые утилиты идут в рамках пакета "postgresql-client-<Version>" 2 + 3 +---- 4 + 1 1 |=(% style="width: 213px;" %)Название|=(% style="width: 650px;" %)Описание|=(% style="width: 644px;" %) 2 -|(% style="width:213px" %)pg_dump|(% 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" %)((( 3 3 Postgres Pro Standard : Документация: 9.5: pg_dump : Компания Postgres Professional 4 4 https://postgrespro.ru/docs/postgrespro/9.5/app-pgdump 5 5 ))) 6 -|(% style="width:213px" %) |(% style="width:650px" %) |(% style="width:644px" %) 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" %)((( 16 +Postgres Pro Standard : Документация: 11: pg_isready : Компания Postgres Professional 17 +[[https:~~/~~/postgrespro.ru/docs/postgrespro/11/app-pg-isready>>https://postgrespro.ru/docs/postgrespro/11/app-pg-isready]] 7 7 8 - 19 + 20 +{{code language="bash"}} 21 +pg_isready -d <dbname> -h <ip/domain> -p <port> -U <user> 22 +{{/code}} 23 + 24 +((( 25 +Postgres - testing database connection in bash 26 +[[https:~~/~~/stackoverflow.com/questions/26911508/postgres-testing-database-connection-in-bash>>https://stackoverflow.com/questions/26911508/postgres-testing-database-connection-in-bash]] 27 +))) 28 +))) 29 + 30 +---- 31 + 32 +PostgreSQL Apt Repository 33 +https://www.postgresql.org/download/linux/debian/
- XWiki.XWikiComments[0]
-
- Автор
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.cccc1808 - Комментарий
-
... ... @@ -1,0 +1,2 @@ 1 +PostgREST 2 +[[https:~~/~~/postgrest.org/en/v7.0.0/index.html>>https://postgrest.org/en/v7.0.0/index.html]] - Дата
-
... ... @@ -1,0 +1,1 @@ 1 +2023-02-13 11:53:48.509