Configuring the New Tool¶
This section draws a comparison between the three tools and shows how they differ in configuration (config file), and in scheduling. During a migration it is important to be aware of all of these differences, and apply changes as necessary.
How Features are Configured¶
The following sections describes how to enable features in the different tools so you can easily compare the implementation details .
Postgres connection details¶
Tool |
Configuration |
|---|---|
BART |
In the [SERVER] section of the config file:
[
example]… |
Barman |
In the config file:
[example]… |
pg BackRest[^*] |
In the config file:
[example]… |
Specify pg1-path when pgBackRest is running locally, and specify pg1-host when pgBackRest is running remote
Use of direct file copy mode (ssh or rsync) instead of pg_basebackup¶
Tool |
Configuration |
|---|---|
BART |
Increase threads >1 in the [SERVER] or [BART] section of
the config file:[example]… |
Barman |
In the config file:
[example]… |
p gBackRest |
pgBackRest does not support pg_basebackup option |
Incremental backups¶
Tool |
Configuration |
|---|---|
BART |
Retrieve the |
Barman |
In the config
file:[example]… |
p gBackRest |
|
WAL archive compression**¶
Tool |
Configuration |
|---|---|
BART |
In the [SERVER] or [BART] section of the config file:
[example]… |
Barman |
In the config file:[example]… |
p gBackRest |
Global compress settings. Can be overloaded for [global:archive-push] |
Backup compression¶
Tool |
Configuration |
|---|---|
BART |
Command line option:
|
Barman |
N/A |
p gBackRest |
|
Parallel backup and restore¶
Tool |
Configuration |
|---|---|
BART |
Set |
Barman |
Set |
p gBackRest |
Set |
Retention Policy¶
Tool |
Configuration |
|---|---|
BART |
Set |
Barman |
Set |
p gBackRest |
Can be set in the config
file:[example
]… |
Configure repository location¶
Tool |
Configuration |
|---|---|
BART |
In the config file in the [BART]
section:[BART]… |
Barman |
In the config file in the main
chapter: |
p gBackRest |
[global] |