1
0
mirror of https://github.com/postgrespro/pg_probackup.git synced 2024-12-04 10:44:46 +02:00
Commit Graph

684 Commits

Author SHA1 Message Date
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
Arthur Zakirov
95df9fa6bb Version 1.1.8 2017-04-27 17:23:10 +03:00
Arthur Zakirov
ecc5e56201 Fix readTimeLineHistory_probackup(). It should check existance of history file 2017-04-27 17:10:26 +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
Arthur Zakirov
61475a8292 Remove unnecessary do_deletewal() function 2017-04-25 13:49:16 +03:00
Arthur Zakirov
c8d5e0338d Get list of backups in do_backup() as soon as possible 2017-04-25 12:42:38 +03:00
Arthur Zakirov
2bdaaf0eaf Add pg_switch_wal(). It is used for page backup 2017-04-24 19:25:42 +03:00
Arthur Zakirov
e9e25d96b4 Fix parsing db_oid from relation path in make_pagemap_from_ptrack() 2017-04-24 18:22:34 +03:00
Arthur Zakirov
737c8b0647 Add WAL column for show command 2017-04-24 17:56:05 +03:00
Arthur Zakirov
0effc18193 Remove unnecessary ERROR message 2017-04-24 15:44:15 +03:00
Arthur Zakirov
d43709bf90 Fix fseek() result check 2017-04-24 15:32:14 +03:00
Arthur Zakirov
72c5d0d115 Add crazy function get_control_value().
It parses json-like lines of backup_content.control file.
2017-04-22 23:27:56 +03:00
Arthur Zakirov
0077a78871 Fix dir_read_file_list().
It missed that names and values have quotes and did not check ptr for NULL.
2017-04-21 19:46:19 +03:00
Arthur Zakirov
ff61f80ce8 Improve comment of create_recovery_conf() 2017-04-21 17:06:41 +03:00
Arthur Zakirov
8dea09ca1a Improve comments. Add pgBackupGetBackupMode() 2017-04-21 14:54:33 +03:00
Arthur Zakirov
1cd6a9762d Free base36enc's results 2017-04-21 12:06:07 +03:00
Arthur Zakirov
e861c7f7f2 Little fixes
- read parent-backup-id not parent_backup
- sort backup_files_list only for ptrack backup
2017-04-21 11:54:00 +03:00
Anastasia
a2bcbc77bd check file format in dir_list_file 2017-04-21 11:41:20 +03:00
Arthur Zakirov
dc50ba791a Move state() under backup_path initialization 2017-04-20 16:46:51 +03:00
Arthur Zakirov
366073b01a Version 1.1.6 2017-04-20 15:56:39 +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
Arthur Zakirov
82d79598d0 Do not use pointer for prev_backup_start_lsn 2017-04-20 15:08:07 +03:00
Arthur Zakirov
28626dcdb1 Fix little bugs.
- scan segno in dir_read_file_list()
- check backup_path in main() if 'backup_path == NULL'
2017-04-20 15:01:29 +03:00
Arthur Zakirov
c47af357b1 Initialize backup_cleanup() earlier 2017-04-20 14:14:14 +03:00
Arthur Zakirov
1c87d613f4 Check target LSN. Archived WAL segment should contain it. 2017-04-20 12:38:51 +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
Arthur Zakirov
29d529a248 Fix output of show command 2017-04-19 15:20:35 +03:00
Arthur Zakirov
d40f2c35ee Parse backup mode properly 2017-04-19 15:06:29 +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
Arthur Zakirov
a100094bd4 Remove wrong semicolon 2017-04-18 19:42:23 +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