1
0
mirror of https://github.com/postgrespro/pg_probackup.git synced 2024-12-05 11:00:22 +02:00
Commit Graph

188 Commits

Author SHA1 Message Date
Grigory Smolkin
ec8462293e additional LOG-level messages, checksumm check 2018-02-06 20:37:45 +03:00
Anastasia
7eeb7a110b Fix directory check. Now pg_probackup init uses postgresql cross platform function pg_check_dir to ensure that backup catalog is empty 2018-02-02 21:02:18 +03:00
Anna
fa35f2e09c Added a NULL check after strdup() in backup.c 2018-02-02 17:52:13 +03:00
Arthur Zakirov
4c670a0be7 Do not allow multithread backup with pglz compression 2018-01-30 18:07:11 +03:00
Arthur Zakirov
07366183c4 Properly check that pglz is not supported 2018-01-30 16:09:24 +03:00
Arthur Zakirov
c1f668114e Revert "Properly check that pglz is not supported"
This reverts commit 3f272f2ed4.
2018-01-30 16:06:08 +03:00
Arthur Zakirov
3f272f2ed4 Properly check that pglz is not supported 2018-01-30 14:42:51 +03:00
Grigory Smolkin
8bea94b41e small fix for do_retention_purge 2018-01-24 05:09:36 +03:00
Grigory Smolkin
8529276c11 minor changes to elevel and comments 2018-01-24 05:00:49 +03:00
Grigory Smolkin
99d0e6e68a added user-friendly KB unit 2018-01-24 04:58:54 +03:00
Grigory Smolkin
5466ab6b99 bugfix for log_rotation_age which used OPTION_UNIT_S instead of OPTION_UNIT_MIN 2018-01-24 04:57:07 +03:00
Grigory Smolkin
0a87d49840 minor fix to do_retention_purge 2018-01-24 04:50:32 +03:00
Grigory Smolkin
a53c4c181d backup: allow to use delete-wal without delete-expired(in accordance with documentation) 2018-01-24 04:37:47 +03:00
Grigory Smolkin
5ac16cd2c1 help actualization 2018-01-24 04:29:22 +03:00
Grigory Smolkin
1f31693658 minor changes to log level and log messages 2018-01-23 13:43:31 +03:00
Grigory Smolkin
9d9a885734 optimization: close connection in thread when it`s not needed 2018-01-23 13:39:49 +03:00
Grigory Smolkin
0d3f145398 fix segfault in parallel ptrack backups 2018-01-23 13:36:49 +03:00
Grigory Smolkin
e1e628110c add compress option to help 2018-01-18 05:02:02 +03:00
Grigory Smolkin
e6122e3f42 minor fix to validate 2018-01-18 05:01:30 +03:00
Grigory Smolkin
830bcfdc6a bugfixes:
- if block is invalid after 100 read attempts then throw an error
 - if block is invalid after first read attempt then instead of additional 99 atempts use pg_ptrack_get_block if ptrack is supported
2018-01-18 04:56:12 +03:00
Grigory Smolkin
ecd6d1187d disable debug message 2018-01-17 13:40:41 +03:00
Anastasia
c981bf737f Version 2.0.14
- fixed race conditions in ptrack and page backups
- fixed parallel ptrack backup interruption
- added new backup state 'ORPHAN' which means that one of previous backups is corrupted
2018-01-17 10:46:29 +03:00
Grigory Smolkin
2f08a4b624 Merge remote-tracking branch 'origin/pgpro-1303' 2018-01-16 16:36:36 +03:00
Anastasia
073066b6a2 fix interrupts handlers for parallel connections 2018-01-16 15:19:48 +03:00
Arthur Zakirov
2a87b31c4f PGPRO-1303: delete_walfiles() removes compressed WAL files too 2018-01-16 14:40:02 +03:00
Anastasia
1ff4dde4ad fix parallel execution of pg_ptrack_get_block() 2018-01-16 14:16:50 +03:00
Anastasia
7ee0803849 make pg_probackup compatible with ptrack 1.5;
cleanup the code;
fix parallel pg_ptrack_get_block()
2018-01-16 11:54:15 +03:00
Anastasia
0905edfdb9 Merge branch 'master' into fix_ptrack_1230 2018-01-15 18:18:55 +03:00
Anastasia
7e28977a03 check is data_checksums are enabled in postgres instance 2018-01-15 17:58:44 +03:00
Anastasia
5b5fe6ea5c fix restore of the truncated files. code cleanup 2018-01-15 16:33:17 +03:00
Anastasia
0c2ce64c1b fix restore of the truncated files 2018-01-15 15:35:51 +03:00
Arthur Zakirov
97d028efbb Merge branch 'pgpro-1207' 2018-01-15 12:12:53 +03:00
Anastasia
ac195f47b6 truncate restored files when necessary 2018-01-14 15:45:56 +03:00
Anastasia
07a1630a65 fix for parallel truncate 2018-01-12 21:11:09 +03:00
Anastasia
9255205263 Merge branch 'master' into fix_ptrack_1230 2018-01-12 16:29:32 +03:00
Grigory Smolkin
8de10e25aa minor fix for base36enc 2018-01-11 20:27:08 +03:00
Grigory Smolkin
eef374e267 Merge remote-tracking branch 'origin/pgpro-1248' 2018-01-10 21:24:00 +03:00
Grigory Smolkin
8d8a70f886 Merge branch 'pgpro-1248' 2018-01-10 21:18:31 +03:00
Arthur Zakirov
d96e8e24f2 PGPRO-1207: Add -W (--password) option 2018-01-10 19:17:38 +03:00
Anastasia
389c82fffb use pg_ptrack_get_block_2 to read block by relfilenode without relcache 2017-12-28 16:28:38 +03:00
Anastasia
109b9968cc fix databaseOID usage for pg_ptrack_get_block() 2017-12-28 15:09:10 +03:00
Anastasia
c5f0787453 Fix. Pages read via SQL don't have checksum, so calculate it at the backup side. It's an arguable decision, but at least now we are able to test other possible issues. 2017-12-27 19:34:07 +03:00
Anastasia
59477414c6 fix reading the block for ptrack backups 2017-12-27 18:49:30 +03:00
Anastasia
933135a594 Merge branch 'master' into fix_ptrack_1230 2017-12-27 15:32:09 +03:00
Anastasia
fe5a5fb444 refactoring to read block via SQL for ptrack backups 2017-12-27 15:31:15 +03:00
Arthur Zakirov
41de50c385 PGPRO-692: Use .partial suffix instead of .temp 2017-12-26 11:11:04 +03:00
Anastasia
114a575a52 Merge branch 'master' into fix_ptrack_1230 2017-12-22 14:46:32 +03:00
Arthur Zakirov
b0011282a7 Fix logging query text to a file 2017-12-20 17:59:11 +03:00
Arthur Zakirov
d2c9fceca0 Add base36enc() and base36enc_dup().
base36enc() - returns static text
base36enc_dup() - returns duplicated text, which should be released by a user
2017-12-20 17:57:01 +03:00
Grigory Smolkin
b6f1dd8fbe PGPRO-1248: new status ORPHAN for backup with corrupted parent 2017-12-19 12:56:03 +03:00