1
0
mirror of https://github.com/postgrespro/pg_probackup.git synced 2025-04-14 12:08:44 +02:00

61 Commits

Author SHA1 Message Date
Arthur Zakirov
ea3ed9fa17 Instead of current global backup variable use function local argument, which is sent by callers 2018-11-08 15:04:55 +03:00
Arthur Zakirov
3769efdcb2 Update copyrights and rename COPYRIGHT to LICENSE 2018-11-02 15:08:33 +03:00
Arthur Zakirov
535409291f pg_probackup.h move up 2018-10-18 15:43:30 +03:00
Arthur Zakirov
5d1f680c48 PGPRO-2073: Save only status if we dont do backup 2018-10-16 12:11:59 +03:00
Arthur Zakirov
2df3953d55 Refactoring of includes and unused code 2018-10-15 15:44:39 +03:00
Arthur Zakirov
78adfdfa3b Port to PostgreSQL 11 2018-10-09 12:52:29 +03:00
Grigory Smolkin
13fb0489b7 change elevel for 'Restored file' message to VERBOSE 2018-10-05 12:13:09 +03:00
Grigory Smolkin
d481c2e919 minor bugfix: be more accurate with dest_backup_index and base_full_backup_index calculation 2018-09-06 19:14:18 +03:00
Grigory Smolkin
cc42c5558e PGPRO-428: validation and revalidation rework based on parent_backup_link 2018-09-03 17:31:04 +03:00
Arthur Zakirov
4ebcea768c Do not include pthread.h outside of thread.h 2018-08-13 16:49:15 +03:00
Anastasia
7fe5625cfd merge master into pgpro_428_v1 2018-08-03 12:13:06 +03:00
Anastasia
9efc32f943 fix counting in dest_backup search 2018-08-03 12:11:01 +03:00
Anastasia
8f4232db34 add check 2018-08-02 17:35:48 +03:00
Anastasia
27497d54c5 Merge branch 'master' into pgpro_428_v1 2018-08-02 15:39:45 +03:00
Arthur Zakirov
4ed28cf6e5 PGPRO-1449: Add MERGE command: merge PAGE with FULL backup 2018-08-02 11:57:39 +03:00
Anastasia
e7d088c238 PGPRO-1700: Show default options in show-config
and clean up the code of the config options.
2018-08-01 16:48:37 +03:00
Anastasia
4124378d1c merge master into pgpro_428_v1 2018-07-30 16:33:58 +03:00
Anastasia
264cd18fb4 check links to parent backup in validate 2018-07-30 16:31:43 +03:00
Arthur Zakirov
9a7daf009f Merge branch 'pgpro-1643-squashed' 2018-07-27 17:56:55 +03:00
Aleksandr Parfenov
586e3366c7 Add support of recovery target LSN 2018-07-27 17:11:23 +03:00
Arthur Zakirov
ee3ce85235 PGPRO-427: Merge with master 2018-07-19 12:15:06 +03:00
Grigory Smolkin
5bed18c378 Merge branch 'master' into pgpro-1286-no-validation-restore 2018-07-18 08:41:30 +03:00
Arthur Zakirov
059d3845cb Issue #31: Times in backup.control is in UTC by default 2018-07-16 15:18:08 +03:00
Arthur Zakirov
188bb11196 Revert "Issue #31: Use UTC time to make backup ID"
This reverts commit 4877f6b5d48842e6f9ead7f42431225d451fcdef.
2018-07-16 15:02:50 +03:00
Arthur Zakirov
4877f6b5d4 Issue #31: Use UTC time to make backup ID 2018-07-16 14:22:54 +03:00
Aleksandr Parfenov
e947cac142 Change INFO message in --no-validate mode 2018-07-09 20:35:59 +07:00
Arthur Zakirov
1d5f54c5ee PGPRO-1376: Do not call dir_is_empty() twice, because readdir() may bring different ordering 2018-07-06 19:18:05 +03:00
Aleksandr Parfenov
29639f71d6 Fix --no-validate counting as recovery target 2018-07-05 16:47:56 +03:00
Arthur Zakirov
b97e9e8e29 PGPRO-427: Put in order thread arguments 2018-06-15 11:40:13 +03:00
Arthur Zakirov
1304c88ce7 Minor style fixes 2018-06-09 15:45:03 +03:00
Arthur Zakirov
03a3fb8a14 PGPRO-1646: Use int64 for write_size 2018-06-09 15:14:44 +03:00
Arthur Zakirov
74d9e43774 PGPRO-1646: Use int for write_size instead of size_t 2018-06-09 12:32:40 +03:00
Arthur Zakirov
e36daf5d1d Merge master into pg_probackup_windows 2018-06-07 19:13:11 +03:00
Aleksandr Parfenov
93e85cb86e Add --no-validate option for restore command 2018-06-04 11:27:00 +03:00
Anastasia
e71312cc03 add parent_backup_link to pgBackup structure. No usage for now 2018-05-30 20:56:01 +03:00
Grigory Smolkin
93640d2825 Remove implicit immediate restore target when none other is provided. All restore target should be explicit 2018-05-01 13:47:01 +03:00
Grigory Smolkin
5f62980cb6 Merge branch 'master' into pgpro_1053_697 2018-04-11 02:25:11 +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
Grigory Smolkin
351ce4afd7 set default recovery target to pause, minor fixes for help, tests coverage 2018-03-23 13:23:17 +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
f685305eed Merge branch 'pgpro-1504' 2018-03-17 01:41:35 +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
9cdded93ac PGPRO-1457: fix DELTA backup not copiying files created by CREATE DATABASE 2018-03-06 16:10:58 +03:00
Arthur Zakirov
615c94c37e Check --instance for VALIDATE with target parameters 2018-02-26 16:26:28 +03:00
Grigory Smolkin
0fa7217326 correct binary name for restore_command in recovery.conf 2018-02-06 22:35:54 +03:00
Arthur Zakirov
d2c9fceca0 Add base36enc() and base36enc_dup().
base36enc() - returns static text
base36enc_dup() - returns duplicated text, which should be released by a user
2017-12-20 17:57:01 +03:00
Grigory Smolkin
b6f1dd8fbe PGPRO-1248: new status ORPHAN for backup with corrupted parent 2017-12-19 12:56:03 +03:00
Arthur Zakirov
6cc75e16e1 Fix using of parse_uint64() 2017-12-01 17:38:10 +03:00