1
0
mirror of https://github.com/postgrespro/pg_probackup.git synced 2024-12-04 10:44:46 +02:00
Commit Graph

602 Commits

Author SHA1 Message Date
Grigory Smolkin
8d8a70f886 Merge branch 'pgpro-1248' 2018-01-10 21:18:31 +03:00
Grigory Smolkin
1fad089a66 tests: another minor fix 2018-01-10 16:08:25 +03:00
Grigory Smolkin
48017e6410 tests: minor fix 2018-01-10 16:05:26 +03:00
Grigory Smolkin
0de4ec09ab tests: PGPRO-1230 ptrack race condition tests 2018-01-10 16:03:33 +03:00
Grigory Smolkin
f97fab6c89 tests: minor fix 2017-12-28 12:55:32 +03:00
Grigory Smolkin
6ccaed5ccd tests: simple ptrack test 2017-12-28 12:27:40 +03:00
Grigory Smolkin
7bb2177bb8 tests: page_get_block added 2017-12-28 12:02:53 +03:00
Grigory Smolkin
0f85328399 tests: pgdata_compare block-level granularity 2017-12-28 11:52:18 +03:00
Grigory Smolkin
ab59860dc9 tests: minor improvements 2017-12-25 11:28:25 +03:00
Grigory Smolkin
00070a44af tests: gdb class, ptrack test for PGPRO-1230, PEP8 2017-12-22 02:04:59 +03:00
Grigory Smolkin
0ba73d3367 tests: cfs tests skip condition added 2017-12-22 01:39:16 +03:00
Grigory Smolkin
0a073b4c63 tests: new tests for compressed archive, pg_receivexlog support added 2017-12-19 13:18:42 +03:00
Grigory Smolkin
b6f1dd8fbe PGPRO-1248: new status ORPHAN for backup with corrupted parent 2017-12-19 12:56:03 +03:00
Grigory Smolkin
f436888f46 tests: validate fixes 2017-12-14 21:33:48 +03:00
Grigory Smolkin
c6c8d93945 test: archive compression small fix 2017-12-14 00:39:19 +03:00
Grigory Smolkin
17c1b317ca tests: archive compression 2017-12-14 00:29:39 +03:00
Grigory Smolkin
277e4101d8 tests: fixes 2017-12-13 11:15:42 +03:00
s.logvinenko
6174a863ce fix auth_test for testgres 0.4.0 2017-12-11 15:31:16 +03:00
Grigory Smolkin
dc6b127a25 tests: check that pg_probackup behave correctly when encountering page corruption in PostgreSQL 2017-12-08 16:11:21 +03:00
s.logvinenko
d46161521e fix auth_test 2017-12-06 17:57:05 +03:00
s.logvinenko
cdc3d240af fix auth_test 2017-12-06 16:26:30 +03:00
s.logvinenko
90e8c80473 add new test case 2017-12-06 11:06:44 +03:00
s.logvinenko
f01fd61ed7 add new test case 2017-12-06 10:37:03 +03:00
s.logvinenko
71590bf7f3 add new test case 2017-12-06 10:32:30 +03:00
s.logvinenko
7beae32358 fix auth_test
fix unsetenv
2017-12-06 10:23:59 +03:00
s.logvinenko
6b23657666 fix auth_test
fix unsetenv
2017-12-06 10:22:05 +03:00
sfalkon
45d38d6130 fix auth_test 2017-12-05 22:46:47 +03:00
sfalkon
942b2df4a9 fix auth_test 2017-12-05 20:45:44 +03:00
sfalkon
3f650ed2f1 fix auth_test 2017-12-05 20:13:41 +03:00
sfalkon
d86778dc84 fix auth_test
fix file mode
2017-12-05 17:47:44 +03:00
sfalkon
25267975a8 fix auth_test
fix file mode
2017-12-05 17:40:11 +03:00
sfalkon
d8953f580a fix auth_test 2017-12-05 17:38:00 +03:00
sfalkon
065fb0e539 fix port int to string 2017-12-05 17:28:00 +03:00
sfalkon
6cf129546d fix ptrack_helper 2017-12-05 17:25:43 +03:00
sfalkon
32d9b7abdf add tests in auth_test 2017-12-05 17:08:38 +03:00
s.logvinenko
c36a0ff5c5 Merge branch 'master' of https://git.postgrespro.ru/pgpro-dev/pg_probackup into testgres1
Conflicts:
	tests/auth_test.py
	tests/helpers/ptrack_helpers.py
	tests/ptrack.py
2017-12-04 18:04:03 +03:00
s.logvinenko
edc1b31ffd Add auth_test. Test pg_probackup with user authentification. 2017-12-04 17:42:18 +03:00
s.logvinenko
3e290f0a16 fix auth_test 2017-12-04 17:17:49 +03:00
s.logvinenko
7e08ca7029 fix auth_test 2017-12-04 15:40:31 +03:00
sfalkon
df6e586b54 fix auth_test 2017-11-30 16:39:52 +03:00
Grigory Smolkin
b4c56bf21c Version 2.0.13
- Do not include not changed relations into the PAGE backup
    - Correct procedure of obtaining backup_label and tablespace_map via SQL for exclusive backups
    - Do PTRACK backups only for ptrack_version >= 1.4
2017-11-30 14:56:59 +03:00
sfalkon
89e3d113d7 fix auth_test 2017-11-30 13:49:27 +03:00
sfalkon
733704ae24 fix auth_test 2017-11-30 13:48:25 +03:00
sfalkon
462ce33f45 fix auth_test 2017-11-30 13:41:26 +03:00
Grigory Smolkin
b269c84238 tests: new module "exclude.py" and minor fixes 2017-11-30 09:14:46 +03:00
s.logvinenko
bdeff4029d fix auth_test 2017-11-29 18:21:18 +03:00
s.logvinenko
822020998e fix auth_test 2017-11-29 17:59:18 +03:00
s.logvinenko
c09e805697 fix auth_test 2017-11-29 11:48:26 +03:00
sfalkon
a2b802ca8f fix auth_test 2017-11-28 17:04:18 +03:00
sfalkon
00cf6d58c1 fix auth_test 2017-11-28 16:29:06 +03:00
sfalkon
9079a2b253 add auth_test 2017-11-28 15:03:47 +03:00
Anastasia
fae522df4a Version 2.0.12
- Do not include unlogged relations into the backup.
- Use exclusive backup for PTRACK backups.
- Do not throw an error if the file was truncated during backup.
2017-11-23 11:28:04 +03:00
Anastasia
082612b528 Version 2.0.11.
- Fix password prompt interruption
- Check if the password provided by a user is empty
- Fix incremental backups: do not include into backup files, that didn't changed since previous backup.
- Add PG version into backup meta infromation
2017-11-10 17:40:30 +03:00
Grigory Smolkin
39aa89acb7 new tests for ptrack 2017-11-09 12:45:04 +03:00
s.logvinenko
5402d433fc fix archive.py 2017-11-08 18:06:50 +03:00
s.logvinenko
595982a39d fix archive.py 2017-11-08 17:16:50 +03:00
s.logvinenko
2d3c3dbe22 fix archive.py 2017-11-08 16:50:56 +03:00
s.logvinenko
ba828847a5 fux replica.py 2017-11-08 10:55:48 +03:00
sfalkon
0aeb9d26ec fix ptrack 2017-11-07 17:50:35 +03:00
sfalkon
ea85c50230 fix ptrack 2017-11-07 17:47:38 +03:00
sfalkon
3ba30a9742 fix ptrack 2017-11-07 17:19:22 +03:00
sfalkon
6f4d2f60e1 fix ptrack 2017-11-07 17:13:20 +03:00
sfalkon
31fbb85a89 fix ptrack 2017-11-07 15:18:23 +03:00
sfalkon
1091662479 fix ptrack 2017-11-07 14:51:29 +03:00
sfalkon
f7052186c2 fix ptrack 2017-11-07 14:38:59 +03:00
sfalkon
6dd6646c82 fix ptrack 2017-11-07 14:38:14 +03:00
sfalkon
1c0c685507 fix ptrack 2017-11-07 14:35:46 +03:00
sfalkon
5d883b1a08 fix ptrack 2017-11-07 14:04:02 +03:00
sfalkon
edfaed698d fix ptrack 2017-11-07 13:59:22 +03:00
sfalkon
7323456b0d fix ptrack 2017-11-07 13:57:42 +03:00
sfalkon
9804672a10 fix ptrack 2017-11-07 13:52:00 +03:00
sfalkon
855e5afab4 fix ptrack 2017-11-07 13:13:09 +03:00
sfalkon
f9365e646a fix ptrack 2017-11-07 12:34:20 +03:00
sfalkon
b3277af776 fix ptrack 2017-11-07 12:23:52 +03:00
sfalkon
f8a4e65749 fix ptrack 2017-11-07 11:52:56 +03:00
sfalkon
e51200032e fix ptrack 2017-11-07 11:51:09 +03:00
sfalkon
72aa1592c3 Merge branch 'master' of https://git.postgrespro.ru/pgpro-dev/pg_probackup into testgres1 2017-11-07 11:42:54 +03:00
Grigory Smolkin
fa0a9621de tests: test_relation_with_multiple_segments expanded, get_md5_per_page_for_fork expanded 2017-11-07 09:40:13 +03:00
sfalkon
fae8440578 fix ptrack 2017-11-03 17:52:32 +03:00
sfalkon
f7ab3e5bca fix ptrack 2017-11-03 17:49:01 +03:00
sfalkon
58baba9e01 fix ptrack 2017-11-03 16:56:13 +03:00
sfalkon
599e2e82d7 fix ptrack 2017-11-03 16:55:43 +03:00
sfalkon
8c832896bf fix ptrack 2017-11-03 16:51:09 +03:00
sfalkon
9312cda92d fix ptrack 2017-11-03 16:47:51 +03:00
sfalkon
c62a0dfc1a fix ptrack 2017-11-03 16:44:43 +03:00
sfalkon
85fcbd5bbb fix ptrack 2017-11-03 16:43:19 +03:00
sfalkon
6a0b6b2a97 fix ptrack 2017-11-03 16:35:23 +03:00
sfalkon
fe8689015a fix ptrack 2017-11-03 16:26:59 +03:00
sfalkon
cf61bae76a fix ptrack 2017-11-03 16:07:51 +03:00
sfalkon
65a6152fc6 fix ptrack 2017-11-03 16:06:07 +03:00
sfalkon
a95a5c2096 fix ptrack 2017-11-03 16:04:10 +03:00
sfalkon
2716d6fe36 fix ptrack 2017-11-03 16:01:16 +03:00
sfalkon
4c6e89a701 fix ptrack 2017-11-03 15:52:42 +03:00
sfalkon
2eea2dd433 fix ptrack 2017-11-03 15:49:31 +03:00
sfalkon
a4917beacc fix ptrack 2017-11-03 15:31:10 +03:00
sfalkon
dfa6831fc2 fix ptrack 2017-11-03 14:57:50 +03:00
sfalkon
6c478ee175 fix ptrack 2017-11-03 14:56:16 +03:00
sfalkon
3867e086e6 fix ptrack 2017-11-03 14:54:54 +03:00
sfalkon
8e66c7ef01 fix ptrack 2017-11-03 14:34:25 +03:00
sfalkon
c58cd6da4d fix ptrack 2017-11-03 14:32:07 +03:00
sfalkon
22a5a064d9 fix ptrack 2017-11-03 14:25:35 +03:00
sfalkon
b010b2b83d fix ptrack 2017-11-03 14:01:51 +03:00
sfalkon
966a37ac86 fix ptrack 2017-11-03 13:45:13 +03:00
sfalkon
fe4264c209 fix ptrack 2017-11-03 13:40:25 +03:00
sfalkon
625f20ccd3 fix ptrack 2017-11-03 13:38:14 +03:00
sfalkon
d8ec38cb62 fix ptrack 2017-11-03 10:26:23 +03:00
sfalkon
841ae1da6c fix ptrack 2017-11-03 10:12:52 +03:00
Anastasia
3a1d5c430f Version 2.0.10 2017-10-30 15:02:56 +03:00
Grigory Smolkin
9f07c0ccc7 v 2.0.9 2017-10-26 16:04:15 +03:00
Grigory Smolkin
66055c2402 tests: added test_multiple_segments_in_multiple_tablespaces 2017-10-26 15:45:06 +03:00
Grigory Smolkin
40118ca3ed cfs tests small temporal chages 2017-10-19 18:26:24 +03:00
Grigory Smolkin
9a1e6eed0b Merge branch 'cfs' 2017-10-19 18:19:20 +03:00
Grigory Smolkin
2bd2b6e1b8 tests fixes 2017-10-11 18:08:56 +03:00
Anastasia
7a0cc9a2da Merge branch 'master' of git.postgrespro.ru:pgpro-dev/pg_probackup 2017-10-10 19:11:13 +03:00
Anastasia
27a90e847d Version 2.0.8. Stable 2017-10-10 19:10:59 +03:00
Grigory Smolkin
40ee8a14b1 tests: ptrack paranoia disable 2017-10-09 15:40:33 +03:00
Grigory Smolkin
6dc3c29616 Version 2.0.7 2017-10-09 15:35:46 +03:00
Grigory Smolkin
a6adf6ec6c tests fixes 2017-10-09 15:32:48 +03:00
Grigory Smolkin
dc792f5474 tests: ptrack small fixes 2017-10-05 16:59:05 +03:00
Grigory Smolkin
d21412d274 tests ptrack.py fixes 2017-10-05 16:47:32 +03:00
Grigory Smolkin
3700576d99 test_ptrack_disable added 2017-10-05 12:06:01 +03:00
s.logvinenko
2593e10a9b Merge branch 'master' of https://git.postgrespro.ru/pgpro-dev/pg_probackup into cfs
Conflicts:
	tests/__init__.py
2017-10-04 17:03:03 +03:00
s.logvinenko
269a83c194 Merge branch 'master' of https://git.postgrespro.ru/pgpro-dev/pg_probackup into cfs
Conflicts:
	tests/__init__.py
2017-10-04 15:47:20 +03:00
Anastasia
9813471e7b Version 2.0.6 2017-10-04 12:24:53 +03:00
Grigory Smolkin
dc079c9d07 exclude pg_internal.init from tests 2017-10-03 19:27:13 +03:00
Grigory Smolkin
29380efb14 ptrack tests fixes 2017-10-03 18:26:55 +03:00
Grigory Smolkin
31b7230ea7 Merge branch 'repprotocol_v1' of https://git.postgrespro.ru/pgpro-dev/pg_probackup into repprotocol_v1 2017-10-03 16:27:29 +03:00
Grigory Smolkin
701ea7c0a5 ptrack tests 2017-10-03 16:27:03 +03:00
Anastasia
990ab6050d Version 2.0.5 2017-10-03 15:57:15 +03:00
sfalkon
7bfa61ad7e Update cfs-tests 2017-10-03 14:59:30 +03:00
s.logvinenko
dd14c27f38 Update tests. Add cfs_validate_backup test 2017-10-02 17:35:20 +03:00
s.logvinenko
948927142b Update tests 2017-10-02 15:33:34 +03:00
s.logvinenko
a5be84af44 Update tests 2017-10-02 14:53:24 +03:00
sfalkon
8400cf44c1 Add cfs_restore_noenc. Update cfs_backup_enc and cfs_backup_noenc 2017-09-29 13:48:02 +03:00
sfalkon
c4b382b0d5 Add cfs_backup tests 2017-09-28 21:09:35 +03:00
Anastasia
04105e8f07 Version 2.0.4 2017-09-28 13:10:03 +03:00
Grigory Smolkin
d1c5a993cc small fix 2017-09-28 10:54:50 +03:00
Grigory Smolkin
237882cfaa new tests added 2017-09-28 10:32:06 +03:00
Grigory Smolkin
dfdebfc05e pgpro-956 test coverage 2017-08-31 23:33:54 +03:00
Arthur Zakirov
578abf5f40 Version 2.0.3 2017-08-31 21:32:15 +03:00
Arthur Zakirov
9b784015db Version 2.0.2 2017-08-11 19:05:36 +03:00
Grigory Smolkin
48255ebf09 tests: new modules and tests 2017-07-12 17:28:28 +03:00
Anastasia
9f91dfc5bb Bunch of small fixes. Version 2.0.1 2017-07-05 17:36:22 +03:00
Anastasia
be95e17fac Version 2.0 2017-07-03 18:09:24 +03:00
Grigory Smolkin
88b2742972 tests minor fixes 2017-06-27 12:43:45 +03:00
Grigory Smolkin
49a8575456 tests fixes, del_test_dir added 2017-06-27 08:42:52 +03:00
Anastasia
e0596efd85 Version 1.1.17 2017-06-20 17:54:15 +03:00
Grigory Smolkin
1a849cad7e tests fix 2017-06-20 13:57:23 +03:00
Grigory Smolkin
b38410d9a2 tests: pgpro688 added 2017-06-07 17:52:07 +03:00
Anastasia
2525daa544 Version 1.1.16. Feature freeze for release 2.0 2017-06-07 17:08:57 +03:00
Anastasia
99d031a641 Version 1.1.15 2017-06-07 16:55:24 +03:00
Anastasia
d10b05bd91 Version 1.1.14 2017-05-29 18:53:38 +03:00
Grigory Smolkin
035b639002 validate fix 2017-05-25 15:34:18 +03:00
Anastasia
494b978fe0 Version 1.1.13 2017-05-25 14:24:52 +03:00
Grigory Smolkin
b1e849a588 validate rework, self.cmd and self.output added 2017-05-25 12:54:06 +03:00
Anastasia
0dba271511 if WAL segment required to create pagemap is absent, throw an ERROR 2017-05-23 20:51:58 +03:00
Grigory Smolkin
0f212e0455 TESTS: false_positive added, pgpro-560 added, validate redesign 2017-05-22 14:17:43 +03:00
Grigory Smolkin
2b02bd4094 pgpro589 added 2017-05-18 13:01:30 +03:00
Arthur Zakirov
ff03146366 Version 1.1.12 2017-05-18 12:22:56 +03:00
Grigory Smolkin
eb97837356 fixes for pgpro561 2017-05-17 20:43:28 +03:00
Grigory Smolkin
8972d4f45b minor fixes 2017-05-17 14:01:57 +03:00
Grigory Smolkin
fa1ba6c531 pgpro561 added 2017-05-17 12:46:38 +03:00
Grigory Smolkin
442cef1ca5 PGPRO-688 tests added 2017-05-15 02:43:05 +03:00
Anastasia
6db02b6401 Version 1.1.11 2017-05-11 12:39:27 +03:00
Grigory Smolkin
36e64407fc ptrack, validate, retention fixes 2017-05-05 16:21:49 +03:00
Anastasia
a5435cacad update expected version in tests 2017-05-04 12:38:32 +03:00
Grigory Smolkin
262f1ab410 test fixes 2017-05-03 18:05:19 +03:00
Grigory Smolkin
2b8da45f09 ptrack tests added 2017-05-03 14:14:48 +03:00
Artur Zakirov
e6a478a5e8 Update version 2017-04-07 15:15:41 +03:00
Artur Zakirov
a40f1f523c Refactor do_delete() function 2017-04-06 15:34:34 +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
e3f9d5997a Remove name argument of make_bnode() 2017-04-03 19:21:26 +03:00
Artur Zakirov
cc1d1edbac Change retention purge command finish message 2017-03-27 15:24:42 +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
f3bdedcf4d Add backup option --archive-timeout 2017-03-24 14:07:03 +03:00
Artur Zakirov
3c7d773cfa Fix show command result alignment 2017-03-22 11:46:31 +03:00
Artur Zakirov
176102b159 Refactor backup connection for PostgreSQL 2017-03-21 11:54:49 +03:00
Artur Zakirov
8e866c8798 Fix version 2017-03-13 19:29:03 +03:00
Artur Zakirov
6a79870ce9 Disallow page backups from standby 2017-03-13 16:22:48 +03:00
Artur Zakirov
653615b247 Return 0 for --help and --version commands 2017-03-09 14:46:33 +03:00
Artur Zakirov
6fedb2e546 Check in SHOW command that backups in RUNNING status 2017-03-06 11:55:12 +03:00
Artur Zakirov
faae29739e Do not create recovery.conf only if backup-ID was passed and only if destination backup is not stream backup 2017-03-03 17:06:36 +03:00
Artur Zakirov
9ace401921 Refactoring do_restore() and do_validate(). Check tablespace mapping before actual restore 2017-02-28 20:00:18 +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
955d536412 Fix tests. Some tests didn't pass. 2017-02-20 13:58:52 +03:00
Artur Zakirov
38407a0d44 Fix validation test 2017-02-17 16:49:06 +03:00
Artur Zakirov
a3e5458166 Fix do_validate() and do_restore() 2017-02-16 19:44:16 +03:00
Artur Zakirov
a997235f89 Remove sanityChecks(). Fix add_files() 2017-02-16 17:23:43 +03:00
Artur Zakirov
aa271784ed Fixes for retention and validate commands 2017-02-15 20:44:06 +03:00
Artur Zakirov
4cb028cd97 Show dashes if there isn't recovery time of a backup 2017-02-14 17:45:18 +03:00
Artur Zakirov
bf2830bad5 Fix tests for retention policy. Compare WAL segments without timelineid 2017-02-14 14:31:15 +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
Arthur Zakirov
976694f1a3 Add retention show|purge commands. Add tests and documentation. 2017-02-12 23:42:10 +03:00
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
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
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