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

111 Commits

Author SHA1 Message Date
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
stalkerg
9f038eeb5e Add support backup from replica. 2016-09-29 17:33:21 +03:00
stalkerg
e01d84e9aa Fix check digit chars. 2016-09-09 19:01:36 +03:00
stalkerg
f69e780d37 Fix checksums for segno > 0 2016-09-06 16:30:54 +03:00
stalkerg
55686d33c7 Don't use partial xlog. 2016-09-06 14:06:09 +03:00
stalkerg
3491b43404 Add lock free algorithm for load balancing. 2016-09-02 20:38:39 +03:00
stalkerg
6ce7163a8a Add simple progress bar with option --progress. 2016-09-02 20:16:00 +03:00
stalkerg
02ac17bb6b Add load balance for backup threads. 2016-09-02 19:31:49 +03:00
stalkerg
23f4eaa8e5 Add --disable-ptrack-clear for postgres without ptrack. 2016-09-01 18:29:13 +03:00
stalkerg
a0fb3912a8 Add support postgres 9.6. 2016-08-30 17:21:02 +03:00
stalkerg
356ebd3728 Add checksums database support. 2016-07-07 18:38:56 +03:00
stalkerg
9471875b15 Add stream mode for save WAL during backup process. 2016-05-26 15:56:32 +03:00
stalkerg
ccd4f48017 Fix check ptrack control file. 2016-05-12 12:51:36 +03:00
stalkerg
075c37ba68 Fix backup if we do full backup. 2016-05-11 21:49:26 +03:00
stalkerg
e3b0f4485b Add support get ptrack from SQL for atomic. 2016-05-11 19:35:14 +03:00