Postgres流式备份(2)Barman安装

参考文档:

  • http://docs.pgbarman.org/release/2.5/
  • EPEL:https://fedoraproject.org/wiki/EPEL

系统要求

  • Python 2.6或2.7
  • Python模块:
    • argcomplete
    • argh> = 0.21.2 <= 0.26.2
    • argparse(仅限Python 2.6)
    • psycopg2> = 2.4.2
    • python-dateutil <> 2.0
    • setuptools的
    • PostgreSQL> = 8.3
    • rsync> = 3.0.4(PostgreSQL可选> = 9.2)

环境

数据库服务器
  • IP:192.168.220.133
  • 系统:Centos7.4
  • Postgres版本:10.4
备份服务器
  • IP:192.168.220.139
  • 系统:Centos7.4

安装

安装依赖

需要安装Extra Packages Enterprise Linux(EPEL)存储库和PostgreSQL全局开发组RPM存储库。

# EPEL存储库
yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm

# 安装PostgreSQLRPM存储库
yum install https://download.postgresql.org/pub/repos/yum/10/redhat/rhel-7-x86_64/pgdg-centos10-10-2.noarch.rpm

# 安装postgresql10 客户端
yum install postgresql10

安装Barman

yum install barman
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章