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

78 Commits

Author SHA1 Message Date
Arthur Zakirov
baa6aa8e35 Fix help messages 2019-04-16 13:34:57 +03:00
Arthur Zakirov
c440ab0f45 Merge remote-tracking branch 'origin/remote_pull' 2019-04-16 13:24:02 +03:00
Arthur Zakirov
eec03820e4 Merge branch 'pbckp-36' 2019-04-16 11:33:08 +03:00
Arthur Zakirov
592df2e606 PBCKP-36: Fix help message for RESTORE and VALIDATE 2019-04-16 10:54:05 +03:00
Arthur Zakirov
db179af048 PBCKP-36: Fix recovery-target options 2019-04-12 14:48:53 +03:00
Grigory Smolkin
4193766317 Merge branch 'master' into remote_pull 2019-04-12 14:05:27 +03:00
Grigory Smolkin
8aeddc9892 tests: minor fixes 2019-04-11 16:33:16 +03:00
Grigory Smolkin
9ca020c127 tests: update option_help.out 2019-04-10 22:31:52 +03:00
Arthur Zakirov
d87149c68f PBCKP-36: Create recovery.conf if --latest specified 2019-04-10 15:57:32 +03:00
Konstantin Knizhnik
f0576ce10f Merge with master 2019-04-03 17:55:02 +03:00
Grigory Smolkin
b00243f05b bump version to 2.0.28 2019-03-06 20:23:17 +03:00
Arthur Zakirov
70b299c34b PGPRO-1973: Add support pthreads for VALIDATE command 2019-03-04 19:02:29 +03:00
Arthur Zakirov
e9190e6cc3 tests: update help test 2019-03-04 16:47:21 +03:00
Grigory Smolkin
ba8410686b Version 2.0.27
- Bugfix: reading of compressed WAL files was very slow, it happened because xlogreader was in habit of reading XLOG page twice, which breaks zlib optimization for sequential access. See https://commitfest.postgresql.org/22/1994 for additional info. Reported by Alex Ignatov.
- Bugfix: previously path to PGDATA was not canonicalized. On Windows this could lead to producing empty backups. Additionally during investigation another bug was found: readdir() silently ignored 'permission denied' errors. See https://www.postgresql.org/message-id/2cad7829-8d66-e39c-b937-ac825db5203d%40postgrespro.ru for additional info. Reported by Yuri Kurenkov.
- Bugfix: archive-push didn`t use O_EXCL flag when creating '.partial' file, in rare case of two PostgreSQL instances concurrently pushing the same WAL segment it could lead to corruption of pushed WAL segment.
- Minor bugfix: disappeared during backup files were marked as 'not changed', now they just evicted from file list.
- Minor bugfix: skip 'log' directory during backup for PG >= 10. Reported by triwada.
- Improvement: previously locking was done at instance level, because of that concurrent operations were impossible, now it is done at the backup level, so restore of backup A won`t interfere with validation of backup B.
- Improvement: previously restore was relying on sort order when restoring incremental backups, now it`s relying on parent chain.
- Minor improvement: when using show command "Time" for RUNNING backups now calculated on the fly.
- Minor improvement: START LSN of backup now written to backup meta right after receiving, not at the end of the backup. It will be needed for "resume" feature.
2019-02-28 11:02:25 +03:00
Arthur Zakirov
d8553c06af Version 2.0.26
- Bugfix: fixed undefined behaviour in case of undefined compression algorithm
- Bugfix: correctly calculate backup size after MERGE
- Bugfix: fixed MERGE of compressed and uncompressed backups
- Bugfix: remove unnecessary remaining files after MERGE
- Bugfix: consider target LSN (--lsn parameter) during validating WAL
- Improvement: check backup program_version during VALIDATE, do not support forward compatibility
- Improvement: improve Windows support
- Improvement: improve support of tablespaces within PGDATA
2019-01-09 15:28:30 +03:00
Arthur Zakirov
e199c4aee8 Use CRC-32C again. Calculate crc for pg_control differently using ControlFileData struct.
Bump version to 2.0.25.
2018-11-26 14:17:46 +03:00
Grigory Smolkin
de9c3b64d7 Version 2.0.24
- Major bugfix: incorrect handling of badly compressed blocks, previously there was a risk to restore block in uncompressed state, if compressed size was equal or larger than BLCKSZ
        - Impromevent: backup from replica >= 9.6 no longer need connection to master
        - Workaround: wrong minRecPoint in PostgreSQL thanks to commit 8d68ee6(block from future), overwrite minRecPoint with latest applied LSN
        - Impromevent: merge is now considered stable feature
        - Impromevent: validation now use more conservative and paranoid approach to file validation, during validation pg_probackup also check block checksumm, make sanity check based on block header information and try to detect blocks from future
        - New validate/restore options:
           '--skip-block-validation' - disable aforementioned approach to file validation
        - Multiple minor fixes
2018-11-12 12:41:02 +03:00
Grigory Smolkin
6eefeeba8d tests: expected help fixed 2018-11-12 12:15:54 +03:00
Arthur Zakirov
ea3ed9fa17 Instead of current global backup variable use function local argument, which is sent by callers 2018-11-08 15:04:55 +03:00
Arthur Zakirov
62a6317ed8 Version 2.0.22
- Calculate checksum for backuped files using CRC-32, validate pre 2.0.22 backups using CRC-32C
- Do not backup unchanged _vm,_fsm, pg_clog, pg_multixact, etc files
- Write program-version only during backup
- Minor fixes and bug fixes
2018-10-26 19:10:04 +03:00
Arthur Zakirov
0669939bba Fix tests 2018-10-11 12:58:37 +03:00
Arthur Zakirov
c90d578a67 Version 2.0.21
- Dynamically resize show table
- Port to PostgreSQL 11
- Minor fixes and bug fixes
2018-10-09 20:01:54 +03:00
Arthur Zakirov
85f7559d53 Version 2.0.20
Minor fixes and bug fixes
2018-09-26 18:22:31 +03:00
Grigory Smolkin
9191746ce0 tests: minor fixes 2018-09-06 20:46:32 +03:00
Anastasia
33a33a9e1b Version 2.0.19.
Various fixes and code cleanup for previous version.
2018-08-17 16:31:28 +03:00
Arthur Zakirov
3f5540de6a Version 2.0.18 2018-08-06 12:47:51 +03:00
Arthur Zakirov
4ed28cf6e5 PGPRO-1449: Add MERGE command: merge PAGE with FULL backup 2018-08-02 11:57:39 +03:00
Aleksandr Parfenov
586e3366c7 Add support of recovery target LSN 2018-07-27 17:11:23 +03:00
Grigory Smolkin
f0abaf9438 add --no-validate description to help 2018-07-18 09:10:38 +03:00
Grigory Smolkin
f98c91b3ba tests: add slow_start() method to PostgresNode 2018-07-11 10:50:38 +03:00
Grigory Smolkin
c408a0ea47 bump version to 2.0.17 2018-05-03 14:14:55 +03:00
Grigory Smolkin
b1f9043564 tests: update tests due to recovery target action been set to "pause" 2018-04-11 19:47:19 +03:00
Anastasia
76afcee125 Version 2.0.16
- Fix CVE-2018-1058. Use schema name explicitly in all function calls.
- Fix: Handle datafiles in directory global as datafiles.
- Fix: Do not copy ptrack files from directory global to backup anymore.
- Check if --instance is specified for VALIDATE with target parameters
- Adjust README package installation instruction.
2018-03-02 19:26:37 +03:00
Grigory Smolkin
f9e36ee01e Version 2.0.15
- fix infinite loop in page validation
- fix segfault in parallel ptrack connections
- allow to use delete-wal option wihtout delete-expired(in accordance with documentation)
- allow to use pg_ptrack_get_block if it`s available and page is invalid
- help update
- testgres 1.3 support
- pglz is not thread-safe, do not allow multithread backup with pglz compression
- multiple minor fixes
2018-02-07 07:12:37 +03:00
Grigory Smolkin
68e2742da0 tests: major fixes 2018-01-18 04:35:27 +03:00
Grigory Smolkin
d6a2d36403 tests: minor fixes, new tests for ptrack 2018-01-17 20:51:43 +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
277e4101d8 tests: fixes 2017-12-13 11:15:42 +03:00
Grigory Smolkin
b4c56bf21c Version 2.0.13
- Do not include not changed relations into the PAGE backup
    - Correct procedure of obtaining backup_label and tablespace_map via SQL for exclusive backups
    - Do PTRACK backups only for ptrack_version >= 1.4
2017-11-30 14:56:59 +03:00
Anastasia
fae522df4a Version 2.0.12
- Do not include unlogged relations into the backup.
- Use exclusive backup for PTRACK backups.
- Do not throw an error if the file was truncated during backup.
2017-11-23 11:28:04 +03:00
Anastasia
082612b528 Version 2.0.11.
- Fix password prompt interruption
- Check if the password provided by a user is empty
- Fix incremental backups: do not include into backup files, that didn't changed since previous backup.
- Add PG version into backup meta infromation
2017-11-10 17:40:30 +03:00
Anastasia
3a1d5c430f Version 2.0.10 2017-10-30 15:02:56 +03:00
Grigory Smolkin
9f07c0ccc7 v 2.0.9 2017-10-26 16:04:15 +03:00
Anastasia
27a90e847d Version 2.0.8. Stable 2017-10-10 19:10:59 +03:00
Grigory Smolkin
6dc3c29616 Version 2.0.7 2017-10-09 15:35:46 +03:00
Anastasia
9813471e7b Version 2.0.6 2017-10-04 12:24:53 +03:00
Anastasia
990ab6050d Version 2.0.5 2017-10-03 15:57:15 +03:00
Anastasia
04105e8f07 Version 2.0.4 2017-09-28 13:10:03 +03:00
Grigory Smolkin
237882cfaa new tests added 2017-09-28 10:32:06 +03:00
Arthur Zakirov
578abf5f40 Version 2.0.3 2017-08-31 21:32:15 +03:00