1
0
mirror of https://github.com/postgrespro/pg_probackup.git synced 2024-11-28 09:33:54 +02:00
Commit Graph

51 Commits

Author SHA1 Message Date
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
Michael Paquier
3f79be1789 Add documentation of pg_rman
Documentation is fairly refactored and rewritten, fixing many typos and
many grammar mistakes in the previous version of the docs.
2013-12-25 03:48:36 +09:00
Michael Paquier
308d00b80c Obtain timeline ID with control file and not XLOG system function
The system function used up to now was pg_xlogfile_name_offset, which
cannot be used on a node in recovery, and it was the only way present
to fetch the timeline ID of a backup, either incremental or full. So
instead scan the control file of server and fetch the timeline from
that. This also removes the restriction on which a backup could not
be taken on a standby node. The next step being to have the possibility
to take backups from streams.
2013-12-13 03:55:39 +09:00
Michael Paquier
ebe2166379 Refactor code in pgsql_src for server monitoring
Most of those things are taken from pg_ctl.c, but were somewhat not
really in a place corresponding to their role.
2013-12-12 23:54:52 +09:00
Michael Paquier
5f3823c3c4 Remove reference to pg_crc.h
It was simply not used, and could be fetched from core if necessary.
2013-12-12 23:35:49 +09:00
t.katsumata1122
78eed96f63 revised for pg_rman1.2.2
git-svn-id: http://pg-rman.googlecode.com/svn/trunk@48 182aca00-e38e-11de-a668-6fd11605f5ce
2011-11-28 04:22:05 +00:00
katsumata.tomonari@oss.ntt.co.jp
566c47a6fc release pg_rman-1.2.0.
git-svn-id: http://pg-rman.googlecode.com/svn/trunk@38 182aca00-e38e-11de-a668-6fd11605f5ce
2011-02-07 01:57:11 +00:00
itagaki.takahiro
686a5b0cf2 Remove dependency to libsml2 and libxslt.
git-svn-id: http://pg-rman.googlecode.com/svn/trunk@36 182aca00-e38e-11de-a668-6fd11605f5ce
2010-06-01 07:10:49 +00:00