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

130 Commits

Author SHA1 Message Date
Grigory Smolkin
489c447862 DOC: for ptrack 2.0 functions schema name depends on extension schema 2019-12-28 14:18:02 +03:00
Liudmila Mantrova
1f4dc1bf4c DOC: fix for PGPRO-3397 and PGPRO-3398 2019-12-27 17:27:04 +03:00
Grigory Smolkin
fc81de2398 Merge branch 'master' into issue_150 2019-12-27 00:56:00 +03:00
Grigory Smolkin
b08e9b468e [Issue #155] Documentation update 2019-12-27 00:53:28 +03:00
Grigory Smolkin
4f10eb3c59 [Issue #150] Documentation update 2019-12-26 01:03:06 +03:00
Liudmila Mantrova
d507c8ab0d DOC: fix PTRACK description 2019-12-19 13:14:13 +03:00
Liudmila Mantrova
29c457492d DOC: document new PTRACK requirements 2019-12-18 16:52:21 +03:00
Liudmila Mantrova
edd3df7f00 DOC: modify restore-as-replica option description for v12 2019-12-10 16:42:02 +03:00
Grigory Smolkin
69f98672ad DOC: update fonts 2019-11-27 23:16:35 +03:00
Grigory Smolkin
715dbf8506 DOC: minor fix 2019-11-27 23:11:32 +03:00
Liudmila Mantrova
3188aaf6b0 DOC: fix wal_seg_size name 2019-11-26 16:44:32 +03:00
Liudmila Mantrova
6e5fe570b6 DOC: fix typo in continuous 2019-11-26 15:30:43 +03:00
Liudmila Mantrova
10c1f7ad3f DOC: improve checkb docs and fix some other minor issues 2019-11-25 19:24:29 +03:00
Grigory Smolkin
b3be139456 DOC: css for code blocks 2019-11-25 12:09:34 +03:00
Liudmila Mantrova
8947a120a9 DOC: fix minor wording and tagging issues 2019-11-22 19:00:54 +03:00
Grigory Smolkin
2d8c291c34 DOC: CSS fix 2019-11-22 13:56:08 +03:00
Grigory Smolkin
232dee2e88 DOC: css added 2019-11-19 18:19:14 +03:00
Liudmila Mantrova
40003490a3 DOC: add pbk path to archive_command/restore_command - PGPRO-3240 2019-11-13 12:53:05 +03:00
Liudmila Mantrova
24d0224981 DOC: remove _ from IDs 2019-11-08 12:41:40 +03:00
Liudmila Mantrova
060b84f5c9 DOC: add xreflabel for all commands and change <link> to <xref> to facilitate linking to command descriptions 2019-11-07 17:36:23 +03:00
Grigory Smolkin
a1bc007514 DOC: add README for docs and add '.html' files to '.gitignore' 2019-11-06 17:36:40 +02:00
Grigory Smolkin
83534d834d DOC: remove trailing space 2019-11-06 17:28:14 +02:00
Liudmila Mantrova
12cc64b567 DOC: fix grammar in new pg_probackup docs 2019-11-06 15:38:41 +03:00
Grigory Smolkin
0608c7450d move to .xml 2019-10-30 19:31:13 +03:00
Grigory Smolkin
b93317ae49 [SGML Documentation] initial commit 2019-10-30 19:27:49 +03:00
Arthur Zakirov
020d6ddf62 Remove pg_probackup.md 2017-07-11 13:34:09 +03:00
Artur Zakirov
62953a7f81 Default --archive-timeout is 300 seconds 2017-03-24 14:24:29 +03:00
Artur Zakirov
f3bdedcf4d Add backup option --archive-timeout 2017-03-24 14:07:03 +03:00
Artur Zakirov
515150cff1 Allow page backups from standby 2017-03-22 11:50:29 +03:00
Artur Zakirov
6a79870ce9 Disallow page backups from standby 2017-03-13 16:22:48 +03:00
Artur Zakirov
9ace401921 Refactoring do_restore() and do_validate(). Check tablespace mapping before actual restore 2017-02-28 20:00:18 +03:00
Artur Zakirov
320d0b6e70 Fix the documentation. Add information about tablespace mapping option. 2017-02-28 12:45:10 +03:00
Artur Zakirov
5fee804c15 Fix pg_probackup.md 2017-02-27 19:11:13 +03:00
Arthur Zakirov
195530ebbb Fix doc 2017-02-25 15:15:11 +03:00
Arthur Zakirov
d7b9fe0b18 Added tablespace-mapping option.
mkdirs.sh is not created now during backup.
Tests were updated.
2017-02-25 15:12:07 +03:00
Artur Zakirov
a3e5458166 Fix do_validate() and do_restore() 2017-02-16 19:44:16 +03:00
Arthur Zakirov
976694f1a3 Add retention show|purge commands. Add tests and documentation. 2017-02-12 23:42:10 +03:00
stalkerg
133573e4da Fix new line for doc 2016-11-28 17:15:25 +03:00
stalkerg
67214c9553 First version of new documentation. 2016-11-28 17:10:20 +03:00
stalkerg
2cdb902a11 I forget docs. :( 2016-11-17 12:55:19 +03:00
stalkerg
188bbdd593 Rename project to pg_probackup. 2016-11-16 20:34:21 +03:00
stalkerg
054226d2db Remove recovery-target- substring from restore option. 2016-11-16 19:41:16 +03:00
stalkerg
324efc064f Removed requirements wal_log_hints = on for pg_arman work. 2016-11-10 16:32:02 +03:00
stalkerg
44ac5f4c1b Hide not reliable options: --check, --keep-data-generations, --keep-data-days 2016-11-10 12:49:30 +03:00
stalkerg
c0b9b02752 Fix docs and use recovery time for show command. 2016-10-31 18:57:15 +03:00
stalkerg
af0e674cbb Add automatic detect of replica and remove same option. 2016-10-25 14:38:51 +03:00
stalkerg
6446aceec0 Update docs and readme for last changes. 2016-10-18 18:19:56 +03:00
stalkerg
e829899c0a Update doc 2016-09-29 17:39:56 +03:00
stalkerg
9f038eeb5e Add support backup from replica. 2016-09-29 17:33:21 +03:00
stalkerg
1fe3dbd224 Wrong place for docs. 2016-09-01 18:35:43 +03:00
stalkerg
733f05a80d Update docs. 2016-09-01 18:31:19 +03:00
Uriy Zhuravlev
4890370d01 Add ptrack to backup options. 2016-05-31 20:22:54 +03:00
stalkerg
f01d5755aa Add issue tracker to doc. 2016-05-31 16:34:45 +03:00
stalkerg
5102ff5c30 Fix doc. 2016-05-31 16:09:57 +03:00
Uriy Zhuravlev
8f0de84b7c Update pg_arman.md 2016-05-31 14:44:42 +03:00
Uriy Zhuravlev
5c2ce8a2cd Update pg_arman.md 2016-05-31 14:40:04 +03:00
Uriy Zhuravlev
d378c5690f Update pg_arman.md 2016-05-31 14:34:16 +03:00
stalkerg
f441157f10 Fix doc 2016-05-31 14:21:16 +03:00
stalkerg
ecb54929ea Some documentation fix. 2016-05-31 14:16:14 +03:00
stalkerg
85e97a184c Start move document to markdown 2016-05-31 14:08:51 +03:00
stalkerg
e413328f09 Change documentation format. 2016-05-31 13:55:26 +03:00
Michael Paquier
05601aa8f6 Correct mention that a full backup is needed after database creation
This restriction has been inherited from the upstream project pg_rman, however
the new differential facility is proving to be able to address that need quite
nicely after more testing regarding that.

Mentioned by Thomas Reiss.
2016-01-19 13:01:40 +09:00
Michael Paquier
5c37daca69 Sanitize error checks
All the ERROR_* fields are removed in favor of a more simple layer
made of ERROR, FATAL, PANIC. The two last ones are not actually used
yet, thought there should be some code paths that would need more
polishing on this matter.

The error message emitted before leaving should be fine to let the
user know what is happening.
2016-01-19 12:41:30 +09:00
Michael Paquier
f2c523b1ee Remove un-needed WAL segments from archive at backup deletion
During the execution of the "delete" command, the oldest start LSN is saved
and used to determine what is the oldest WAL segment that needs to be kept
for the existing backups. Like pg_archivecleanup, the implemented logic
ignores the timeline part of the WAL segment name, ensuring that a segment
from a parent timeline will not be removed prematurely. This logic could
be made more complicated regarding this matter, but in order to take backups
from a node on a given timeline this is far enough.
2016-01-18 16:11:47 +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
f94c5ab447 Sanitize logging facility
--debug and --verbose had actually the same meaning as they were aimed
at giving to the user information regarding how the process is running,
hence both options are merged into --verbose and use elog(LOG) to decide
if a given message should be printed out depending on the verbosity of
the call. This makes a couple of routines more readable as they do not
depend on any boolean checks.

The "_()" have been removed from the code, those are aimed at being used
for translation but having them mandatorily in each log message is just
useless noise. If needed, pgut.c should be updated in consequence to
have a more portable facility.

At the same time this commit takes care of putting into correct shape
some code paths more in-line with PostgreSQL policy. There are surely
more of this kind of ugly stuff but at this stage things are more simple
and more manageable.
2016-01-14 16:36:39 +09:00
Michael Paquier
3ac6d13329 Remove --compress-data/-Z
Performance of compression is quite questionable on many objects like
that and makes the routines aimed at managing file copy, backup and restore
more complicated than they should be.

This commit results in a largely simplified code in data.c, which will
be helpful when integrating differential backup using WAL file lookup.
2016-01-14 15:19:38 +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
55db450c6f Fix typos in docs
Report and patch by Zhuravlev Uriy.
2015-12-07 21:41:16 +09:00
Michael Paquier
db249c800e Replace incremental backup by page-level differential backup
This will allow the introduction of file-level differential backup.
2014-01-30 15:58:55 +09:00
Michael Paquier
5429f70807 Fix whitespaces and typos in documentation
The output of "show" command was incorrect as well.
2014-01-27 12:10:54 +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
820485d225 Strip off archive backup mode
This mode is not actually necessary if we consider that the core of
pg_rman is the obtention of differential and full backups, the server
being afterwards in charge to recover necessary WAL segments from the
archive.

Regression tests and documentation are updated in accordance to the
changes.
2014-01-24 22:37:55 +09:00
Michael Paquier
5988e6bd10 Remove server backup feature
In order to keep only the core of pg_rman for incremental/differential
backup, this looks necessary and makes the code more simple. Including
server log files in a backup could be subject to discussion as well,
as for example a Postgres base backup does not include them, just
because in this case server instance is not aware of the log files.
2014-01-24 20:37:13 +09:00
Michael Paquier
7eb06cbc64 Add backup option --validate
This permits to validate a backup that has just been taken. Other
backups taken previously are ignored.
2014-01-17 22:42:27 +09:00
Michael Paquier
1868223c52 Use strong text for option names and underline option values
This makes the whole documentation more readable.
2014-01-12 03:50:13 +09:00
Michael Paquier
26ed2bbe14 Fix typo in documentation 2014-01-12 03:28:33 +09:00
Michael Paquier
c7b758a93f Fix and refactor large parts of the documentation
A couple of issues have been found on the documentation after re-reading
it related mainly to paging.
2014-01-12 03:25:54 +09:00
Michael Paquier
d274d27cfc Remove PHONY option in documentation Makefile
This was kicking all the time a clean up of everything, rather unwelcome.
2014-01-12 03:08:57 +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