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 |
|
Anastasia
|
e2eed71657
|
Code cleanup: remove PGUT_NO_PROMPT macro
|
2017-04-12 15:41:14 +03:00 |
|
Anastasia
|
5372a1e544
|
remove unused getopt.h and getopt_long.c files
|
2017-04-11 21:29:06 +03:00 |
|
Anastasia
|
1315723dc5
|
remove unused pgut-port files
|
2017-04-11 20:25:00 +03:00 |
|
Artur Zakirov
|
d41c11d55e
|
pg_ptrack_enable() should be executed only pg_ptrack_support() returns true
|
2017-04-11 17:56:46 +03:00 |
|
Artur Zakirov
|
e6a478a5e8
|
Update version
|
2017-04-07 15:15:41 +03:00 |
|
Artur Zakirov
|
16073698aa
|
Use recovery_target_timeline in recovery.conf only with --timeline option
|
2017-04-07 15:11:54 +03:00 |
|
Artur Zakirov
|
a40f1f523c
|
Refactor do_delete() function
|
2017-04-06 15:34:34 +03:00 |
|
Artur Zakirov
|
a5e2c831b1
|
Remove all increments, even backups with errors
|
2017-04-06 12:48:50 +03:00 |
|
Artur Zakirov
|
5c7669757d
|
Compare system_identifier of PGDATA with system_identifier of backup_conn
|
2017-04-05 19:48:55 +03:00 |
|
Artur Zakirov
|
e3f9d5997a
|
Remove name argument of make_bnode()
|
2017-04-03 19:21:26 +03:00 |
|
Artur Zakirov
|
cc1d1edbac
|
Change retention purge command finish message
|
2017-03-27 15:24:42 +03:00 |
|
Artur Zakirov
|
8f37eb5afa
|
Calculate recovery_time using current_timestamp()
|
2017-03-24 17:22:55 +03:00 |
|
Artur Zakirov
|
a3b3fa135c
|
Fix recovery_time and recovery_xid comments
|
2017-03-24 17:02:56 +03:00 |
|
Artur Zakirov
|
b31485640b
|
Read recovery_time and recovery_xid from WAL segments whenever possible
|
2017-03-24 16:58:35 +03:00 |
|
Artur Zakirov
|
62953a7f81
|
Default --archive-timeout is 300 seconds
|
2017-03-24 14:24:29 +03:00 |
|
Artur Zakirov
|
f3bdedcf4d
|
Add backup option --archive-timeout
|
2017-03-24 14:07:03 +03:00 |
|