Arthur Zakirov
e949d7fe36
Show message about validation without recovery target
2017-06-15 16:39:40 +03:00
Arthur Zakirov
ac4519e33c
Fixes for validate_wal().
...
For stream backup check only WAL segments from start_lsn to stop_lsn.
If recovery target is provided check that we can restore backup to a
recoverty target time or xid.
2017-06-15 15:52:08 +03:00
Anastasia
b3aa4cf086
fix archivedir path in validate_wal
2017-06-15 15:37:19 +03:00
Anastasia
3ed0666f14
fix for previous commit
2017-06-14 20:36:11 +03:00
Anastasia
ab3b160a1a
send pg_stop_backup() asynchronously, cancel query if no answer in 300 seconds
2017-06-14 19:30:25 +03:00
Anastasia
1a9dd343d2
Merge branch 'master' of git.postgrespro.ru:pgpro-dev/pg_probackup
2017-06-14 17:04:28 +03:00
Anastasia
a930a1369a
fix show
2017-06-14 17:03:53 +03:00
Arthur Zakirov
d28b092092
Remove unnecessary elog() call
2017-06-14 16:59:04 +03:00
Arthur Zakirov
1acf0c5f6b
Free base36enc's result in validate_wal() and do_validate_instance()
2017-06-14 16:08:29 +03:00
Anastasia
126c424403
remove obsolete block of code, improve comments
2017-06-14 15:49:18 +03:00
Anastasia
70d85d14d1
add compression configuration to backup.control
2017-06-14 15:41:10 +03:00
Anastasia
5adeae5fdd
clarify usage of backup_content.control key 'is_datafile', add key 'is_cfs'
2017-06-14 15:27:16 +03:00
Anastasia
26b8051fea
correct help.c
2017-06-13 11:10:52 +03:00
Arthur Zakirov
753d9421f2
Write into .control file start_lsn and stop_lsn with upper case and without appending zeroes
2017-06-11 00:03:43 +03:00
Arthur Zakirov
84d309a688
Create log rotation file per each log file
2017-06-10 23:53:51 +03:00
Anastasia
1e6d294db0
help cleanup
2017-06-09 19:15:43 +03:00
Anastasia
555fb1da82
add check that string options are not provided with empty strings
2017-06-08 16:11:53 +03:00
Anastasia
e291e53b4a
Merge branch 'master' of git.postgrespro.ru:pgpro-dev/pg_probackup
2017-06-07 18:28:35 +03:00
Anastasia
bd681ed315
fix validate bug
2017-06-07 18:28:19 +03:00
Grigory Smolkin
b38410d9a2
tests: pgpro688 added
2017-06-07 17:52:07 +03:00
Anastasia
7affcd16e6
fix pg_free
2017-06-07 17:50:59 +03:00
Anastasia
2525daa544
Version 1.1.16. Feature freeze for release 2.0
2017-06-07 17:08:57 +03:00
Anastasia
6275b6f082
Add 'Instance' column to show output
2017-06-07 16:59:22 +03:00
Anastasia
99d031a641
Version 1.1.15
2017-06-07 16:55:24 +03:00
Anastasia
9caafbdaad
validate without options checks all backups in the backup catalog. If --instance option is provided, validate only backups of this instance
2017-06-07 16:53:55 +03:00
Anastasia
bf40f1f818
Improve backup from replica. add master connection options
2017-06-07 16:50:33 +03:00
Anastasia
57d1fa7c5e
comments cleanup
2017-06-07 16:28:22 +03:00
Anastasia
310882b539
Implement backup data compression. Add options --compress-algorithm, --compress-level
2017-06-05 12:09:07 +03:00
Anastasia
94d4986356
fix a typo in error message
2017-06-01 13:03:54 +03:00
Anastasia
c5887e72fb
check that all required parameters are passed to archive-push and archive-get
2017-06-01 11:47:55 +03:00
Anastasia
84fb036004
fix in pg_stop_backup call on backup interruption
2017-05-31 16:05:14 +03:00
Anastasia
098a91f00f
improve help, add messages about successful init and add/del-instance
2017-05-31 15:59:09 +03:00
Anastasia
7efada48b1
fix bug in catalog structure for multiple instance backup
2017-05-31 15:33:06 +03:00
Arthur Zakirov
66d3e97e26
Do non-exclusive backup for PostgreSQL 9.6+
2017-05-29 19:03:55 +03:00
Arthur Zakirov
7a294ad0c9
Use checkpoint_timeout in stop_streaming()
2017-05-29 18:58:41 +03:00
Arthur Zakirov
dd83e73918
INFO:Wait end of WAL streaming
2017-05-29 18:58:41 +03:00
Arthur Zakirov
a98eb327e1
Wait for target LSN, not only for WAL segment
2017-05-29 18:58:41 +03:00
Arthur Zakirov
aa9764d8e9
Wait checkpoint_timeout + 3s for LSN in stream mode
2017-05-29 18:58:41 +03:00
Arthur Zakirov
82ca5a0213
Wait for stop_lsn.
...
In stream mode we wait it in backuped pg_xlog directory now.
2017-05-29 18:58:41 +03:00
Arthur Zakirov
635a4a53ed
Added pgBackupGetPath2()
2017-05-29 18:58:41 +03:00
Anastasia
d10b05bd91
Version 1.1.14
2017-05-29 18:53:38 +03:00
Anastasia
4e94454544
1. Implement backup of multiple instances. Add option --instance, commands add-instance and del-instance.
...
2. Implement pg_probackup specific commands for archiving: archive-push for archive_command and archive-get for restore_command
2017-05-29 18:52:43 +03:00
Anastasia
5390887107
fix WAL validation for stream backups
2017-05-29 17:34:49 +03:00
Arthur Zakirov
a00f9f1863
--log-directory should be an absolute path
2017-05-29 16:56:11 +03:00
Arthur Zakirov
3b3180ec97
Fix logger, when an error is occured during parsing cmd options
2017-05-29 15:13:26 +03:00
Anastasia
798c447be7
fix skipping empty files in backup
2017-05-29 12:45:56 +03:00
Grigory Smolkin
035b639002
validate fix
2017-05-25 15:34:18 +03:00
Anastasia
494b978fe0
Version 1.1.13
2017-05-25 14:24:52 +03:00
Grigory Smolkin
b1e849a588
validate rework, self.cmd and self.output added
2017-05-25 12:54:06 +03:00
Arthur Zakirov
777ab09f29
Remove delete_all from delete_walfiles()
2017-05-24 14:22:51 +03:00