1
0
mirror of https://github.com/postgrespro/pg_probackup.git synced 2024-12-04 10:44:46 +02:00
Commit Graph

58 Commits

Author SHA1 Message Date
Arthur Zakirov
77c59158be PGPRO-2071: Refactor pg_probackup configure set/get, use InstanceConfig 2018-11-09 18:45:05 +03:00
Arthur Zakirov
23cf692428 PGPRO-2096: Use CRC-32 instead of CRC-32C
Using CRC-32C to calculate checksum of pg_control gives same value for different backups.
It might be because pg_control stores its content plus checksum of the content.
2018-10-26 17:49:39 +03:00
Arthur Zakirov
4d478e3dcf In PG_CPPFLAGS for vpath build 2018-10-23 17:29:38 +03:00
Arthur Zakirov
2df3953d55 Refactoring of includes and unused code 2018-10-15 15:44:39 +03:00
Arthur Zakirov
e9c7af36b7 Use more universal condition in Makefile 2018-10-09 14:56:56 +03:00
Arthur Zakirov
78adfdfa3b Port to PostgreSQL 11 2018-10-09 12:52:29 +03:00
Arthur Zakirov
4ed28cf6e5 PGPRO-1449: Add MERGE command: merge PAGE with FULL backup 2018-08-02 11:57:39 +03:00
Arthur Zakirov
e36daf5d1d Merge master into pg_probackup_windows 2018-06-07 19:13:11 +03:00
Arthur Zakirov
c71151d3df PGPRO-533: Add json format for show-config 2018-06-06 14:07:10 +03:00
Grigory Smolkin
bd34f4ec51 Makefile: minor fix 2017-10-27 15:32:24 +03:00
Arthur Zakirov
e2ab82fb49 Fix longopts_to_optstring(): use proper length of opts array 2017-08-15 13:18:14 +03:00
Arthur Zakirov
7bd80376bd pg_probackup now is built with PostgreSQL 10 2017-08-07 16:23:37 +03:00
Anastasia
9f91dfc5bb Bunch of small fixes. Version 2.0.1 2017-07-05 17:36:22 +03:00
Anastasia
882515fa7a fix 2017-06-20 15:04:23 +03:00
Anastasia
56e6250fc8 relative path for top_srcdir is fixed 2017-06-20 14:37:01 +03:00
Anastasia
3f931e9a64 fix 2017-06-20 14:31:44 +03:00
Anastasia
fd46947329 fix Makefile. TODO fix relative path 2017-06-20 14:12:16 +03:00
Anastasia
5e034a4acc move sources to src/ subdir, update copyright 2017-06-20 12:37:10 +03:00
Anastasia
41bdaf64e1 cleanup Makefile 2017-06-15 16:54:29 +03:00
Anastasia
4e94454544 1. Implement backup of multiple instances. Add option --instance, commands add-instance and del-instance.
2. Implement pg_probackup specific commands for archiving: archive-push for archive_command and archive-get for restore_command
2017-05-29 18:52:43 +03:00
Arthur Zakirov
62e4e90e2c Add log file functions 2017-05-18 12:09:04 +03:00
Arthur Zakirov
69b41b2d94 Added pgut/logger.h and pgut/logger.c for message logging 2017-05-18 12:09:04 +03:00
Anastasia
135f86e13d implement help for probackup commands 2017-05-05 13:14:46 +03:00
Anastasia
1edaabf130 Format change. pg_probackup.conf contains more info now. Options change: configure subcommand is implemented 2017-04-19 16:47:41 +03:00
Anastasia
5372a1e544 remove unused getopt.h and getopt_long.c files 2017-04-11 21:29:06 +03:00
Anastasia
1315723dc5 remove unused pgut-port files 2017-04-11 20:25:00 +03:00
stalkerg
1874b89d30 Remove old bash tests. 2016-12-14 17:17:43 +03:00
stalkerg
6642f27cca Right place for aix makefile hack 2016-12-08 14:57:28 +03:00
stalkerg
085f5cd10d Use xlc_r for AIX. 2016-12-08 14:48:09 +03:00
stalkerg
62860f994c Use getopt_long from BSD project. 2016-12-07 19:20:27 +03:00
stalkerg
188bbdd593 Rename project to pg_probackup. 2016-11-16 20:34:21 +03:00
stalkerg
8957aadae6 Hide regress tests for contrib 2016-09-13 18:57:31 +03:00
stalkerg
d0d84c86a2 Try fix tests 2016-09-13 17:26:15 +03:00
stalkerg
4211fd8331 Try build pg_arman as contrib. 2016-09-13 15:22:34 +03:00
stalkerg
e957b48997 I added to extra clean some forgotten files. 2016-09-02 13:13:16 +03:00
stalkerg
a0fb3912a8 Add support postgres 9.6. 2016-08-30 17:21:02 +03:00
stalkerg
6cb6b3a53d Remove doc target from all. 2016-07-07 14:00:33 +03:00
stalkerg
5b4e5ac480 Clean asciidoc. 2016-06-14 14:39:02 +03:00
stalkerg
9471875b15 Add stream mode for save WAL during backup process. 2016-05-26 15:56:32 +03:00
stalkerg
c6ab295730 Add receive files for build. 2016-04-26 15:24:59 +03:00
Zhuravlev Uriy aka stalkerg
fed13c298e Add multithread beckup. 2016-02-29 20:23:48 +03:00
Michael Paquier
2882954b95 Remove dead code xlog_is_complete_wal
This routine is not used anywhere now.
2016-01-19 09:21:54 +09:00
Michael Paquier
04834e73c7 Page-level backup using block tracking in WAL records
This commit improves the performance of page-level, or differential
backup, by not having to scan anymore all the pages of a relation file,
something that can be very long on large data sets, but by scanning the
list of blocks changed by WAL records since the last full or differential
backup.

As a restriction and to avoid potential data corruption should hint-bit
updates occur on a page, backups can only be taken from a server that has
wal_log_hints or data checksums enabled.

Base patch by Yury Zhuravlev, heavily modified by me.
2016-01-15 23:47:38 +09:00
Michael Paquier
49d37ecd3e Rework Makefile and remove incoherent definitions
-DFRONTEND should be overridden as part of CPPFLAGS and it is not really
necessary to have the source list. The definition of pg_arman.h was rather
obscure as well.
2016-01-13 22:47:49 +09:00
Michael Paquier
dc27aab59d Remove unneeded filters to lxml2 and lxslt
Those are dependent with how Postgres is compiled, so it makes little
sense to actually have that.
2016-01-13 22:25:09 +09:00
Michael Paquier
6de8b16403 Incorporate new test facility in pg_arman
This new facility has the advantage on not relying on static data when
generating the tests making the whole facility more robust. This is
basically taken from the upstream project pg_rman and adapted for the
sake of this pet project, so most of the credit go to Kyotaro Horiguchi
and Amit Langote regarding this facility. However I have adapted a bunch
of things and fixed a lot of redundancy and code duplication.
2016-01-13 14:57:51 +09:00
Michael Paquier
8559733103 Remove USE_PGXS usage
Let's be honest, this is not going to be integrated into Postgres core,
so let's make things simpler.
2016-01-13 10:57:59 +09:00
Michael Paquier
c8ebcc9c41 Rename project to pg_arman
This is officially a fork!
2014-01-27 12:02:56 +09:00
Michael Paquier
f6cc608c43 Correct installation of pg_rman.1 to $PGINSTALL/share/man/man1
This is to avoid to have to define several paths for MANPATH for a user
or a distribution.
2014-01-13 19:41:59 +09:00
Michael Paquier
6639785305 Use asciidoc and xmlto to automatic generation of man and html docs
This has the merit to put all the documentation of the project into a
single banner, and to centralize all the project in a single place at
code level.

Compiling documentation can be made by setting the variables ASCIIDOC
and XMLTO. As PostgreSQL extension system is not that smart for doc
generation, some custom Makefile path is used to install man pages into
a folder that could directly by used in MANPATH.
2014-01-12 03:03:30 +09:00