1
0
mirror of https://github.com/postgrespro/pg_probackup.git synced 2024-11-28 09:33:54 +02:00
Backup and recovery manager for PostgreSQL https://postgrespro.github.io/pg_probackup/
Go to file
Michael Paquier 751519d373 Fix typo
2016-01-13 15:26:17 +09:00
doc Incorporate new test facility in pg_arman 2016-01-13 14:57:51 +09:00
expected Incorporate new test facility in pg_arman 2016-01-13 14:57:51 +09:00
pgut Remove outdated functions in pgut 2013-12-13 01:02:43 +09:00
sql Incorporate new test facility in pg_arman 2016-01-13 14:57:51 +09:00
.gitignore Rename project to pg_arman 2014-01-27 12:02:56 +09:00
backup.c Replace incremental backup by page-level differential backup 2014-01-30 15:58:55 +09:00
catalog.c Replace incremental backup by page-level differential backup 2014-01-30 15:58:55 +09:00
COPYRIGHT revised for pg_rman1.2.2 2011-11-28 04:22:05 +00:00
data.c Update CRC32 algorithm to CRC32C 2015-12-07 21:44:33 +09:00
delete.c Rename project to pg_arman 2014-01-27 12:02:56 +09:00
dir.c Update CRC32 algorithm to CRC32C 2015-12-07 21:44:33 +09:00
fetch.c Rename project to pg_arman 2014-01-27 12:02:56 +09:00
init.c Rename project to pg_arman 2014-01-27 12:02:56 +09:00
Makefile Incorporate new test facility in pg_arman 2016-01-13 14:57:51 +09: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
pg_arman.c Fix typo 2016-01-13 15:26:17 +09:00
pg_arman.h Replace incremental backup by page-level differential backup 2014-01-30 15:58:55 +09:00
README Incorporate new test facility in pg_arman 2016-01-13 14:57:51 +09:00
restore.c Update CRC32 algorithm to CRC32C 2015-12-07 21:44:33 +09:00
show.c Replace incremental backup by page-level differential backup 2014-01-30 15:58:55 +09:00
status.c Rename project to pg_arman 2014-01-27 12:02:56 +09:00
util.c Rename project to pg_arman 2014-01-27 12:02:56 +09:00
validate.c Replace incremental backup by page-level differential backup 2014-01-30 15:58:55 +09:00
xlog.c Rename project to pg_arman 2014-01-27 12:02:56 +09: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 and can be done in
two ways:

1. Put pg_arman project directory inside PostgreSQL source tree as
contrib/pg_arman, and use this command for compilation:

	$ cd $POSTGRES_SOURCE/contrib/pg_arman
	$ make

2. Keep the project directory as-is and use the PGXS development
infrastructure provided by a PostgreSQL installation to perform the
compilation:

	$ make USE_PGXS=1

In addition, you must have pg_config in $PATH.

The current version of pg_arman is compatible with PostgreSQL 9.3 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 USE_PGXS=1 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:

1) "make check" or "make installcheck" if the project directory is
located in PostgreSQL code tree.

2) "make installcheck" on an already installed server if project
directory is kept as-is.

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_arman, initially created and maintained by NTT and Itagaki Takahiro.