1
0
mirror of https://github.com/postgrespro/pg_probackup.git synced 2025-01-26 11:54:25 +02:00

125 Commits

Author SHA1 Message Date
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
stalkerg
1cf715051e Fix 64 bit XID again and one warning. 2016-12-20 16:22:08 +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
14bcdb696d Don't backup temp tables. 2016-11-28 14:35:22 +03:00
stalkerg
90897a54b8 Check segment file for start backup (testing archive_command). 2016-11-25 16:54:24 +03:00
stalkerg
fc3f39adf9 Stop backup if any tablespace is compress. 2016-11-23 17:46:26 +03:00
stalkerg
510508a72d Mark compress files by cfs as not data. 2016-11-22 17:38:03 +03:00
stalkerg
6d6a584965 Separate errors message for "ptrack off" and "ptrack does not support" 2016-11-22 16:07:54 +03:00
stalkerg
188bbdd593 Rename project to pg_probackup. 2016-11-16 20:34:21 +03:00
stalkerg
0f16f1f01e Fix wrong error message. 2016-11-16 18:14:29 +03:00
stalkerg
4ceb771b96 Detect if ptrack_enable = off 2016-11-15 16:23:53 +03:00
stalkerg
a742f2b04e Stop backup if we can't connect by stream protocol with --stream option. 2016-11-14 18:10:02 +03:00
stalkerg
24c840392f Use --stream option only for backup. Add STREAM to show command. 2016-11-01 17:25:46 +03:00
stalkerg
9f2ad9d822 Remove date range and start use base36 from start_time as backup ID. 2016-10-31 18:19:11 +03:00
stalkerg
b0a63b6790 Add -S, --slot option for backup with --stream 2016-10-25 20:21:27 +03:00
stalkerg
6ea5df1ca0 Fix detect tablespace oid. 2016-10-25 17:22:11 +03:00
stalkerg
af0e674cbb Add automatic detect of replica and remove same option. 2016-10-25 14:38:51 +03:00
stalkerg
8daffeeb6d Detect ptrack support and remove disable ptrack option. 2016-10-18 16:25:13 +03:00
stalkerg
65bb8b5902 Try make stream replication right. 2016-10-13 17:25:53 +03:00
stalkerg
c67832583e Add backup_label to file_database.txt for all checks. 2016-09-29 19:44:59 +03:00