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 9c471aa0e0
.
...
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
stalkerg
091fe0ada2
Fix backup many segments of relation (big relations) with ptrack.
...
Add fail test for show problem in lost pages in backup process.
2016-05-01 22:05:18 +03:00
stalkerg
5698515521
Did not forget some page in full backup. But it is not solution for
...
ptrack backup. We have big issue.
2016-04-29 16:26:40 +03:00
stalkerg
71ed1e53a7
Small logic fix.
2016-04-15 16:03:06 +03:00
stalkerg
7c64f0396a
Fix ptrack clear. Need run pg_ptrack_clear for every db.
2016-04-15 15:58:58 +03:00
stalkerg
558d4a3427
Remove noisy NOTICE messages when calling pg_stop_backup
...
Those per se are not that annoying, but the random messages generated
by the backend while pg_arman is waiting for segments to be archived
are annoying. This commit gets rid of them by using client_min_messages
set to warning on the connection used.
Report by Yury Zhuravlev.
2016-03-28 13:47:49 +03:00
Zhuravlev Uriy aka stalkerg
30845bf4a6
Check ptrack control file.
2016-03-10 17:40:33 +03:00
Zhuravlev Uriy aka stalkerg
633b4b5c55
Clear after FULL BACKUP too.
2016-03-09 13:55:24 +03:00
Zhuravlev Uriy aka stalkerg
4f163d8b86
Make pg_control file optional for restore.
2016-03-02 20:50:33 +03:00
Zhuravlev Uriy aka stalkerg
375d915647
Try fix size.
2016-03-02 16:16:50 +03:00