1
0
mirror of https://github.com/postgrespro/pg_probackup.git synced 2024-12-04 10:44:46 +02:00
Commit Graph

138 Commits

Author SHA1 Message Date
Arthur Zakirov
b0011282a7 Fix logging query text to a file 2017-12-20 17:59:11 +03:00
Arthur Zakirov
269812aafc PGPRO-692: archive-push/archive-get to .temp file first, then rename() 2017-12-18 12:12:34 +03:00
Grigory Smolkin
7925496e07 allow to use delete --expired --wal even without established retention policy 2017-12-15 15:20:15 +03:00
Arthur Zakirov
4457529351 Merge branch 'pgpro-1184' 2017-12-14 18:10:14 +03:00
Arthur Zakirov
c9d11c5940 PGPRO-1184: Add --overwrite option for archive-push 2017-12-14 12:36:59 +03:00
Arthur Zakirov
e330230d61 PGPRO-1184: unlink WAL file on error 2017-12-14 12:35:00 +03:00
Arthur Zakirov
c5e425995d PGPRO-692: Do not compress .history and .backup files. Improve messages. 2017-12-14 12:17:14 +03:00
Arthur Zakirov
3e06d9fedc PGPRO-692: Improve check of compress-algorithm and compress-level 2017-12-13 15:11:29 +03:00
Arthur Zakirov
fbda56902b PGPRO-692: Improve help for archive-push/archive-get 2017-12-13 13:39:49 +03:00
Grigory Smolkin
a43c951c78 PGPRO-1226: disable archiving_enable check 2017-12-13 11:15:55 +03:00
Arthur Zakirov
7b0d214c0b PGPRO-692: Compress/Decompress WAL files during archive-push/archive-get 2017-12-12 15:07:13 +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
Arthur Zakirov
a528352919 Merge branch 'master' of github.com:postgrespro/pg_probackup 2017-12-11 14:06:47 +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
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
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
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