1
0
mirror of https://github.com/postgrespro/pg_probackup.git synced 2025-01-24 11:46:31 +02:00

145 Commits

Author SHA1 Message Date
Arthur Zakirov
62eee9cfdc Write ERROR status of the backup before executing pg_stop_backup() 2017-05-19 12:08:16 +03:00
Arthur Zakirov
e6ec0f2898 Check if archiving is enabled during archive backup 2017-05-18 15:53:09 +03:00
Arthur Zakirov
9f9c95c990 Wait for start_lsn in pg_start_backup() 2017-05-18 15:33:03 +03:00
Arthur Zakirov
62e4e90e2c Add log file functions 2017-05-18 12:09:04 +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
8405a59a53 Add backup completed message. 1.1.7 is stable version 2017-04-25 17:33:52 +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
8dea09ca1a Improve comments. Add pgBackupGetBackupMode() 2017-04-21 14:54:33 +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
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
12cc3a1491 Format change backup.conf is renamed to backup.control 2017-04-19 12:01:10 +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
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
5c7669757d Compare system_identifier of PGDATA with system_identifier of backup_conn 2017-04-05 19:48:55 +03:00
Artur Zakirov
8f37eb5afa Calculate recovery_time using current_timestamp() 2017-03-24 17:22:55 +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
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
Artur Zakirov
6a79870ce9 Disallow page backups from standby 2017-03-13 16:22:48 +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
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
a997235f89 Remove sanityChecks(). Fix add_files() 2017-02-16 17:23:43 +03:00
Artur Zakirov
0bdffbcfe5 Merge branch 'simplify_backup_data_file' into ptrack 2017-02-15 12:18:42 +03:00
Artur Zakirov
5aded200b8 More understandable message during an error of ptrack backuping 2017-02-14 11:32:43 +03:00
Artur Zakirov
de2a0d1cde Fix for 9c471aa0e042b1a56ae4a07b98d321c33da74db8.
pgdata_exclude[] doesn't exclude files. Add pgdata_exclude_files[].
2017-02-13 14:11:00 +03:00
Anastasia
53a5df9c8a allow page mode backup of compressed files. Just remove the error message. 2017-02-13 12:28:19 +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