Commit Graph
100 Commits
Author SHA1 Message Date
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
Anastasia 7777afceb4 restore code cleanup 2017-05-03 15:55:11 +03:00
Anastasia d4743168df Version 1.1.10 2017-05-03 12:54:38 +03:00
Anastasia d40e299c3c fix dest backup search 2017-05-02 17:28:08 +03:00
Anastasia 419008d9de code cleanup 2017-05-02 15:13:32 +03:00
Anastasia 01a21462ac fix tablespace mapping bug 2017-05-02 12:50:34 +03:00
Anastasia 3c707a0a83 Version 1.1.9 2017-05-02 11:50:20 +03:00
Anastasia be25c3e4db fix check_tablespace_mapping 2017-04-28 23:38:18 +03:00
Anastasia 88754a7f26 update help output. TODO: implement detailed help for each command 2017-04-28 19:53:13 +03:00
Anastasia 9c2730a03d Command changes. set-config/show-config instead of config command 2017-04-28 18:58:55 +03:00
Anastasia 0acc91112c add INFO message about backup/validate completion 2017-04-28 17:39:19 +03:00
Anastasia 35471b52ed fix PTRACK backup error caused by wrong sort order 2017-04-25 18:58:29 +03:00
Anastasia 8405a59a53 Add backup completed message. 1.1.7 is stable version 2017-04-25 17:33:52 +03:00
Anastasia a2bcbc77bd check file format in dir_list_file 2017-04-21 11:41:20 +03:00
Anastasia e0175b98c5 Merge branch 'master' of git.postgrespro.ru:pgpro-dev/pg_probackup 2017-04-20 15:22:37 +03:00
Anastasia 1af622f78a Options cleanup 2017-04-20 15:22:18 +03:00
Anastasia eaccb463df fix a warning 2017-04-19 18:31:40 +03:00
Anastasia e1d003bb6c Merge branch 'master' of git.postgrespro.ru:pgpro-dev/pg_probackup 2017-04-19 18:00:09 +03:00
Anastasia 5e0e881ce0 New option: delete --expired. Minor bugfixes. 2017-04-19 17:58:58 +03:00
Anastasia 1edaabf130 Format change. pg_probackup.conf contains more info now. Options change: configure subcommand is implemented 2017-04-19 16:47:41 +03:00
Anastasia 12cc3a1491 Format change backup.conf is renamed to backup.control 2017-04-19 12:01:10 +03:00
Anastasia 31efd8f598 Format change: file_database.txt is renamed to backup_content.control. Now it has json format. 2017-04-18 23:15:17 +03:00
Anastasia f833ca624b Code cleanup: backup, restore. Still WIP. Something can be broken. 2017-04-18 11:41:02 +03:00
Anastasia 3ca609a0ff Code cleanup: validate 2017-04-14 12:51:05 +03:00
Anastasia 75534a00be Code cleanup. Unify restore and validate. Remove unused functions. 2017-04-13 19:37:29 +03:00
Anastasia 9d14e06c35 Allow reading BACKUP_PATH from env variables, add some new options (not implemented yet) 2017-04-12 19:32:05 +03:00
Anastasia 2f76db68e5 Options change: now backupID should be passed to all subcommands as parameter -i or --backup-id 2017-04-12 19:13:43 +03:00
Anastasia 0f6d4140f4 Code cleanup. Now only PGDATA, PGHOST, PGPORT, PGUSER and PGDATABASE can be set from enviromental variables. If values was already set via command line option, it wouldn't be overwritten. 2017-04-12 18:57:02 +03:00
Anastasia 612070c48d Code cleanup. remove unused check option 2017-04-12 17:39:20 +03:00
Anastasia 0f59db3399 Code cleanup. Parse subcmd before options 2017-04-12 17:26:19 +03:00
Anastasia f35d0d7ee9 Code cleanup. Delete -W option 2017-04-12 16:47:45 +03:00
Anastasia e2eed71657 Code cleanup: remove PGUT_NO_PROMPT macro 2017-04-12 15:41:14 +03:00