1
0
mirror of https://github.com/postgrespro/pg_probackup.git synced 2025-01-10 23:29:34 +02:00
Commit Graph

332 Commits

Author SHA1 Message Date
Grigory Smolkin
ea2a4c2be3 bugfix: stream_stop_timeout was always initialized to 0 2019-08-02 12:00:10 +03:00
Grigory Smolkin
0309dd7a20 minor bugfix: initialize backup.control before libpq connection, so errors are logged and failed backup gain ERROR status 2019-07-29 00:55:53 +03:00
Grigory Smolkin
db73f84057 [Issue #101] Multiple spelling fixes. Reported by Alexander Lakhin 2019-07-23 20:11:11 +03:00
Grigory Smolkin
884da1cec7 comments minor changes 2019-07-18 15:44:20 +03:00
Grigory Smolkin
14514a4815 minor improvement: be more paranoid about system ID mismatch when streaming or reading WAL files. Replace RunIdentifySystem() with IdentifySystem() for logging purposes 2019-07-15 19:39:12 +03:00
Grigory Smolkin
0515c2b4dd minor improvement: NodeInfo is now separate variable and not the element of pgBackup structure 2019-07-15 19:20:39 +03:00
Grigory Smolkin
a466eea901 minor bugfix: in asynchronous execution of pg_stop_backup() was small risk of ignoring server side error. Reported by Alex Ignatov alexign@ozon.ru 2019-07-15 15:11:11 +03:00
Grigory Smolkin
fd91652576 [Issue #92] Improvements pointed out by review 2019-07-06 04:00:45 +03:00
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
3b7fb5d4ed minor bugfix: close ssh connection when it is not needed 2019-07-02 20:04:04 +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
Anastasia
19c30a8997 code cleanup: remove unneeded backuped variable 2019-06-14 11:58:33 +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
7ef294501a write only completed files to backup_content_control of running backup 2019-06-11 12:58:50 +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
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
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
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
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
109af56a50 refactoring. remove unneeded calc_file_checksum() function 2019-05-06 11:32:34 +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
c509ae42b9 backup: sanity check that external directories do not overlap 2019-05-01 16:55:48 +03:00
Grigory Smolkin
7d30e5b33f minor bugfix: ensure that tablespace directories are canonicalized 2019-04-29 22:45:44 +03:00
Arthur Zakirov
6974eb8958 Remove external directories files from previous backups 2019-04-26 17:37:38 +03:00
Arthur Zakirov
32d283f712 Check for existance of an external directory 2019-04-26 11:33:34 +03:00
Arthur Zakirov
d46179c682 Update copyrights 2019-04-25 15:47:24 +03:00
Grigory Smolkin
56a909da0c checkdb: fix index query and logging error condition 2019-04-19 01:50:45 +03:00
Grigory Smolkin
d5b0747288 checkdb: fix disconnection after successfull checkdb execution 2019-04-18 19:40:35 +03:00
Grigory Smolkin
cf20e9f3ba checkdb: minor fixes 2019-04-18 19:23:44 +03:00
Anastasia
c00bd3cd77 code and comments cleanup 2019-04-18 16:12:57 +03:00
Anastasia
ce29d91957 Merge master into pgpro-2065. Resolve conflicts.
TODO: review compatibility of checkdb and remote backup
2019-04-16 16:33:03 +03:00
Arthur Zakirov
c440ab0f45 Merge remote-tracking branch 'origin/remote_pull' 2019-04-16 13:24:02 +03:00
Grigory Smolkin
bbd4e810af Merge branch 'master' into issue_52 2019-04-15 22:04:56 +03:00
Grigory Smolkin
f393133d5a checkdb: minor changes to error messages in do_amcheck() 2019-04-15 20:32:58 +03:00
Grigory Smolkin
abd4ed01bf checkdb: for amcheck only mode do compare system ID, because all work is done by server 2019-04-13 23:31:19 +03:00
Grigory Smolkin
367f885a9b checkdb: error at the end of do_amcheck if execution was interrupted 2019-04-13 23:17:49 +03:00
Grigory Smolkin
c290624765 remove is_checksum_enabled variable 2019-04-13 22:50:39 +03:00
Grigory Smolkin
2e639a81fe checkdb: close initial connection, skipped db in amcheck now counts as fatal error 2019-04-13 22:33:04 +03:00
Grigory Smolkin
e5e16320fd checkdb: minor fixes, point out by a.lubennikova@postgrespro.ru 2019-04-13 21:27:22 +03:00
Anastasia
df8fe86d6d code cleanup 2019-04-12 18:41:33 +03:00
Anastasia
1d5b9e469d Merge branch 'master' into pgpro-2065 2019-04-12 16:03:18 +03:00
Grigory Smolkin
4193766317 Merge branch 'master' into remote_pull 2019-04-12 14:05:27 +03:00
Grigory Smolkin
6d8bad7293 bugfix: explicitly forbid incremental backing up instance from the past 2019-04-11 19:14:33 +03:00
Grigory Smolkin
77bb25410c Issue 52: --no-validate flag for 'backup' command, also allow DONE backup to be a parent of incremental backup 2019-04-08 23:10:15 +03:00