1
0
mirror of https://github.com/postgrespro/pg_probackup.git synced 2024-12-03 09:59:53 +02:00
Commit Graph

722 Commits

Author SHA1 Message Date
Grigory Smolkin
c6c8d93945 test: archive compression small fix 2017-12-14 00:39:19 +03:00
Grigory Smolkin
17c1b317ca tests: archive compression 2017-12-14 00:29:39 +03:00
Grigory Smolkin
a43c951c78 PGPRO-1226: disable archiving_enable check 2017-12-13 11:15:55 +03:00
Grigory Smolkin
277e4101d8 tests: fixes 2017-12-13 11:15:42 +03:00
Arthur Zakirov
39519f74c7 Merge branch 'master' of git.postgrespro.ru:pgpro-dev/pg_probackup 2017-12-11 16:07:44 +03:00
Arthur Zakirov
596ac3a37b Issue #20. Check system_identifier for PostgreSQL9.5.
System identifier is fetched via pg_read_binary_file() for Pg 9.5.
2017-12-11 15:44:54 +03:00
s.logvinenko
6174a863ce fix auth_test for testgres 0.4.0 2017-12-11 15:31:16 +03:00
Arthur Zakirov
a528352919 Merge branch 'master' of github.com:postgrespro/pg_probackup 2017-12-11 14:06:47 +03:00
Arthur
45be8b5d7b
Merge pull request #21 from rtau-t24/master
Skip system_identifier check on PostgreSQL 9.5
2017-12-11 13:59:51 +03:00
Raymond Tau
ee2b1a9c88 Add comment for check_system_identifiers
On the empty if case for skipping check before PG 9.6
2017-12-11 18:41:02 +08:00
Raymond Tau
67d17b5e73 Merge branch 'pg-9.5' 2017-12-11 18:34:53 +08:00
Raymond Tau
8192f0e58d Make pg_probackup works again on PostgreSQL 9.5
Function pg_control_system is added in 9.6, which makes check on
9.5 fails all the time. Added logic to bypass that checking of
system identifier between data directory DB connection unless
DB version is >= 9.6
2017-12-11 18:25:39 +08:00
Grigory Smolkin
4efa7ab330 add message about Recovery Time 2017-12-08 16:53:00 +03:00
Grigory Smolkin
bdb47b744f minor changes to elevel of certain messages 2017-12-08 16:24:35 +03:00
Grigory Smolkin
61d57b63db ptrack minor optimization 2017-12-08 16:22:06 +03:00
Grigory Smolkin
dc6b127a25 tests: check that pg_probackup behave correctly when encountering page corruption in PostgreSQL 2017-12-08 16:11:21 +03:00
Arthur Zakirov
3fcdae09bd PGPRO-1205: Show PostgreSQL version via --version argument 2017-12-06 19:00:00 +03:00
Arthur Zakirov
a046e5f016 PGPRO-584: Remove old -l argument from help 2017-12-06 18:02:20 +03:00
s.logvinenko
edc1b31ffd Add auth_test. Test pg_probackup with user authentification. 2017-12-04 17:42:18 +03:00
Arthur Zakirov
dd6a1f496c Fix help of init command 2017-12-04 14:29:50 +03:00
Arthur Zakirov
6cc75e16e1 Fix using of parse_uint64() 2017-12-01 17:38:10 +03:00
Arthur Zakirov
c68086a30e Revert "Replace simple_prompt() by pgut_simple()."
This reverts commit 06aee9cbf6.
2017-12-01 17:37:29 +03:00
Arthur Zakirov
ccdb4d748b Merge branch 'pgpro-584' 2017-11-30 15:51:46 +03:00
Arthur Zakirov
3f0efe4c8f Use pg_stat_file() with pg_read_file() 2017-11-30 15:49:48 +03:00
Grigory Smolkin
b4c56bf21c Version 2.0.13
- Do not include not changed relations into the PAGE backup
    - Correct procedure of obtaining backup_label and tablespace_map via SQL for exclusive backups
    - Do PTRACK backups only for ptrack_version >= 1.4
2017-11-30 14:56:59 +03:00
Grigory Smolkin
b269c84238 tests: new module "exclude.py" and minor fixes 2017-11-30 09:14:46 +03:00
Grigory Smolkin
b16dd21617 PGPRO-1189: fix for exclusive mode for backup from replica 2017-11-29 23:03:12 +03:00
Grigory Smolkin
d09413199a spelling fix 2017-11-29 13:08:42 +03:00
Grigory Smolkin
a7bc86211c PGPRO-1189: for exclusive backups get backup_label and tablespace_map via SQL 2017-11-29 12:51:43 +03:00
Grigory Smolkin
fac4250770 fix PAGE backup copying not changed files 2017-11-27 21:51:45 +03:00
Anastasia
b5a70fcfd9 check if ptrack_version == 1.4 2017-11-24 14:26:23 +03:00
Anastasia
fae522df4a Version 2.0.12
- Do not include unlogged relations into the backup.
- Use exclusive backup for PTRACK backups.
- Do not throw an error if the file was truncated during backup.
2017-11-23 11:28:04 +03:00
Arthur Zakirov
d9a2038575 PGPRO-584: Save and load unit name for replica-timeout 2017-11-22 19:21:30 +03:00
Arthur Zakirov
78b510e82a PGPRO-584: Save unit name within configuration file 2017-11-22 19:15:05 +03:00
Grigory Smolkin
be84258cd1 PGPRO-1164: fix restore without specified backup ID 2017-11-22 17:07:38 +03:00
Grigory Smolkin
5534b107a0 minor changes to log messages 2017-11-22 17:04:46 +03:00
Arthur Zakirov
a1eeef782e PGPRO-584: Parse unit name of configuration parameters 2017-11-21 19:50:06 +03:00
Arthur Zakirov
d153c26104 PGPRO-1159: Try reread partly read block 2017-11-21 17:26:34 +03:00
Arthur Zakirov
6878de124a PGPRO-1159: Do not throw an error if file was truncated 2017-11-21 17:26:34 +03:00
Arthur Zakirov
a00fdafcec Use exclusive backup for PTRACK backups 2017-11-21 15:51:45 +03:00
Arthur Zakirov
1b9c8c943d PGPRO-584: Add additional message for log file.
Message is added only during backup.
2017-11-15 19:21:30 +03:00
Arthur Zakirov
06aee9cbf6 Replace simple_prompt() by pgut_simple().
Properly handle Ctrl+C.
2017-11-15 15:27:48 +03:00
Arthur Zakirov
469e8f09dd PGPRO-584: Fix logging options
Replace --log-level by --log-level-console and --log-level-file
2017-11-14 17:34:36 +03:00
Anastasia
e85e45938c Do not backup files of the unlogged relations (only leave _init fork) 2017-11-13 18:52:09 +03:00
Arthur Zakirov
14e51105d4 Call on_cleanup() within on_interrupt() to correctly handle simple_prompt() interrupt 2017-11-13 12:45:42 +03:00
Grigory Smolkin
be5129dce9 fix password promt for pgut_connect_replication_extended 2017-11-10 18:45:51 +03:00
Anastasia
082612b528 Version 2.0.11.
- Fix password prompt interruption
- Check if the password provided by a user is empty
- Fix incremental backups: do not include into backup files, that didn't changed since previous backup.
- Add PG version into backup meta infromation
2017-11-10 17:40:30 +03:00
Anastasia
a40d0e3702 code cleanup for 22cb8c60aa 2017-11-10 14:13:44 +03:00
Arthur Zakirov
8f8e0ef1be PGPRO-1059: Do not save empty server_version 2017-11-10 12:01:37 +03:00
Arthur Zakirov
d603694b81 PGPRO-1059: Add PG version into show output, save server_version in backup.control 2017-11-09 19:14:39 +03:00