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 |
|
Artur Zakirov
|
3a7b6d5de4
|
Wait right WAL segment for backup from replica
|
2017-03-23 17:00:43 +03:00 |
|
Artur Zakirov
|
515150cff1
|
Allow page backups from standby
|
2017-03-22 11:50:29 +03:00 |
|
Artur Zakirov
|
3c7d773cfa
|
Fix show command result alignment
|
2017-03-22 11:46:31 +03:00 |
|
Artur Zakirov
|
30bbf1693f
|
Merge branch 'master' of git.postgrespro.ru:pgpro-dev/pg_probackup
|
2017-03-22 11:45:20 +03:00 |
|
Anastasia
|
0fc1856e57
|
fix typo
|
2017-03-22 11:44:18 +03:00 |
|
Artur Zakirov
|
a5a1016634
|
Merge branch 'master' of git.postgrespro.ru:pgpro-dev/pg_probackup
|
2017-03-22 11:31:26 +03:00 |
|
Anastasia
|
10334c915b
|
change time granularity in pg_probackup show to seconds
|
2017-03-22 11:13:06 +03:00 |
|
Artur Zakirov
|
2671a0c08e
|
Wait lsn in pg_start_backup() and pg_stop_backup(). Do pg_switch_xlog() only for master
|
2017-03-21 18:30:48 +03:00 |
|
Artur Zakirov
|
176102b159
|
Refactor backup connection for PostgreSQL
|
2017-03-21 11:54:49 +03:00 |
|
Anastasia
|
1bc7231cae
|
add some comments for pg_probackup.h
|
2017-03-20 20:19:33 +03:00 |
|
Anastasia
|
cbcbf5fc21
|
show start_lsn and stop_lsn in pg_probackup show
|
2017-03-20 19:08:18 +03:00 |
|
Artur Zakirov
|
8e866c8798
|
Fix version
|
2017-03-13 19:29:03 +03:00 |
|
Anastasia
|
6ad203a36d
|
update links to ptrack patches in README
|
2017-03-13 18:46:46 +03:00 |
|