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

171 Commits

Author SHA1 Message Date
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
Arthur Zakirov
269812aafc PGPRO-692: archive-push/archive-get to .temp file first, then rename() 2017-12-18 12:12:34 +03:00
Grigory Smolkin
7925496e07 allow to use delete --expired --wal even without established retention policy 2017-12-15 15:20:15 +03:00
Arthur Zakirov
4457529351 Merge branch 'pgpro-1184' 2017-12-14 18:10:14 +03:00
Anastasia
e0b3e89dd1 read block via pg_ptrack_read_block() for every page in ptrack backups and every invalid page in other backup modes 2017-12-14 17:46:30 +03:00
Arthur Zakirov
c9d11c5940 PGPRO-1184: Add --overwrite option for archive-push 2017-12-14 12:36:59 +03:00
Arthur Zakirov
e330230d61 PGPRO-1184: unlink WAL file on error 2017-12-14 12:35:00 +03:00
Arthur Zakirov
c5e425995d PGPRO-692: Do not compress .history and .backup files. Improve messages. 2017-12-14 12:17:14 +03:00
Arthur Zakirov
3e06d9fedc PGPRO-692: Improve check of compress-algorithm and compress-level 2017-12-13 15:11:29 +03:00
Arthur Zakirov
fbda56902b PGPRO-692: Improve help for archive-push/archive-get 2017-12-13 13:39:49 +03:00
Grigory Smolkin
a43c951c78 PGPRO-1226: disable archiving_enable check 2017-12-13 11:15:55 +03:00
Arthur Zakirov
7b0d214c0b PGPRO-692: Compress/Decompress WAL files during archive-push/archive-get 2017-12-12 15:07:13 +03:00
Arthur Zakirov
596ac3a37b Issue #20. Check system_identifier for PostgreSQL9.5.
System identifier is fetched via pg_read_binary_file() for Pg 9.5.
2017-12-11 15:44:54 +03:00
Arthur Zakirov
a528352919 Merge branch 'master' of github.com:postgrespro/pg_probackup 2017-12-11 14:06:47 +03:00
Raymond Tau
ee2b1a9c88 Add comment for check_system_identifiers
On the empty if case for skipping check before PG 9.6
2017-12-11 18:41:02 +08:00
Raymond Tau
67d17b5e73 Merge branch 'pg-9.5' 2017-12-11 18:34:53 +08:00
Raymond Tau
8192f0e58d Make pg_probackup works again on PostgreSQL 9.5
Function pg_control_system is added in 9.6, which makes check on
9.5 fails all the time. Added logic to bypass that checking of
system identifier between data directory DB connection unless
DB version is >= 9.6
2017-12-11 18:25:39 +08:00
Grigory Smolkin
4efa7ab330 add message about Recovery Time 2017-12-08 16:53:00 +03:00