mirror of
https://github.com/postgrespro/pg_probackup.git
synced 2025-02-08 14:28:36 +02:00
Package installation added to "Installation and Setup"
This commit is contained in:
parent
0fa7217326
commit
807bd80982
17
README.md
17
README.md
@ -42,6 +42,23 @@ Regardless of the chosen backup type, all backups taken with `pg_probackup` supp
|
|||||||
* Configuration files outside of PostgreSQL data directory are not included into the backup and should be backed up separately.
|
* Configuration files outside of PostgreSQL data directory are not included into the backup and should be backed up separately.
|
||||||
|
|
||||||
## Installation and Setup
|
## Installation and Setup
|
||||||
|
### Linux Installation
|
||||||
|
```shell
|
||||||
|
#DEB Ubuntu|Debian Packages
|
||||||
|
echo "deb [arch=amd64] http://repo.postgrespro.ru/pg_probackup/deb/ $(lsb_release -cs) main-$(lsb_release -cs)" > /etc/apt/sources.list.d/pg_probackup.list
|
||||||
|
wget -O - http://repo.postgrespro.ru/pg_probackup/keys/GPG-KEY-PG_PROBACKUP | apt-key add - && apt-get update
|
||||||
|
apt-get install pg-probackup-(10|9.6|9.5)
|
||||||
|
|
||||||
|
#DEB-SRC Packages
|
||||||
|
echo "deb-src [arch=amd64] http://repo.postgrespro.ru/pg_probackup/deb/ $(lsb_release -cs) main-$(lsb_release -cs)" >>\
|
||||||
|
/etc/apt/sources.list.d/pg_probackup.list
|
||||||
|
```
|
||||||
|
|
||||||
|
```shell
|
||||||
|
#RPM Centos Packages
|
||||||
|
rpm -ivh http://repo.postgrespro.ru/pg_probackup/keys/pg_probackup-repo-centos.noarch.rpm
|
||||||
|
yum install -y pg_probackup-(10|9.6|9.5)
|
||||||
|
```
|
||||||
|
|
||||||
To compile `pg_probackup`, you must have a PostgreSQL installation and raw source tree. To install `pg_probackup`, execute this in the module's directory:
|
To compile `pg_probackup`, you must have a PostgreSQL installation and raw source tree. To install `pg_probackup`, execute this in the module's directory:
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user