Изменения документа Утилиты
                  Редактировал(а) Alexandr Fokin 2023/12/16 14:12
              
      
      От версии  1.1 
    
    
              отредактировано Alexandr Fokin
        
на 2022/06/09 21:22
     на 2022/06/09 21:22
      Изменить комментарий:
              К данной версии нет комментариев
          
         
      К версии  2.2 
    
    
              отредактировано Alexandr Fokin
        
на 2022/06/30 20:21
     на 2022/06/30 20:21
      Изменить комментарий:
              К данной версии нет комментариев
          
         Сводка
- 
          Свойства страницы (1 изменено, 0 добавлено, 0 удалено)
Подробности
- Свойства страницы
- 
      - Содержимое
-   ... ... @@ -1,8 +1,23 @@ 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" %){{code language="bash"}}pg_isready -d <dbname> -h <ip/domain> -p <port> -U <user>{{/code}}((( 16 +Postgres - testing database connection in bash 17 +[[https:~~/~~/stackoverflow.com/questions/26911508/postgres-testing-database-connection-in-bash>>https://stackoverflow.com/questions/26911508/postgres-testing-database-connection-in-bash]] 18 +))) 7 7 8 - 20 +---- 21 + 22 +PostgreSQL Apt Repository 23 +https://www.postgresql.org/download/linux/debian/ 
 
