You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+20-4
Original file line number
Diff line number
Diff line change
@@ -10,11 +10,13 @@ As compared to other backup solutions, `pg_probackup` offers the following benef
10
10
* Implementing a single backup strategy for multi-server PostgreSQL clusters
11
11
* Automatic data consistency checks and on-demand backup validation without actual data recovery
12
12
* Managing backups in accordance with retention policy
13
-
* Running backup, restore, and validation processes on multiple parallel threads
13
+
* Merging incremental into full backups without actual data recovery
14
+
* Running backup, restore, merge and validation processes on multiple parallel threads
14
15
* Storing backup data in a compressed state to save disk space
15
16
* Taking backups from a standby server to avoid extra load on the master server
16
17
* Extended logging settings
17
18
* Custom commands to simplify WAL log archiving
19
+
* External to PGDATA directories, such as directories with config files and scripts, can be included in backup
18
20
19
21
To manage backup data, `pg_probackup` creates a backup catalog. This directory stores all backup files with additional meta information, as well as WAL archives required for [point-in-time recovery](https://postgrespro.com/docs/postgresql/current/continuous-archiving.html). You can store backups for different instances in separate subdirectories of a single backup catalog.
20
22
@@ -39,8 +41,7 @@ Regardless of the chosen backup type, all backups taken with `pg_probackup` supp
39
41
`pg_probackup` currently has the following limitations:
40
42
* Creating backups from a remote server is currently not supported.
41
43
* The server from which the backup was taken and the restored server must be compatible by the [block_size](https://postgrespro.com/docs/postgresql/current/runtime-config-preset#GUC-BLOCK-SIZE) and [wal_block_size](https://postgrespro.com/docs/postgresql/current/runtime-config-preset#GUC-WAL-BLOCK-SIZE) parameters and have the same major release number.
42
-
* Microsoft Windows operating system is not supported.
43
-
* Configuration files outside of PostgreSQL data directory are not included into the backup and should be backed up separately.
44
+
* Microsoft Windows operating system support is in beta stage.
Once you have `pg_probackup` installed, complete [the setup](https://postgrespro.com/docs/postgrespro/current/app-pgprobackup.html#pg-probackup-install-and-setup).
76
+
77
+
## Building from source
78
+
### Linux
79
+
74
80
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:
75
81
76
82
```shell
77
83
make USE_PGXS=1 PG_CONFIG=<path_to_pg_config> top_srcdir=<path_to_PostgreSQL_source_tree>
78
84
```
85
+
### Windows
79
86
80
-
Once you have `pg_probackup` installed, complete [the setup](https://postgrespro.com/docs/postgrespro/current/app-pgprobackup.html#pg-probackup-install-and-setup).
87
+
Currently pg_probackup can be build using only MSVC 2013.
88
+
Build PostgreSQL using [pgwininstall](https://github.com/postgrespro/pgwininstall) or [PostgreSQL instruction](https://www.postgresql.org/docs/10/install-windows-full.html) with MSVC 2013.
89
+
If zlib support is needed, src/tools/msvc/config.pl must contain path to directory with compiled zlib. [Example](https://gist.githubusercontent.com/gsmol/80989f976ce9584824ae3b1bfb00bd87/raw/240032950d4ac4801a79625dd00c8f5d4ed1180c/gistfile1.txt)
90
+
91
+
```shell
92
+
CALL "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall" amd64
0 commit comments