Commit Graph
100 Commits
Author SHA1 Message Date
Anastasia fe5a5fb444 refactoring to read block via SQL for ptrack backups 2017-12-27 15:31:15 +03:00
Anastasia 114a575a52 Merge branch 'master' into fix_ptrack_1230 2017-12-22 14:46:32 +03:00
Anastasia e0b3e89dd1 read block via pg_ptrack_read_block() for every page in ptrack backups and every invalid page in other backup modes 2017-12-14 17:46:30 +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
Anastasia e85e45938c Do not backup files of the unlogged relations (only leave _init fork) 2017-11-13 18:52:09 +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
Anastasia 3a1d5c430f Version 2.0.10 2017-10-30 15:02:56 +03:00
Anastasia 7a0cc9a2da Merge branch 'master' of git.postgrespro.ru:pgpro-dev/pg_probackup 2017-10-10 19:11:13 +03:00
Anastasia 27a90e847d Version 2.0.8. Stable 2017-10-10 19:10:59 +03:00
Anastasia dcf516cdbd check if ptrack_version == 1.3 2017-10-10 19:10:03 +03:00
Anastasia 9813471e7b Version 2.0.6 2017-10-04 12:24:53 +03:00
Anastasia c237774d4d exclude pg_internal.init from backup 2017-10-03 19:19:38 +03:00
Anastasia 25b7a706ba small fixes 2017-10-03 17:57:48 +03:00
Anastasia 990ab6050d Version 2.0.5 2017-10-03 15:57:15 +03:00
Anastasia fd2019b85a fix incorrect pg_ptrack_clean() call 2017-10-02 21:05:24 +03:00
Anastasia 315cf3bc92 Read value from ptrack_control via function call. Code cleanup 2017-10-02 18:31:46 +03:00
Anastasia 18e49a45f5 fixes for ptrack backup. code cleanup 2017-10-02 00:57:38 +03:00
Anastasia a8f2b432ce fix template0 backup. Always copy all files of this database 2017-10-01 18:28:39 +03:00
Anastasia 3246875486 code refactoring and fixes for ptrack backup. TODO cleanup debug messages 2017-09-29 20:25:11 +03:00
Anastasia 64939fd328 backup via repprotocol v1. WIP 2017-09-28 17:40:24 +03:00
Anastasia e47b02018b code cleanup. add more comments 2017-09-28 15:12:12 +03:00
Anastasia 43efdd3da7 code cleanup 2017-09-28 14:39:21 +03:00
Anastasia 04105e8f07 Version 2.0.4 2017-09-28 13:10:03 +03:00
Anastasia 7993488b92 fix ptrack_get_and_clear() for files in pg_global tablespace 2017-09-28 12:42:43 +03:00
Anastasia 1befa474aa fix redundant check in page validation 2017-09-28 12:42:19 +03:00
Anastasia 765524854c do not call calc_checksum for non regular files. add an Assert 2017-09-26 20:13:23 +03:00
Anastasia a5e8a54d82 do not throw an error if database is not found while performing ptrack backup 2017-09-01 14:59:44 +03:00
Anastasia a42add54a1 Merge branch 'master' of git.postgrespro.ru:pgpro-dev/pg_probackup 2017-09-01 11:52:04 +03:00
Anastasia 25762c2830 add check for interrupt in prompt for password 2017-09-01 11:51:49 +03:00
Anastasia 9f91dfc5bb Bunch of small fixes. Version 2.0.1 2017-07-05 17:36:22 +03:00
Anastasia be95e17fac Version 2.0 2017-07-03 18:09:24 +03:00
Anastasia 385798e753 add --compress shortcut option 2017-07-03 18:06:39 +03:00
Anastasia 03dfb7bc59 minor fix 2017-07-03 17:43:32 +03:00
Anastasia 393afa55e7 fix 2017-07-03 17:22:28 +03:00
Anastasia 6b4c90a25e check file existence in archive-push 2017-07-03 16:15:46 +03:00
Anastasia 9c7eae6753 fix exit code 2017-06-26 16:47:24 +03:00
Anastasia 4b58d2e52b fix validate to target in the future 2017-06-26 13:17:12 +03:00
Anastasia e0596efd85 Version 1.1.17 2017-06-20 17:54:15 +03:00
Anastasia 882515fa7a fix 2017-06-20 15:04:23 +03:00
Anastasia 56e6250fc8 relative path for top_srcdir is fixed 2017-06-20 14:37:01 +03:00
Anastasia 3f931e9a64 fix 2017-06-20 14:31:44 +03:00
Anastasia d47d538914 Merge branch 'master' of git.postgrespro.ru:pgpro-dev/pg_probackup 2017-06-20 14:12:21 +03:00
Anastasia fd46947329 fix Makefile. TODO fix relative path 2017-06-20 14:12:16 +03:00
Anastasia 5e034a4acc move sources to src/ subdir, update copyright 2017-06-20 12:37:10 +03:00
Anastasia ac4896e02c Cannot specify compress-level option without compress-alg option 2017-06-16 18:02:43 +03:00
Anastasia 7483bbefc8 fix 2017-06-16 17:39:10 +03:00
Anastasia 21b28fc633 cleanup 2017-06-16 16:58:36 +03:00
Anastasia 46c60aca28 fix 2017-06-16 16:42:41 +03:00
Anastasia dd85de04ab fix control file values 2017-06-16 16:14:54 +03:00
Anastasia 179f57a0f8 fix compiler warnings 2017-06-16 15:16:29 +03:00
Anastasia 7fe9cb953c fix compiler warnings 2017-06-16 15:13:31 +03:00
Anastasia da960204bb fix compiler warning about uninitialized var 2017-06-16 14:22:00 +03:00
Anastasia cb1a7e3676 add wal-size to backup.control and calculate backup size more accurately 2017-06-16 12:52:27 +03:00
Anastasia aaa894118d Merge branch 'master' of git.postgrespro.ru:pgpro-dev/pg_probackup 2017-06-15 16:54:36 +03:00
Anastasia 41bdaf64e1 cleanup Makefile 2017-06-15 16:54:29 +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
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
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
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
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
Anastasia 798c447be7 fix skipping empty files in backup 2017-05-29 12:45:56 +03:00
Anastasia 494b978fe0 Version 1.1.13 2017-05-25 14:24:52 +03:00
Anastasia 0dba271511 if WAL segment required to create pagemap is absent, throw an ERROR 2017-05-23 20:51:58 +03:00
Anastasia 8c74cf7cb3 If WAL segment is lost or broken, update status of the corresponding backup to CORRUPT 2017-05-23 13:20:43 +03:00
Anastasia 6db02b6401 Version 1.1.11 2017-05-11 12:39:27 +03:00
Anastasia e3a37375e1 Merge branch 'master' into help_messages 2017-05-10 14:47:46 +03:00
Anastasia 1b2784b7cd fix ERROR message 2017-05-05 23:02:48 +03:00
Anastasia d470effef8 change message about error during reading WAL 2017-05-05 13:23:52 +03:00
Anastasia 135f86e13d implement help for probackup commands 2017-05-05 13:14:46 +03:00
Anastasia a6be0c35f4 fix INFO message 2017-05-05 11:31:00 +03:00
Anastasia 0e11c87396 fix skipping pages which hasn't changed since prev backup 2017-05-04 18:14:17 +03:00
Anastasia 1eff9fce50 clarify Log message about restored file 2017-05-04 17:25:31 +03:00
Anastasia a5435cacad update expected version in tests 2017-05-04 12:38:32 +03:00
Anastasia c5de04416f Merge branch 'master' of git.postgrespro.ru:pgpro-dev/pg_probackup 2017-05-04 11:52:17 +03:00