Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 91f8b28

Browse files
committed
Merge branch 'PGPRO10' into PGPROEE10_MULTIMASTER
2 parents 49421f4 + 0cf59ef commit 91f8b28

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

62 files changed

+6138
-2181
lines changed

contrib/pg_probackup/README.md

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ The utility is compatible with:
66
* PostgreSQL 9.5, 9.6, 10;
77

88
`PTRACK` backup support provided via following options:
9-
* vanilla PostgreSQL compiled with ptrack patch. Currently there are patches for [PostgreSQL 9.6](https://gist.githubusercontent.com/gsmol/3d9ad9ea2568e0f4aaeeda62b59e30f8/raw/8f28e207c1aa172a9597fcda49e69b086c6b42bd/ptrack_9.6.5_v1.3.patch) and [PostgreSQL 10](https://gist.githubusercontent.com/gsmol/0ce69df847268333b72d72079bd48315/raw/d35d49c28446637ea3fe9dfc1a400bb298bf3318/ptrack_10.0_v1.3.patch)
9+
* vanilla PostgreSQL compiled with ptrack patch. Currently there are patches for [PostgreSQL 9.6](https://gist.githubusercontent.com/gsmol/5b615c971dfd461c76ef41a118ff4d97/raw/e471251983f14e980041f43bea7709b8246f4178/ptrack_9.6.6_v1.5.patch) and [PostgreSQL 10](https://gist.githubusercontent.com/gsmol/be8ee2a132b88463821021fd910d960e/raw/de24f9499f4f314a4a3e5fae5ed4edb945964df8/ptrack_10.1_v1.5.patch)
1010
* Postgres Pro Standard 9.5, 9.6
1111
* Postgres Pro Enterprise
1212

@@ -27,6 +27,7 @@ Using `pg_probackup`, you can take full or incremental backups:
2727
* `Full` backups contain all the data files required to restore the database cluster from scratch.
2828
* `Incremental` backups only store the data that has changed since the previous backup. It allows to decrease the backup size and speed up backup operations. `pg_probackup` supports the following modes of incremental backups:
2929
* `PAGE` backup. In this mode, `pg_probackup` scans all WAL files in the archive from the moment the previous full or incremental backup was taken. Newly created backups contain only the pages that were mentioned in WAL records. This requires all the WAL files since the previous backup to be present in the WAL archive. If the size of these files is comparable to the total size of the database cluster files, speedup is smaller, but the backup still takes less space.
30+
* `DELTA` backup. In this mode, `pg_probackup` read all data files in PGDATA directory and only those pages, that where changed since previous backup, are copied. Continuous archiving is not necessary for it to operate. Also this mode could impose read-only I/O pressure equal to `Full` backup.
3031
* `PTRACK` backup. In this mode, PostgreSQL tracks page changes on the fly. Continuous archiving is not necessary for it to operate. Each time a relation page is updated, this page is marked in a special `PTRACK` bitmap for this relation. As one page requires just one bit in the `PTRACK` fork, such bitmaps are quite small. Tracking implies some minor overhead on the database server operation, but speeds up incremental backups significantly.
3132

3233
Regardless of the chosen backup type, all backups taken with `pg_probackup` support the following archiving strategies:
@@ -47,18 +48,27 @@ Regardless of the chosen backup type, all backups taken with `pg_probackup` supp
4748
#DEB Ubuntu|Debian Packages
4849
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
4950
wget -O - http://repo.postgrespro.ru/pg_probackup/keys/GPG-KEY-PG_PROBACKUP | apt-key add - && apt-get update
50-
apt-get install pg-probackup-(10|9.6|9.5)
51+
apt-get install pg-probackup-{10,9.6,9.5}
5152

5253
#DEB-SRC Packages
5354
echo "deb-src [arch=amd64] http://repo.postgrespro.ru/pg_probackup/deb/ $(lsb_release -cs) main-$(lsb_release -cs)" >>\
5455
/etc/apt/sources.list.d/pg_probackup.list
56+
apt-get source pg-probackup-{10,9.6,9.5}
5557

5658
#RPM Centos Packages
5759
rpm -ivh http://repo.postgrespro.ru/pg_probackup/keys/pg_probackup-repo-centos.noarch.rpm
58-
yum install pg_probackup-(10|9.6|9.5)
60+
yum install pg_probackup-{10,9.6,9.5}
5961

60-
#SRPM Centos Packages
61-
yumdownloader --source pg_probackup-(10|9.6|9.5)
62+
#RPM RHEL Packages
63+
rpm -ivh http://repo.postgrespro.ru/pg_probackup/keys/pg_probackup-repo-rhel.noarch.rpm
64+
yum install pg_probackup-{10,9.6,9.5}
65+
66+
#RPM Oracle Linux Packages
67+
rpm -ivh http://repo.postgrespro.ru/pg_probackup/keys/pg_probackup-repo-oraclelinux.noarch.rpm
68+
yum install pg_probackup-{10,9.6,9.5}
69+
70+
#SRPM Packages
71+
yumdownloader --source pg_probackup-{10,9.6,9.5}
6272
```
6373

6474
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:

0 commit comments

Comments
 (0)