Setup of a new server in Barman

「デザインとアーキテクチャ」セクションで述べたように、次の規則を使用します。

  • PostgreSQLがインストールされているサーバーIDとホスト名としてpg

  • Barmanが置かれているホスト名としてbackup

  • backup サーバーでBarmanを実行しているユーザーとしてのbarman (構成のbarman_user パラメーターで識別)

  • pg サーバーでPostgreSQLを実行しているユーザーとしてのpostgres

重要

a server in Barman must refer to the same PostgreSQL instance for the whole backup and recoverability history (i.e. the same system identifier). This means that if you perform an upgrade of the instance (using for example `pg_upgrade` , you must not reuse the same server definition in Barman, rather use another one as they have nothing in common.