1
0
mirror of https://github.com/postgrespro/pg_probackup.git synced 2024-11-25 09:01:48 +02:00
Commit Graph

58 Commits

Author SHA1 Message Date
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