Aleksandr Parfenov
29639f71d6
Fix --no-validate counting as recovery target
2018-07-05 16:47:56 +03:00
Aleksandr Parfenov
93e85cb86e
Add --no-validate option for restore command
2018-06-04 11:27:00 +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
Arthur Zakirov
ccdb4d748b
Merge branch 'pgpro-584'
2017-11-30 15:51:46 +03:00
Grigory Smolkin
be84258cd1
PGPRO-1164: fix restore without specified backup ID
2017-11-22 17:07:38 +03:00
Arthur Zakirov
a1eeef782e
PGPRO-584: Parse unit name of configuration parameters
2017-11-21 19:50:06 +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
Grigory Smolkin
f0939cf33a
cfs backup
2017-10-19 13:33:31 +03:00
Arthur Zakirov
be71f4a8f9
PGPRO-1026: Store timestamps with timezone, parse timezone from timestamp
...
from config and command line parameters
2017-10-06 11:42:08 +03:00
Anastasia
18e49a45f5
fixes for ptrack backup. code cleanup
2017-10-02 00:57:38 +03:00
Arthur Zakirov
311b7b1934
Added --log parameter, each log entry has timestamp value now
2017-07-10 10:55:40 +03:00
Arthur Zakirov
a8ea8ab5a5
Fix for 3e8ac2896d32781196e58bb59936f53b62e96ff2, improve error messages.
...
We need call fflush() for buffered IO. Without fflush() fsync() could be useless.
2017-07-06 22:59:47 +03:00
Arthur Zakirov
70ff5aaa27
fsync() backup_label, tablespace_map, recovery.conf
2017-06-27 15:41:04 +03:00
Anastasia
5e034a4acc
move sources to src/ subdir, update copyright
2017-06-20 12:37:10 +03:00