1
0
mirror of https://github.com/postgrespro/pg_probackup.git synced 2025-01-26 11:54:25 +02:00

1073 Commits

Author SHA1 Message Date
Grigory Smolkin
eac3d8a1d0 Merge branch 'master' into issue_92 2019-07-03 21:11:39 +03:00
Grigory Smolkin
e1880c57c6 minor bugfix: close ssh connection when it is not needed anymore 2019-07-03 18:09:00 +03:00
Grigory Smolkin
61b733b0b7 Merge branch 'master' of https://git.postgrespro.ru/pgpro-dev/pg_probackup 2019-07-03 00:06:58 +03:00
Konstantin Knizhnik
da8bf6de29 Make child_pid variable thread local 2019-07-03 00:06:00 +03:00
Grigory Smolkin
3b7fb5d4ed minor bugfix: close ssh connection when it is not needed 2019-07-02 20:04:04 +03:00
Konstantin Knizhnik
d57b65fa87 Wait for ssh process completion in fio_disconnect 2019-07-02 16:49:38 +03:00
Konstantin Knizhnik
abfb2b56f5 Merge branch 'master' of git.postgrespro.ru:pgpro-dev/pg_probackup 2019-07-01 22:35:17 +03:00
Konstantin Knizhnik
3eed6718b0 Add fio_dsconnect function 2019-07-01 22:35:10 +03:00
Grigory Smolkin
ffa63a2e2a Merge branch 'master' into issue_92 2019-06-28 12:51:47 +03:00
Grigory Smolkin
79f940ff75 checkdb: don`t close descriptor if file size is not aligned BLCKSZ 2019-06-28 12:47:13 +03:00
Konstantin Knizhnik
5f840ba436 Fix passing error in fio_send_pages 2019-06-28 10:09:03 +03:00
Grigory Smolkin
c069399f41 Merge branch 'master' into issue_92 2019-06-28 01:16:46 +03:00
Grigory Smolkin
eb2a397a01 tests: minor fixes for corruption detection 2019-06-28 01:16:10 +03:00
Grigory Smolkin
a5eb8db914 [Issue #92] Refactoring of catalog_get_last_data_backup(). First we look for latest valid FULL backup, he is the chain ancestor. Then latest valid child of chain ancestor becomes the parent of current backup. 2019-06-27 19:43:03 +03:00
Grigory Smolkin
4217bc2c22 [Issue #92] Overlapping chains and retention redundancy 2019-06-27 13:09:42 +03:00
Grigory Smolkin
5c09b69d22 minor improvement: use unsigned instead of float for backup time window 2019-06-21 17:46:53 +03:00
Grigory Smolkin
842f7bcc7b add "--help" option to all commands in help_pg_probackup() 2019-06-21 15:13:32 +03:00
Grigory Smolkin
b1413d5d60 bugfix: during backup do not close file if file size is not the mulptiple of BLCKSZ 2019-06-20 18:57:47 +03:00
Konstantin Knizhnik
835b5e4185 Fix returning errno in remote backup 2019-06-20 18:39:11 +03:00
Grigory Smolkin
e28e34c6e8 minor fix: report correct remote mode if remote-host is not NULL and remote-proto is "none" 2019-06-20 18:20:09 +03:00
Grigory Smolkin
6a3581ceec minor fix: report correct remote mode if remote-host is not NULL and remote-proto is "none" 2019-06-20 18:19:38 +03:00
Grigory Smolkin
fd30ae28b3 [Issue #90] Remove stale .partial WAL files 2019-06-20 16:41:04 +03:00
Arthur Zakirov
e163c4504c Rename dubious pg_probackup variable into PROGRAM_NAME_FULL 2019-06-20 11:48:06 +03:00
Konstantin Knizhnik
68d6b3b3f0 Correctly handle spaces in path for remote backup 2019-06-19 19:43:43 +03:00
Arthur Zakirov
04d396dc7c Fix error message during files merging 2019-06-19 17:37:35 +03:00
Grigory Smolkin
2e20bd28fe minor fix: wrong order of arguments in elog() messages about unexpected file checksumm and file size 2019-06-19 15:31:52 +03:00
Grigory Smolkin
49163b3810 [Issue #83] data corruption as a result of failed merge 2019-06-19 12:31:41 +03:00
Grigory Smolkin
e495a9a76d minor improvement: parent TLI in FULL backups now always equal to zero 2019-06-18 20:57:08 +03:00
Grigory Smolkin
93e8a995d8 minor improvement: be more paranoid about illegal values in file->size during merge and validation 2019-06-18 19:27:44 +03:00
Anastasia
1590e2d259 fix show-config in json format: add quotes for all values 2019-06-17 21:51:52 +03:00
Anastasia
48959dc131 Merge branch 'backup_content_control_updates' 2019-06-14 17:36:47 +03:00
Grigory Smolkin
d28ea728c4 fix missing streamed WAL segments 2019-06-14 13:12:34 +03:00
Anastasia
19c30a8997 code cleanup: remove unneeded backuped variable 2019-06-14 11:58:33 +03:00
Grigory Smolkin
6e0c213029 change elevel of "Create directory" message to VERBOSE 2019-06-14 01:24:22 +03:00
Anastasia
52a5487025 code cleanup 2019-06-11 18:53:29 +03:00
Anastasia
8ea9bcac87 remove duration variable as unrelated to this feature,
code cleanup.
2019-06-11 18:50:35 +03:00
Anastasia
6f2d3f5cc5 use data_bytes field instead of introducing new one 2019-06-11 18:04:02 +03:00
Anastasia
096a12b9bc add size and duration fields to backup.control.
update it during backup every 10 seconds
2019-06-11 14:29:10 +03:00
Anastasia
7ef294501a write only completed files to backup_content_control of running backup 2019-06-11 12:58:50 +03:00
Grigory Smolkin
ae19a99893 [Issue #79] minor fixes 2019-06-11 09:55:05 +03:00
Grigory Smolkin
06805ea409 [Issue 79] be more paranoid about missing or mangled database_map 2019-06-10 21:03:05 +03:00
Anastasia
66a1c643d5 update backup_content.control during backup;
implement buffered write of backup_content.control
2019-06-07 22:22:26 +03:00
Grigory Smolkin
836382f372 [Issue #79] minor fixes 2019-06-07 13:50:56 +03:00
Grigory Smolkin
0bd2dc0e50 [Issue #79] Minor changes and improvement of comments 2019-06-07 03:12:40 +03:00
Grigory Smolkin
8641332a69 [Issue #79] DB-level partial restore, initial commit 2019-06-05 02:28:01 +03:00
Grigory Smolkin
bcb3a04757 bugfix: enforce permission mask from backup_content.control when copying non-data file 2019-06-04 13:42:09 +03:00
Anastasia
30126c6eb5 Refactoring of checkdb. Move code to a separate file, improve error messages 2019-05-31 18:15:43 +03:00
Arthur Zakirov
a9bbff9fa4 Wait for previous segment in case of invalid stop_lsn 2019-05-31 12:43:53 +03:00
Grigory Smolkin
2ac21b541d Release 2.1.3 2019-05-30 14:19:02 +03:00
Grigory Smolkin
4d5ed22541 fix stat() macro 2019-05-28 22:10:21 +03:00