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

332 Commits

Author SHA1 Message Date
Grigory Smolkin
6b4a793d27 Merge branch 'master' into PGPRO-421 2019-01-15 16:48:52 +03:00
Konstantin Knizhnik
fa146f5da0 Merge with master 2019-01-11 19:08:39 +03:00
Sergey Cherkashin
cf3eaed51a Value 'none' of parameter 'extra-directory' in pg_probackup.conf
is case insensitive now
2019-01-10 16:04:31 +03:00
Sergey Cherkashin
9463b57990 Add parameter 'extra-directory' to pg_probackup.conf.
Minor improvements.
2018-12-27 18:47:15 +03:00
Grigory Smolkin
02860600d9 bugfix: elog fact of copying file after locking it, not before 2018-12-25 16:44:37 +03:00
Sergey Cherkashin
da20711987 Remove 'extradir' field from backup_content.control 2018-12-20 17:58:44 +03:00
Arthur Zakirov
d557b40f43 PGPRO-1918: Remove instance-level lock, introduce backup-level lock 2018-12-18 10:49:14 +03:00
Anastasia
b99097a71b pgpro-2065. fix cycle in do_amcheck, remove unused variables and debug messages. TODO: code cleanup, fix exit statuses for threads 2018-12-17 16:03:58 +03:00
Anastasia
ac2236cc3d pgpro-2065. WIP. refactor code, add snapshot to amcheck. TODO fix eternal cycle in do_amchecl 2018-12-14 20:59:47 +03:00
Sergey Cherkashin
2220b49d6d Fix merge of extradirectories. Minor improvements. 2018-12-13 21:02:27 +03:00
Anastasia
5b2cae5e81 pgpro-2065. filter global indexes 2018-12-13 16:20:51 +03:00
Anastasia
65e0ff9565 pgpro-2065. refactor the code, add option --block-validation аfor checkdb command 2018-12-13 14:14:59 +03:00
Anastasia
ffd4b2f5cf pgpro-2065. WIP. fix amcheck return status, call amcheck function using correct schema name 2018-12-12 18:19:04 +03:00
Grigory Smolkin
7aa81561b2 fix tabulation offset 2018-12-11 17:32:24 +03:00
Grigory Smolkin
4acced609d add warning if waiting for START LSN during ARCHIVE backup is exceeding 30 seconds 2018-12-11 17:32:24 +03:00
Arthur Zakirov
a1de4a00d2 Merge branch 'master' into PGPRO-421 2018-12-10 15:27:03 +03:00
Konstantin Knizhnik
fd8657f1cf Add agent version check 2018-12-07 16:25:13 +03:00
Konstantin Knizhnik
22c7600975 Support remote readdir 2018-12-07 14:27:25 +03:00
Konstantin Knizhnik
f3c62d6714 Fix remote backup validate 2018-12-07 11:48:03 +03:00
Sergey Cherkashin
c493d6f900 Add merge backups with extra directories 2018-12-06 18:31:03 +03:00
Konstantin Knizhnik
1bf9fce684 Change way of transfering variables between agent and server 2018-12-06 17:05:37 +03:00
Anastasia
0eab1f6c13 PGPRO-2065 checkdb --amcheck. Draft version 2018-12-03 22:04:40 +03:00
Sergey Cherkashin
3843f58933 Restore extra directories listed only in last backup 2018-12-03 20:07:59 +03:00
Grigory Smolkin
529173287f fix tabulation offset 2018-12-03 13:41:39 +03:00
Grigory Smolkin
a039fd14aa add warning if waiting for START LSN during ARCHIVE backup is exceeding 30 seconds 2018-12-03 13:38:45 +03:00
Anastasia
a9fd90a831 PGPRO-2065 checkdb. Draft version 2018-12-03 11:31:10 +03:00
Anastasia
2a62342e8b WIP checkdb command 2018-11-30 18:24:14 +03:00
Konstantin Knizhnik
bb760c38c6 Merge with maste 2018-11-29 19:58:40 +03:00
Sergey Cherkashin
f41df91171 Skip backup file if it has not changed since the last backup 2018-11-28 16:15:35 +03:00
Arthur Zakirov
b4e707b4d1 Merge branch 'master' into pgpro-2071 2018-11-28 12:41:14 +03:00
Sergey Cherkashin
4bb9b775bf Remove flag is_extra, use extra_dir_num instead 2018-11-27 17:57:43 +03:00
Arthur Zakirov
59da24d59c Replace PG_STOP_BACKUP_TIMEOUT by archive-timeout 2018-11-27 17:31:35 +03:00
Sergey Cherkashin
863486be7e Remove the limit on the number of extra directories.
Save extra directories separately to eliminate name collisions.
2018-11-27 16: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
Arthur Zakirov
990d67a49e Use *_FILE_CRC32 macroses instead of *_TRADITIONAL_CRC32 2018-11-25 01:09:26 +03:00
Arthur Zakirov
0e5cc88062 Merge branch 'master' into pgpro-2071 2018-11-23 19:07:19 +03:00
Arthur Zakirov
bb3c0645aa PGPRO-2180: Use archive_timeout only, do not use checkpoint_timeout 2018-11-23 15:08:04 +03:00
Arthur Zakirov
7532cb36d1 PGPRO-2180: Reasonable time 2018-11-23 13:20:16 +03:00
Arthur Zakirov
06b1dbe6f1 PGPRO-2180: Rewrite stop_lsn during pg_stop_backup 2018-11-23 12:03:29 +03:00
Arthur Zakirov
aab0ce3615 PGPRO-2180: Fix stop_streaming(), read recovery info using valid stop LSN 2018-11-22 14:44:57 +03:00
Arthur Zakirov
b4672e3ac8 PGPRO-2180: In pg_stop_backup for replica wait for LSN of prior record 2018-11-21 18:30:03 +03:00
Arthur Zakirov
6ea7c61c33 PGPRO-2180: Retreive stop_lsn from previous WAL segment 2018-11-20 16:33:36 +03:00
Arthur Zakirov
bbac29a29c PGPRO-2071: Use local dbname to connect to a server to get ptrack pagemap 2018-11-19 17:08:56 +03:00
Grigory Smolkin
d84d79668b disable wait for archive in pg_stop_backup 2018-11-16 09:39:32 +03:00
Konstantin Knizhnik
75b181c039 Merge with master 2018-11-15 18:37:13 +03:00
Arthur Zakirov
eb15c16967 Merge branch 'master' into pgpro-2071 2018-11-15 15:22:42 +03:00
Arthur Zakirov
d04d314eba Keep compiler quite 2018-11-15 11:46:42 +03:00
Sergey Cherkashin
07c7c14df6 Merge branch 'master' into PGPRO-421 2018-11-13 13:40:23 +03:00
Victor Spirin
0a510f7211 Some fixes for windows build 2018-11-13 13:11:26 +03:00
Arthur Zakirov
1e9615f567 Use InvalidXLogRecPtr to mark infinite end, a couple code cleanup 2018-11-12 15:44:22 +03:00