@@ -48,11 +48,11 @@ Regardless of the chosen backup type, all backups taken with `pg_probackup` supp
48
48
49
49
## Current release
50
50
51
- [ 2.2.5 ] ( https://github.com/postgrespro/pg_probackup/releases/tag/2.2.5 )
51
+ [ 2.2.7 ] ( https://github.com/postgrespro/pg_probackup/releases/tag/2.2.7 )
52
52
53
53
## Documentation
54
54
55
- Documentation can be found at [ github] ( https://github.com/postgrespro/ pg_probackup/blob/master/Documentation.md ) .
55
+ Documentation can be found at [ github] ( https://postgrespro. github.io/ pg_probackup ) .
56
56
57
57
## Installation and Setup
58
58
### Windows Installation
@@ -69,7 +69,7 @@ sudo apt-get install pg-probackup-{12,11,10,9.6,9.5}-dbg
69
69
70
70
# DEB-SRC Packages
71
71
sudo echo " deb-src [arch=amd64] http://repo.postgrespro.ru/pg_probackup/deb/ $( lsb_release -cs) main-$( lsb_release -cs) " >> \
72
- /etc/apt/sources.list.d/pg_probackup.list
72
+ /etc/apt/sources.list.d/pg_probackup.list && sudo apt-get update
73
73
sudo apt-get source pg-probackup-{12,11,10,9.6,9.5}
74
74
75
75
# RPM Centos Packages
@@ -89,42 +89,84 @@ yum install pg_probackup-{12,11,10,9.6,9.5}-debuginfo
89
89
90
90
# SRPM Packages
91
91
yumdownloader --source pg_probackup-{12,11,10,9.6,9.5}
92
+
93
+ # RPM ALT Linux p7
94
+ sudo echo " rpm http://repo.postgrespro.ru/pg_probackup/rpm/latest/altlinux-p7 x86_64 vanilla" > /etc/apt/sources.list.d/pg_probackup.list
95
+ sudo apt-get update
96
+ sudo apt-get install pg_probackup-{12,11,10,9.6,9.5}
97
+ sudo apt-get install pg_probackup-{12,11,10,9.6,9.5}-debuginfo
98
+
99
+ # RPM ALT Linux p8
100
+ sudo echo " rpm http://repo.postgrespro.ru/pg_probackup/rpm/latest/altlinux-p8 x86_64 vanilla" > /etc/apt/sources.list.d/pg_probackup.list
101
+ sudo apt-get update
102
+ sudo apt-get install pg_probackup-{12,11,10,9.6,9.5}
103
+ sudo apt-get install pg_probackup-{12,11,10,9.6,9.5}-debuginfo
104
+
105
+ # RPM ALT Linux p9
106
+ sudo echo " rpm http://repo.postgrespro.ru/pg_probackup/rpm/latest/altlinux-p9 x86_64 vanilla" > /etc/apt/sources.list.d/pg_probackup.list
107
+ sudo apt-get update
108
+ sudo apt-get install pg_probackup-{12,11,10,9.6,9.5}
109
+ sudo apt-get install pg_probackup-{12,11,10,9.6,9.5}-debuginfo
92
110
```
93
111
94
112
#### pg_probackup for PostgresPro Standart and Enterprise
95
113
``` shell
96
114
# DEB Ubuntu|Debian Packages
97
115
sudo echo " deb [arch=amd64] http://repo.postgrespro.ru/pg_probackup-forks/deb/ $( lsb_release -cs) main-$( lsb_release -cs) " > /etc/apt/sources.list.d/pg_probackup-forks.list
98
116
sudo wget -O - http://repo.postgrespro.ru/pg_probackup-forks/keys/GPG-KEY-PG_PROBACKUP | sudo apt-key add - && sudo apt-get update
99
- sudo apt-get install pg-probackup-{std,ent}-{12, 11,10,9.6}
100
- sudo apt-get install pg-probackup-{std,ent}-{12, 11,10,9.6}-dbg
117
+ sudo apt-get install pg-probackup-{std,ent}-{11,10,9.6}
118
+ sudo apt-get install pg-probackup-{std,ent}-{11,10,9.6}-dbg
101
119
102
120
# RPM Centos Packages
103
121
rpm -ivh http://repo.postgrespro.ru/pg_probackup-forks/keys/pg_probackup-repo-forks-centos.noarch.rpm
104
- yum install pg_probackup-{std,ent}-{12, 11,10,9.6}
105
- yum install pg_probackup-{std,ent}-{12, 11,10,9.6}-debuginfo
122
+ yum install pg_probackup-{std,ent}-{11,10,9.6}
123
+ yum install pg_probackup-{std,ent}-{11,10,9.6}-debuginfo
106
124
107
125
# RPM RHEL Packages
108
126
rpm -ivh http://repo.postgrespro.ru/pg_probackup-forks/keys/pg_probackup-repo-forks-rhel.noarch.rpm
109
- yum install pg_probackup-{std,ent}-{12, 11,10,9.6}
110
- yum install pg_probackup-{std,ent}-{12, 11,10,9.6}-debuginfo
127
+ yum install pg_probackup-{std,ent}-{11,10,9.6}
128
+ yum install pg_probackup-{std,ent}-{11,10,9.6}-debuginfo
111
129
112
130
# RPM Oracle Linux Packages
113
131
rpm -ivh http://repo.postgrespro.ru/pg_probackup-forks/keys/pg_probackup-repo-forks-oraclelinux.noarch.rpm
114
- yum install pg_probackup-{std,ent}-{12,11,10,9.6}
115
- yum install pg_probackup-{std,ent}-{12,11,10,9.6}-debuginfo
132
+ yum install pg_probackup-{std,ent}-{11,10,9.6}
133
+ yum install pg_probackup-{std,ent}-{11,10,9.6}-debuginfo
134
+
135
+ # RPM ALT Linux p7
136
+ sudo echo " rpm http://repo.postgrespro.ru/pg_probackup-forks/rpm/latest/altlinux-p7 x86_64 forks" > /etc/apt/sources.list.d/pg_probackup_forks.list
137
+ sudo apt-get update
138
+ sudo apt-get install pg_probackup-{std,ent}-{11,10,9.6}
139
+ sudo apt-get install pg_probackup-{std,ent}-{11,10,9.6}-debuginfo
140
+
141
+ # RPM ALT Linux p8
142
+ sudo echo " rpm http://repo.postgrespro.ru/pg_probackup-forks/rpm/latest/altlinux-p8 x86_64 forks" > /etc/apt/sources.list.d/pg_probackup_forks.list
143
+ sudo apt-get update
144
+ sudo apt-get install pg_probackup-{std,ent}-{11,10,9.6}
145
+ sudo apt-get install pg_probackup-{std,ent}-{11,10,9.6}-debuginfo
146
+
147
+ # RPM ALT Linux p9
148
+ sudo echo " rpm http://repo.postgrespro.ru/pg_probackup-forks/rpm/latest/altlinux-p9 x86_64 forks" > /etc/apt/sources.list.d/pg_probackup_forks.list && sudo apt-get update
149
+ sudo apt-get install pg_probackup-{std,ent}-{11,10,9.6}
150
+ sudo apt-get install pg_probackup-{std,ent}-{11,10,9.6}-debuginfo
116
151
```
117
152
118
153
Once you have ` pg_probackup ` installed, complete [ the setup] ( https://github.com/postgrespro/pg_probackup/blob/master/Documentation.md#installation-and-setup ) .
119
154
120
155
## Building from source
121
156
### Linux
122
157
123
- 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:
158
+ To compile ` pg_probackup ` , you must have a PostgreSQL installation and raw source tree. Execute this in the module's directory:
124
159
125
160
``` shell
126
161
make USE_PGXS=1 PG_CONFIG=< path_to_pg_config> top_srcdir=< path_to_PostgreSQL_source_tree>
127
162
```
163
+
164
+ The alternative way, without using the PGXS infrastructure, is to place ` pg_probackup ` source directory into ` contrib ` directory and build it there. Example:
165
+
166
+ ``` shell
167
+ cd < path_to_PostgreSQL_source_tree> && git clone https://github.com/postgrespro/pg_probackup contrib/pg_probackup && cd contrib/pg_probackup && make
168
+ ```
169
+
128
170
### Windows
129
171
130
172
Currently pg_probackup can be build using only MSVC 2013.
0 commit comments