ストリーミングバックアップ¶
Barmanは、pg_basebackup
に依存して、ストリーミング接続を使用してPostgreSQLサーバーをバックアップできます。
重要
Barman requires that pg_basebackup is installed in the same server. It is recommended to install the last available version of pg_basebackup , as it is backwards compatible. You can even install multiple versions of pg_basebackup on the Barman server and properly point to the specific version for a server, using the path_prefix option in the configuration file.
ストリーミング接続でサーバーを正常にバックアップするには、バックアップ方法としてpostgres
を使用する必要があります。
backup_method = postgres
重要
You will not be able to start a backup if WAL is not being correctly archived to Barman, either through the archiver or the streaming_archiver
サーバー構成が有効かどうかを確認するには、 barman check
コマンドを使用できます。
barman@backup$ barman check pg
バックアップを開始するには、 barman backup コマンドを使用できます。
barman@backup$ barman backup pg