1
0
mirror of https://github.com/postgrespro/pg_probackup.git synced 2024-12-05 11:00:22 +02:00
Commit Graph

224 Commits

Author SHA1 Message Date
Grigory Smolkin
5f62980cb6 Merge branch 'master' into pgpro_1053_697 2018-04-11 02:25:11 +03:00
Arthur Zakirov
45988aae68 Make replication connection outside StreamLog() 2018-04-10 19:02:00 +03:00
Arthur Zakirov
ad083f827b PGPRO-1311: Fix for PostgreSQL 9.6 2018-04-09 00:10:52 +03:00
Arthur Zakirov
2e436111ec PGPRO-1311: Do not call exit() for thread, use pthread_exit() instead 2018-04-05 18:58:40 +03:00
Arthur Zakirov
f25ae416a7 Remove Assert() in StreamLog() 2018-04-05 14:09:37 +03:00
Arthur Zakirov
055daf7a35 Show finished streaming WAL message correctly 2018-04-04 17:06:50 +03:00
Arthur Zakirov
834d64b30c Fix wrong message for finished segment, add finished streaming message 2018-04-04 12:40:35 +03:00
Grigory Smolkin
85adfcb9aa bugfix: initialize log_file_level after reading config, not before 2018-04-03 22:10:10 +03:00
Grigory Smolkin
c90210910b minor fixes and changes to elog messages 2018-03-26 19:50:49 +03:00
Grigory Smolkin
351ce4afd7 set default recovery target to pause, minor fixes for help, tests coverage 2018-03-23 13:23:17 +03:00
Arthur Zakirov
73eb5f266f Make compiler happy 2018-03-20 17:09:57 +03:00
Anastasia
c8147f7289 Add more recovery options for restore/validate:
--immediate - end recovery as soon as a consistent state is reached;
--recovery-target-name=target-name -
set the named restore point to which recovery will proceed;
--recovery-target-action=pause|promote|shutdown -
set the action the server should take once the recovery target is reached.

Add restore option -R (--write-recovery-conf) -
write a minimal recovery.conf in the output directory,
to ease setting up a standby server.
2018-03-20 15:49:43 +03:00
Grigory Smolkin
bea0f8ef63 Github Issue 24: check PQresultStatus for pg_stop_backup() 2018-03-19 20:51:01 +03:00
Grigory Smolkin
f685305eed Merge branch 'pgpro-1504' 2018-03-17 01:41:35 +03:00
Grigory Smolkin
541195b597 fix PGPRO-1507: null-sized files were not copied to backup 2018-03-16 11:53:43 +03:00
Grigory Smolkin
f960c67db4 PGPRO-1504: minor changes to comments 2018-03-15 13:43:11 +03:00
Grigory Smolkin
32b5017d38 PGPRO-1504: during validation attemp to revalidate CORRUPT and ORPHAN backups 2018-03-15 13:34:51 +03:00
Grigory Smolkin
83d2fb3061 PGPRO-1457: minor changes proposed by Arthur Zakirov 2018-03-14 18:36:31 +03:00
Grigory Smolkin
14e1ae264b Merge remote-tracking branch 'origin/master' into pgpro-1457 2018-03-06 16:17:13 +03:00
Grigory Smolkin
9cdded93ac PGPRO-1457: fix DELTA backup not copiying files created by CREATE DATABASE 2018-03-06 16:10:58 +03:00
Anastasia
76afcee125 Version 2.0.16
- Fix CVE-2018-1058. Use schema name explicitly in all function calls.
- Fix: Handle datafiles in directory global as datafiles.
- Fix: Do not copy ptrack files from directory global to backup anymore.
- Check if --instance is specified for VALIDATE with target parameters
- Adjust README package installation instruction.
2018-03-02 19:26:37 +03:00
Anastasia
8b5e2cd713 Fix CVE-2018-1058. Use schema name explicitly in all function calls. 2018-03-02 19:20:40 +03:00
Grigory Smolkin
9fd5a22506 bugfix: datafiles in directory global were not handled as datafiles, also _ptrack files in directory global were copied to backup 2018-03-01 22:24:21 +03:00
Arthur Zakirov
8977e0e3df Use stream_wal instead of current.stream 2018-02-27 18:39:07 +03:00
Grigory Smolkin
70d7e463bb PGPRO-1457: backup mode DELTA 2018-02-26 17:53:29 +03:00
Arthur Zakirov
615c94c37e Check --instance for VALIDATE with target parameters 2018-02-26 16:26:28 +03:00
Arthur Zakirov
025dc07988 Revert "Check --instance for VALIDATE"
This reverts commit a98bc4e840.
2018-02-26 16:24:21 +03:00
Arthur Zakirov
604e867bd1 Fix parse_time(): it is possible TZ may be zero 2018-02-13 12:26:07 +03:00
Arthur Zakirov
a98bc4e840 Check --instance for VALIDATE 2018-02-12 19:50:43 +03:00
Arthur Zakirov
126db4a202 Make compiler happy 2018-02-12 18:39:50 +03:00
Arthur Zakirov
0985222c3c Show command line for BACKUP, RESTORE, VALIDATE, DELETE 2018-02-12 18:35:35 +03:00
Arthur Zakirov
8787a061e6 Fix check_server_version() for Pg10+ 2018-02-09 13:22:01 +03:00
Grigory Smolkin
492c691d07 derive server_version_string from server_version_num, because server_version can be changed at compile time by --with-extra-version 2018-02-09 00:25:02 +03:00
Grigory Smolkin
f9e36ee01e Version 2.0.15
- fix infinite loop in page validation
- fix segfault in parallel ptrack connections
- allow to use delete-wal option wihtout delete-expired(in accordance with documentation)
- allow to use pg_ptrack_get_block if it`s available and page is invalid
- help update
- testgres 1.3 support
- pglz is not thread-safe, do not allow multithread backup with pglz compression
- multiple minor fixes
2018-02-07 07:12:37 +03:00
Grigory Smolkin
0fa7217326 correct binary name for restore_command in recovery.conf 2018-02-06 22:35:54 +03:00
Grigory Smolkin
43e18cafc9 revert to getting backup_label and tablespace_map as files; pg_read_file superuser only 2018-02-06 22:15:41 +03:00
Grigory Smolkin
ec8462293e additional LOG-level messages, checksumm check 2018-02-06 20:37:45 +03:00
Anastasia
7eeb7a110b Fix directory check. Now pg_probackup init uses postgresql cross platform function pg_check_dir to ensure that backup catalog is empty 2018-02-02 21:02:18 +03:00
Anna
fa35f2e09c Added a NULL check after strdup() in backup.c 2018-02-02 17:52:13 +03:00
Arthur Zakirov
4c670a0be7 Do not allow multithread backup with pglz compression 2018-01-30 18:07:11 +03:00
Arthur Zakirov
07366183c4 Properly check that pglz is not supported 2018-01-30 16:09:24 +03:00
Arthur Zakirov
c1f668114e Revert "Properly check that pglz is not supported"
This reverts commit 3f272f2ed4.
2018-01-30 16:06:08 +03:00
Arthur Zakirov
3f272f2ed4 Properly check that pglz is not supported 2018-01-30 14:42:51 +03:00
Grigory Smolkin
8bea94b41e small fix for do_retention_purge 2018-01-24 05:09:36 +03:00
Grigory Smolkin
8529276c11 minor changes to elevel and comments 2018-01-24 05:00:49 +03:00
Grigory Smolkin
99d0e6e68a added user-friendly KB unit 2018-01-24 04:58:54 +03:00
Grigory Smolkin
5466ab6b99 bugfix for log_rotation_age which used OPTION_UNIT_S instead of OPTION_UNIT_MIN 2018-01-24 04:57:07 +03:00
Grigory Smolkin
0a87d49840 minor fix to do_retention_purge 2018-01-24 04:50:32 +03:00
Grigory Smolkin
a53c4c181d backup: allow to use delete-wal without delete-expired(in accordance with documentation) 2018-01-24 04:37:47 +03:00
Grigory Smolkin
5ac16cd2c1 help actualization 2018-01-24 04:29:22 +03:00