1
0
mirror of https://github.com/postgrespro/pg_probackup.git synced 2024-12-13 11:53:59 +02:00
Commit Graph

46 Commits

Author SHA1 Message Date
Arthur Zakirov
62e4e90e2c Add log file functions 2017-05-18 12:09:04 +03:00
Arthur Zakirov
69b41b2d94 Added pgut/logger.h and pgut/logger.c for message logging 2017-05-18 12:09:04 +03:00
Anastasia
135f86e13d implement help for probackup commands 2017-05-05 13:14:46 +03:00
Anastasia
7777afceb4 restore code cleanup 2017-05-03 15:55:11 +03:00
Anastasia
9c2730a03d Command changes. set-config/show-config instead of config command 2017-04-28 18:58:55 +03:00
Arthur Zakirov
61475a8292 Remove unnecessary do_deletewal() function 2017-04-25 13:49:16 +03:00
Arthur Zakirov
8dea09ca1a Improve comments. Add pgBackupGetBackupMode() 2017-04-21 14:54:33 +03:00
Arthur Zakirov
82d79598d0 Do not use pointer for prev_backup_start_lsn 2017-04-20 15:08:07 +03:00
Arthur Zakirov
1c87d613f4 Check target LSN. Archived WAL segment should contain it. 2017-04-20 12:38:51 +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
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
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
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
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
Artur Zakirov
30681560c0 Revert: Check in SHOW command that backups in RUNNING status 2017-03-06 12:46:15 +03:00
Artur Zakirov
6fedb2e546 Check in SHOW command that backups in RUNNING status 2017-03-06 11:55:12 +03:00
Artur Zakirov
733cf37195 Use pg_probackup.pid file instead of locking pg_probackup.conf 2017-03-01 18:18:40 +03:00
Artur Zakirov
b67dd1e2ea Update copyright 2017-03-01 16:50:07 +03:00
Artur Zakirov
957de55a85 Check that OLDDIR has an entry in links first 2017-03-01 12:35:26 +03:00
Artur Zakirov
20e550518c Fix validation messages 2017-02-27 15:00:44 +03:00
Artur Zakirov
5bc8d459e0 Do not create tablespace_map.txt file 2017-02-27 13:32:11 +03:00
Arthur Zakirov
d7b9fe0b18 Added tablespace-mapping option.
mkdirs.sh is not created now during backup.
Tests were updated.
2017-02-25 15:12:07 +03:00
Artur Zakirov
6485b9f647 Check if restore destination exists 2017-02-20 13:39:51 +03:00
Artur Zakirov
a997235f89 Remove sanityChecks(). Fix add_files() 2017-02-16 17:23:43 +03:00
Artur Zakirov
aa271784ed Fixes for retention and validate commands 2017-02-15 20:44:06 +03:00
Artur Zakirov
0bdffbcfe5 Merge branch 'simplify_backup_data_file' into ptrack 2017-02-15 12:18:42 +03:00
Artur Zakirov
de2a0d1cde Fix for 9c471aa0e0.
pgdata_exclude[] doesn't exclude files. Add pgdata_exclude_files[].
2017-02-13 14:11:00 +03:00
Anastasia
2ec6bc67f4 Implement incremental backup of compressed files, both page and ptrack do the same. Adds two columns to the list of files. 2017-02-13 11:44:53 +03:00
Arthur Zakirov
976694f1a3 Add retention show|purge commands. Add tests and documentation. 2017-02-12 23:42:10 +03:00
stalkerg
42a4d72175 Add root backup id for page/ptrack backups. issue #9 2016-12-19 18:41:41 +03:00
stalkerg
efd552ee5c Check WALs in validate command. Also support 64bit XID from PGPRO_EE. issue #5 2016-12-07 16:28:48 +03:00
stalkerg
ed8fbcab78 Make validate logic like restore. issue #5 2016-12-06 16:44:18 +03:00
stalkerg
96a5f13125 Save and compare system-identifier. 2016-11-25 17:50:54 +03:00
stalkerg
c084fee35c Fix show backup mode. 2016-11-17 18:16:04 +03:00
stalkerg
6c94ea7fb1 Correct help texts. 2016-11-16 21:32:26 +03:00
stalkerg
37da8b080a Add main files and rename ini to conf. 2016-11-16 20:47:12 +03:00