Commit Graph
100 Commits
Author SHA1 Message Date
stalkerg 9af7ec092b Some code for testing 64bit XIDs. 2016-12-20 18:13:44 +03:00
stalkerg 9619c43df0 Try fix blinking some tests. 2016-12-20 17:59:51 +03:00
stalkerg 1cf715051e Fix 64 bit XID again and one warning. 2016-12-20 16:22:08 +03:00
stalkerg 20f055f309 Move from pg_ctl to .stop/.start from new testgres. 2016-12-20 15:46:19 +03:00
stalkerg 9d17c122fb Add check parent backup. 2016-12-19 20:13:58 +03:00
stalkerg 42a4d72175 Add root backup id for page/ptrack backups. issue #9 2016-12-19 18:41:41 +03:00
stalkerg e972467f80 Merge branch 'ptrack' of github.com:postgrespro/pg_probackup into ptrack 2016-12-16 18:41:13 +03:00
stalkerg 19a9dd9b3e Show realy last know xid in wal validate. 2016-12-16 18:40:31 +03:00
stalkerg 1874b89d30 Remove old bash tests. 2016-12-14 17:17:43 +03:00
stalkerg 31c8090216 Add many tests and some words for docs. 2016-12-14 17:14:53 +03:00
stalkerg 856e110eaf Start work on restore tests. 2016-12-13 20:45:50 +03:00
stalkerg 3c8242966a Add delete and backup tests. Add simple parser for show line. 2016-12-12 19:21:15 +03:00
stalkerg e7d6a08bf3 Start working on testgres framework for pg_probackup. 2016-12-09 21:30:22 +03:00
stalkerg 6642f27cca Right place for aix makefile hack 2016-12-08 14:57:28 +03:00
stalkerg 085f5cd10d Use xlc_r for AIX. 2016-12-08 14:48:09 +03:00
stalkerg f7d1da953e Use lockf on XLC. 2016-12-08 14:42:32 +03:00
stalkerg 25445d9993 Replace warnx by elog 2016-12-08 13:52:34 +03:00
stalkerg 62860f994c Use getopt_long from BSD project. 2016-12-07 19:20:27 +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 5e37fc6ab4 Fix wrong searching full backup if we set ID and --time/--xid. 2016-11-30 16:00:26 +03:00
stalkerg 133573e4da Fix new line for doc 2016-11-28 17:15:25 +03:00
stalkerg 67214c9553 First version of new documentation. 2016-11-28 17:10:20 +03:00
Yury ZhuravlevandGitHub 51cc7454ab Merge pull request #3 from ligurio/ptrack
remove extra dot
2016-11-28 16:52:48 +03:00
stalkerg 14bcdb696d Don't backup temp tables. 2016-11-28 14:35:22 +03:00
stalkerg 96a5f13125 Save and compare system-identifier. 2016-11-25 17:50:54 +03:00
stalkerg 90897a54b8 Check segment file for start backup (testing archive_command). 2016-11-25 16:54:24 +03:00
stalkerg b127345cd5 Add muti-thread validation. 2016-11-25 14:26:58 +03:00
stalkerg 2eb6d92ee1 Make strict depend on backup-id for validate command. 2016-11-25 12:52:40 +03:00
stalkerg f63943a01e Fix validate command. 2016-11-24 19:34:10 +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 9d31d4a1be Allow remove ERRORs backup and CORRUPTs. 2016-11-22 15:20:39 +03:00
stalkerg 3ad6aaab89 Verbose min/max segment in delwal. 2016-11-21 18:16:35 +03:00
stalkerg 0ccc9eeac0 Clear PGDATA only if we find dst backup. Also show status if
dst backup is not OK.
2016-11-17 19:37:39 +03:00
stalkerg d9c11e4307 Show removed wal segments without verbose mode. 2016-11-17 19:28:07 +03:00
stalkerg 9d579bc195 Ignore stream param from backup if we start restore without backup_id. 2016-11-17 19:08:10 +03:00
stalkerg c084fee35c Fix show backup mode. 2016-11-17 18:16:04 +03:00
stalkerg 7aa2611064 Fix help text. 2016-11-17 17:52:40 +03:00
stalkerg 46768faefd Change parse cmd options. 2016-11-17 13:11:24 +03:00
stalkerg 2cdb902a11 I forget docs. :( 2016-11-17 12:55:19 +03:00
stalkerg 47a6afa46f Union current and parent tli for show command. 2016-11-16 21:49:32 +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
stalkerg 188bbdd593 Rename project to pg_probackup. 2016-11-16 20:34:21 +03:00
stalkerg 054226d2db Remove recovery-target- substring from restore option. 2016-11-16 19:41:16 +03:00
stalkerg 0f16f1f01e Fix wrong error message. 2016-11-16 18:14:29 +03:00
stalkerg 7ba03021c5 Refactor delete command and add delwal command. 2016-11-16 17:38:11 +03:00
stalkerg ff61fcc341 Show empty page warning only in verbose mode. 2016-11-16 15:20:54 +03:00
stalkerg a9040229a5 Get current timeline from wal dir.
Also add recovery_target = 'immediate' for some case.
2016-11-16 15:14:50 +03:00
stalkerg 4ceb771b96 Detect if ptrack_enable = off 2016-11-15 16:23:53 +03:00
stalkerg b9be223a4f Don't add immediate to recovery.conf. Also if last backup is stream kind
start create recovery.conf (but not if we restore by id)
2016-11-15 11:44:57 +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 c8a690018e Show recovery time instead start time in validation message. 2016-11-14 18:08:27 +03:00
stalkerg 324efc064f Removed requirements wal_log_hints = on for pg_arman work. 2016-11-10 16:32:02 +03:00
stalkerg 44ac5f4c1b Hide not reliable options: --check, --keep-data-generations, --keep-data-days 2016-11-10 12:49:30 +03:00
stalkerg c1f1627c0b Rewrite delete backup logic. 2016-11-09 17:29:48 +03:00
stalkerg ed3e7a5551 Small fix restore logic. 2016-11-08 15:53:45 +03:00
stalkerg 78362a52d6 Move all backups to "backups" subdir. 2016-11-07 17:35:53 +03:00
stalkerg bd01446a9d Try fixing restore command. 2016-11-02 21:04:24 +03:00
stalkerg 3e49dd17c5 Fix make mkdir.sh if tablespace path have root path. 2016-11-02 20:19:37 +03:00
stalkerg c2b2accb26 Exclude recovery.conf during backup. 2016-11-02 15:44:38 +03:00
stalkerg 24c840392f Use --stream option only for backup. Add STREAM to show command. 2016-11-01 17:25:46 +03:00
stalkerg 6130be7b26 Add Requirements to README 2016-10-31 20:10:50 +03:00
stalkerg c0b9b02752 Fix docs and use recovery time for show command. 2016-10-31 18:57:15 +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 d3f3110316 Stop creating pg_xlog dir in BACKUP because it is rudiment. 2016-10-27 11:47:16 +03:00
stalkerg b0a63b6790 Add -S, --slot option for backup with --stream 2016-10-25 20:21:27 +03:00
stalkerg fb40b3e5a7 Remove validation option and do it after any backup. 2016-10-25 19:02:30 +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 f0703e527c Remove ARCLOG_PATH option. 2016-10-18 20:22:53 +03:00
stalkerg 6446aceec0 Update docs and readme for last changes. 2016-10-18 18:19:56 +03:00
stalkerg 8daffeeb6d Detect ptrack support and remove disable ptrack option. 2016-10-18 16:25:13 +03:00
stalkerg cd9a119020 Hide some log message for non-verbose mode. 2016-10-18 12:31:11 +03:00
stalkerg 65bb8b5902 Try make stream replication right. 2016-10-13 17:25:53 +03:00
stalkerg b6ceb7ff2e Gen rangedate param only for show, validate and delete command. 2016-10-13 16:20:53 +03:00
stalkerg c67832583e Add backup_label to file_database.txt for all checks. 2016-09-29 19:44:59 +03:00
stalkerg e829899c0a Update doc 2016-09-29 17:39:56 +03:00
stalkerg 9f038eeb5e Add support backup from replica. 2016-09-29 17:33:21 +03:00
stalkerg 43b7455601 Add support for Postgres 10 in pgut lib 2016-09-27 18:17:34 +03:00
Yury ZhuravlevandGitHub 67ddb22d61 Merge pull request #1 from vadv/ptrack
Add travis tests
2016-09-27 12:01:04 +03:00
stalkerg fb4ae4a235 Fix recalc checksums during restore for segno > 0. 2016-09-13 19:50:59 +03:00
stalkerg 8957aadae6 Hide regress tests for contrib 2016-09-13 18:57:31 +03:00
stalkerg d0d84c86a2 Try fix tests 2016-09-13 17:26:15 +03:00
stalkerg 4211fd8331 Try build pg_arman as contrib. 2016-09-13 15:22:34 +03:00
stalkerg e01d84e9aa Fix check digit chars. 2016-09-09 19:01:36 +03:00
stalkerg 9d273330d3 Add usleep for checksum cycle. 2016-09-08 12:35:28 +03:00
stalkerg 8cfc6bee84 Use one fwrite+memcpy insted three fwrite. 2016-09-06 19:22:43 +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 493de28819 Add new thread model to restore. 2016-09-06 10:48:29 +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 3eb1013baa Exclude pg_log by default and add option for start beckup. 2016-09-02 18:31:06 +03:00
stalkerg 589d8ddf98 We must not call qsort in recursive function. 2016-09-02 18:10:19 +03:00
stalkerg e957b48997 I added to extra clean some forgotten files. 2016-09-02 13:13:16 +03:00
stalkerg 1fe3dbd224 Wrong place for docs. 2016-09-01 18:35:43 +03:00