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

1197 Commits

Author SHA1 Message Date
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
Grigory Smolkin
b2fdd73999 [Issue #65] Improvement of merge crash safety, previously FULL backup would gain OK status before changing of start_time. If crash happens here, then in rare case of FULL backup having multiple children it could lead to data corruption when restoring one of such children 2019-05-28 17:59:17 +03:00
gsmol
1864480380
Merge pull request #77 from postgrespro/issue_67
[Issue #67]: permission mask is not preserved by restore
2019-05-27 19:01:31 +03:00
gsmol
f217a14b71
Merge pull request #75 from postgrespro/issue_74
[Issue #74] strict behavior for copy_file and backup_data_file()
2019-05-27 18:47:42 +03:00
Grigory Smolkin
ca02ecade0 limit tablespace permissions kludge to only PG11 2019-05-27 18:22:25 +03:00
Konstantin Knizhnik
c594704395 [Issue #62] Replace pgwin32_safestat with fio_safestat 2019-05-27 18:00:59 +03:00
Grigory Smolkin
64d5d32fff improve comments in create_data_directories() 2019-05-27 16:57:46 +03:00
Anastasia
b09140af4d remove unused function: create_data_directories_manual() 2019-05-27 16:05:00 +03:00
Grigory Smolkin
ead629bfa7 Issue 67: permission mask is not preserved by restore 2019-05-27 11:27:43 +03:00
Grigory Smolkin
db10096f0f Issue 74: copy_file and backup_data_file() always treat missing source file as non-error condition 2019-05-24 15:12:15 +03:00
Arthur Zakirov
2fd3457738 Fix help: --remote-proto default value is ssh 2019-05-23 12:25:55 +03:00
Grigory Smolkin
7f21f63bb0 bugfix: allow restore of DELTA backup to skip unchanged non-data files 2019-05-23 11:53:32 +03:00
Grigory Smolkin
ac4ea5e731 bugfix: exit with error if validation after backup found corruption 2019-05-23 11:51:03 +03:00
Grigory Smolkin
d27835dd7d bugfix: disappeared during backup files could give a false-positive alarm by validation. Issue #72 2019-05-23 11:42:12 +03:00
Arthur Zakirov
ad20823ccf Use pgFileComparePathWithExternalDesc for to_files during merging files 2019-05-22 14:41:21 +03:00
Grigory Smolkin
21230cbb6c Release 2.1.2 2019-05-22 13:04:19 +03:00
Arthur Zakirov
ebeebcaffa Get last valid WAL record correctly using sorted thread_args array 2019-05-20 11:28:51 +03:00
Grigory Smolkin
e1c4f8fcd0 remove noninformative elog messages in restore 2019-05-13 20:23:21 +03:00
Grigory Smolkin
f697d57c9a bugfix: do not use find_my_exec(), because it is relying on PATH, which can be unavailable. More details: https://github.com/postgrespro/pg_probackup/issues/39 2019-05-13 19:44:20 +03:00
Arthur Zakirov
0ee0226b82 Merge remote-tracking branch 'origin/master' into issue_63 2019-05-06 17:51:41 +03:00
Arthur Zakirov
7f1fb4777a Issue #63: Do not copy unnecessary files 2019-05-06 12:32:43 +03:00
Anastasia
c411a8cffd refactoring. remove unused move_file(), remove_trailing_space(), remove_not_digit() functions 2019-05-06 11:43:26 +03:00
Anastasia
109af56a50 refactoring. remove unneeded calc_file_checksum() function 2019-05-06 11:32:34 +03:00
Anastasia
14418a200f refactoring. move WAL related functions to archive.c 2019-05-06 11:27:42 +03:00
Anastasia
9dacdaad8f remove unused code related to remote backup via replication protocol, which was not implemented 2019-05-06 11:16:00 +03:00
Grigory Smolkin
f84b21ca24 Release 2.1.1 2019-05-01 18:36:15 +03:00
Grigory Smolkin
d2129fdd12 change elog level to WARNING in message about restoring backup without validation 2019-05-01 17:53:29 +03:00