1
0
mirror of https://github.com/postgrespro/pg_probackup.git synced 2024-12-01 09:51:43 +02:00
Backup and recovery manager for PostgreSQL https://postgrespro.github.io/pg_probackup/
Go to file
2016-04-26 23:00:00 +03:00
doc Correct mention that a full backup is needed after database creation 2016-01-19 13:01:40 +09:00
expected Remove noisy NOTICE messages when calling pg_stop_backup 2016-03-28 13:47:49 +03:00
pgut Remove custom version of readlink in pgut_port 2016-01-20 13:19:59 +09:00
sql Fix get time in last second. 2016-03-28 17:22:24 +03:00
.gitignore Page-level backup using block tracking in WAL records 2016-01-15 23:47:38 +09:00
backup.c Small logic fix. 2016-04-15 16:03:06 +03:00
catalog.c First version of ptrack support. 2016-02-27 21:07:55 +03:00
COPYRIGHT Update some copyright lines to 2016 2016-01-16 00:02:09 +09:00
data.c Fix overwrite files by zero lenght files. 2016-04-26 23:00:00 +03:00
delete.c Sanitize error checks 2016-01-19 12:41:30 +09:00
dir.c Fix work under BSD. 2016-03-24 18:30:25 +03:00
fetch.c Make pg_control file optional for restore. 2016-03-02 20:50:33 +03:00
init.c Sanitize error checks 2016-01-19 12:41:30 +09:00
Makefile Add multithread beckup. 2016-02-29 20:23:48 +03:00
parray.c Rename project to pg_arman 2014-01-27 12:02:56 +09:00
parray.h Convert newline characters from CRLF to LF. 2013-01-24 06:35:48 +00:00
parsexlog.c Check ptrack control file. 2016-03-10 17:40:33 +03:00
pg_arman.c Fix docs for ptrack and multithreads. 2016-02-29 22:00:57 +03:00
pg_arman.h Check ptrack control file. 2016-03-10 17:40:33 +03:00
README Update README regarding oldest version of Postgres supported 2016-02-11 22:10:35 +09:00
restore.c Make pg_control file optional for restore. 2016-03-02 20:50:33 +03:00
show.c First version of ptrack support. 2016-02-27 21:07:55 +03:00
status.c Sanitize error checks 2016-01-19 12:41:30 +09:00
util.c Check ptrack control file. 2016-03-10 17:40:33 +03:00
validate.c First version of ptrack support. 2016-02-27 21:07:55 +03:00

pg_arman
========

pg_arman is a backup and recovery manager for PostgreSQL servers able to do
differential and full backup as well as restore a cluster to a
state defined by a given recovery target. It is designed to perform
periodic backups of an existing PostgreSQL server, combined with WAL
archives to provide a way to recover a server in case of failure of
server because of a reason or another. Its differential backup
facility reduces the amount of data necessary to be taken between
two consecutive backups.

Download
--------

The latest version of this software can be found on the project website at
https://github.com/michaelpq/pg_arman.

Installation
------------

Compiling pg_arman requires a PostgreSQL installation to be in place
as well as a raw source tree. Pass the path to the PostgreSQL source tree
to make, in the top_srcdir variable:

    make USE_PGXS=1 top_srcdir=<path to PostgreSQL source tree>

In addition, you must have pg_config in $PATH.

The current version of pg_arman is compatible with PostgreSQL 9.5 and
upper versions.

Platforms
---------

pg_arman has been tested on Linux and Unix-based platforms.

Documentation
-------------

All the documentation is maintained in doc/ as text file, that is then
fetched by asciidoc to generate automatically man pages and html
documentation.

In order to generate the documentation, the variables XMLTO and ASCIIDOC
need to be set to proper values indicating where are located the binaries
of respectively xmlto and asciidoc. An example of build is as follows:

    make top_srcdir=<path to PostgreSQL source tree> \
        ASCIIDOC=asciidoc XMLTO=xmlto

They could as well be set as environment variables for development
purposes.

On OSX, it is necessary to set XML_CATALOG_FILES to point to the correct
xml catalogs. In the case of an environment with Homebrew after having
install xmlto and asciidoc:

    export XML_CATALOG_FILES="/usr/local/etc/xml/catalog"

Regression tests
----------------

The test suite of pg_arman is available in the code tree and can be
launched in a way similar to common PostgreSQL extensions and modules:

    make installcheck

License
-------

pg_arman can be distributed under the PostgreSQL license. See COPYRIGHT
file for more information. pg_arman is a fork of the existing project
pg_rman, initially created and maintained by NTT and Itagaki Takahiro.