Grigory Smolkin
30cf45816d
check backup version before backup validation, throw an error if backup version > binary version
2018-12-12 00:29:20 +03:00
Konstantin Knizhnik
2247716b68
Fix agent version check
2018-12-11 14:27:10 +03:00
Arthur Zakirov
eed5987406
Remove BOM marker from configuration.c
2018-12-11 12:47:21 +03:00
Arthur Zakirov
385f979fe7
Make compiler happy again
2018-12-11 12:27:36 +03:00
Konstantin Knizhnik
e97fd44643
Fix passing prgram version to agent
2018-12-10 19:40:36 +03:00
Arthur Zakirov
eead6b6307
Free unnecessary file object
2018-12-10 19:01:00 +03:00
Grigory Smolkin
9ac30ada54
bugfix: correctly log cmdline to logfile
2018-12-10 18:54:35 +03:00
Arthur Zakirov
dd18928e19
Make compiler happy
2018-12-10 18:02:22 +03:00
Arthur Zakirov
c1903db22b
Fix format warnings
2018-12-10 16:19:51 +03:00
Grigory Smolkin
b455420a18
tests: more merge tests added
2018-12-07 23:39:39 +03:00
Arthur Zakirov
2837399e6b
Fix MERGE of compressed and uncompressed backups
2018-12-07 17:24:21 +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
Konstantin Knizhnik
1b58ec8c5c
Fix variable transfer
2018-12-07 11:07:00 +03:00
Grigory Smolkin
59ab21e5c2
tests: test_merge_compressed_backups_1 added
2018-12-07 09:43:38 +03:00
Arthur Zakirov
34c05740b0
Restore to_backup sizes after copying metadata from from_backup
2018-12-06 19:41:10 +03:00
Grigory Smolkin
8b1b53bc3b
tests: test_merge_compressed_and_uncompressed_backups added
2018-12-06 19:07:56 +03:00
Konstantin Knizhnik
e753643b8d
Add error message in case of invalid compression algorithm
2018-12-06 19:00:08 +03:00
Konstantin Knizhnik
1bf9fce684
Change way of transfering variables between agent and server
2018-12-06 17:05:37 +03:00
Arthur Zakirov
4ac0fab61b
Show progress messages with INFO verbose level
2018-12-06 16:03:29 +03:00
Konstantin Knizhnik
747bca7a6d
Clear O_EXCL flag for remote backup
2018-12-05 19:45:23 +03:00
Konstantin Knizhnik
4ca180dfa0
Add --remote-path option
2018-12-04 18:04:44 +03:00
Konstantin Knizhnik
b4275a6f4f
Remote read of config file
2018-12-04 17:24:11 +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
Grigory Smolkin
4155171b19
update README.md about PG11 support
2018-11-30 09:19:32 +03:00
Konstantin Knizhnik
bb760c38c6
Merge with maste
2018-11-29 19:58:40 +03:00
Grigory Smolkin
c14c5a58c5
Version 2.0.25
...
- Bugfix: changing log-level-file and log-level-console via set-config now works correctly
- Bugfix: WAL files crc comparison done by archive-push is now works correctly, previously it`s was always giving mismatch
- Impromevent: PG_STOP_BACKUP_TIMEOUT now governed by archive-timeout option
- Impromevent: CRC-32c now used to calculate crc for data and WAL files, previously a slower CRC-32 was used
- Impromevent: cold replica can be backuped without false-positive WAL timeouts
- Impromevent: for PG >= 10 pg_stop_backup now called without wait_for_archive flag
- Impromevent: minor fixes for Windows build
2.0.25
2018-11-28 21:32:54 +03:00
Grigory Smolkin
82101e032a
tests: minor fixes
2018-11-28 21:19:10 +03:00
Arthur Zakirov
b4e707b4d1
Merge branch 'master' into pgpro-2071
2018-11-28 12:41:14 +03:00
Arthur Zakirov
59da24d59c
Replace PG_STOP_BACKUP_TIMEOUT by archive-timeout
2018-11-27 17:31:35 +03:00
Konstantin Knizhnik
c64fd5a43e
Add -ssh-options option
2018-11-27 11:19:49 +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
640d1c9df4
Make compiler happy
2018-11-25 00:47:00 +03:00
Grigory Smolkin
b52ee32440
tests: minor fixes
2018-11-24 22:57:27 +03:00
Arthur Zakirov
0e5cc88062
Merge branch 'master' into pgpro-2071
2018-11-23 19:07:19 +03:00
Grigory Smolkin
57ca17ad6c
bugfix: use CRC32C for crc comparison during archive-push if target WAL segment is compressed
2018-11-23 18:40:21 +03:00
Grigory Smolkin
7e2fccd041
bugfix: use CRC32 for crc comparison during archive-push if target WAL segment is compressed
2018-11-23 18:16:49 +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
bdf2539887
Improve log message within SimpleXLogPageRead
2018-11-23 12:41:42 +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
Konstantin Knizhnik
50cb6f7893
Merge branch 'remote_ssh' of git.postgrespro.ru:pgpro-dev/pg_probackup into remote_ssh
2018-11-20 16:10:25 +03:00
Konstantin Knizhnik
ddf2b9b4b3
Rename ssh options
2018-11-20 16:10:18 +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