Pgbackrest Installation and Configu
Pgbackrest Installation and Configu
1- Installation
A new host named db-primary is created to contain the demo cluster and run
pgBackRest examples.
pgBackRest supports 32-bit distributions that build Perl with 64-bit integer
support.
If pgBackRest has been installed before it's best to be sure that no prior copies
of it are still installed
2- db-primary ⇒ Remove prior pgBackRest installations
$sudo rm -f /usr/bin/pgbackrest
$sudo rm -f /usr/bin/pg_backrest
$sudo rm -rf /usr/lib/perl5/BackRest
$sudo rm -rf /usr/share/perl5/BackRest
$sudo rm -rf /usr/lib/perl5/pgBackRest
$sudo rm -rf /usr/share/perl5/pgBackRest
Usage:
pgbackrest [options] [command]
Commands:
archive-get Get a WAL segment from the archive.
archive-push Push a WAL segment to the archive.
backup Backup a database cluster.
check Check the configuration.
expire Expire backups that exceed retention.
help Get help.
info Retrieve information about backups.
restore Restore a database cluster.
stanza-create Create the required stanza data.
stanza-delete Delete a stanza.
stanza-upgrade Upgrade a stanza.
start Allow pgBackRest processes to run.
stop Stop pgBackRest processes from running.
version Get version.