Sergey Cherkashin
4a6f8c515e
Cleanup
2018-12-25 03:11:34 +03:00
Sergey Cherkashin
7213106cfc
Add '--extra-directory' and '-E' options to help.c
2018-12-25 02:43:17 +03:00
Sergey Cherkashin
91c4572bbd
Add extra directories remapping on restore
2018-12-25 02:42:55 +03:00
Sergey Cherkashin
da20711987
Remove 'extradir' field from backup_content.control
2018-12-20 17:58:44 +03:00
Sergey Cherkashin
d59d7e74bc
Merge branch 'master' into PGPRO-421
2018-12-17 20:12:36 +03:00
Arthur Zakirov
53cb7c1dd4
Fix removing files which are not in from_backup file list
2018-12-14 18:41:23 +03:00
Grigory Smolkin
13c4df812e
bugfix: undeclared compress_alg
2018-12-14 16:55:32 +03:00
Sergey Cherkashin
2220b49d6d
Fix merge of extradirectories. Minor improvements.
2018-12-13 21:02:27 +03:00
Arthur Zakirov
eec11c074c
Fix comment in main()
2018-12-13 17:11:45 +03:00
Grigory Smolkin
e16bdc6660
tests: add some comments
2018-12-13 13:21:57 +03:00
Grigory Smolkin
a5cef98908
tests: test_merge_tablespaces and test_merge_tablespaces_1 added
2018-12-13 11:45:04 +03:00
Grigory Smolkin
eef5769ffd
tests: pgdata_compare now detect missing or redundant directories
2018-12-13 10:20:49 +03:00
Grigory Smolkin
9484b6de27
tests: test_page_create_db added
2018-12-12 20:32:42 +03:00
Arthur Zakirov
5ad509a40e
Fix comment introduced in 0b05cf0343
2018-12-12 17:52:01 +03:00
Arthur Zakirov
0b05cf0343
Improve comment within on_interrupt()
2018-12-12 17:27:31 +03:00
Arthur Zakirov
23d1a26e02
Fix MERGE of uncompressed with compressed backups
2018-12-12 15:10:25 +03:00
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
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
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
Arthur Zakirov
a1de4a00d2
Merge branch 'master' into PGPRO-421
2018-12-10 15:27:03 +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
Sergey Cherkashin
53726536ef
Move extra directories in one folder "extra_directories"
2018-12-07 13:34:57 +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
Sergey Cherkashin
c493d6f900
Add merge backups with extra directories
2018-12-06 18:31:03 +03:00
Arthur Zakirov
4ac0fab61b
Show progress messages with INFO verbose level
2018-12-06 16:03:29 +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
Grigory Smolkin
4155171b19
update README.md about PG11 support
2018-11-30 09:19:32 +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
2018-11-28 21:32:54 +03:00
Grigory Smolkin
82101e032a
tests: minor fixes
2018-11-28 21:19:10 +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
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