1
0
mirror of https://github.com/postgrespro/pg_probackup.git synced 2025-01-27 12:01:29 +02:00

118 Commits

Author SHA1 Message Date
Grigory Smolkin
c4b49c6abb [Issue #68] the backup pinning 2019-10-07 14:28:03 +03:00
Grigory Smolkin
65969267fd [Issue #60] Calculate compression ratio("zratio") during backup 2019-10-04 17:20:55 +03:00
Grigory Smolkin
6fe844004e Improvements for plain show, honest wal_bytes for STREAM backups and merged backups 2019-09-24 18:28:10 +03:00
Grigory Smolkin
1d34fd8c84 minor fixes 2019-09-23 13:57:10 +03:00
Anastasia
1f67593175 code cleanup for wal_delete refactoring 2019-09-23 13:14:57 +03:00
Anastasia
c9d3c5845a Fix archive_catalog problem exposed by b1975e3ba.
Now it's legal  to find in archive two files with equal segno. This can happen if both compressed and non-compessed versions are present.
2019-09-20 16:08:12 +03:00
Grigory Smolkin
ec6a627d4d save files belonging to a timeline into xlog_filelist array in timelineInfo structure 2019-09-20 10:47:07 +03:00
Grigory Smolkin
5b38c73089 Minor refactoring of WAL timelines constructor 2019-09-18 18:52:13 +03:00
Grigory Smolkin
d34a6a3ad8 [Issue #116] WAL archive information 2019-09-17 17:35:27 +03:00
Grigory Smolkin
4dcbfc132b add comment to unlink_lock_atexit() 2019-09-06 11:43:57 +03:00
Grigory Smolkin
d8b8b0898e [Issue #79]: remove partial validation 2019-08-31 02:16:45 +03:00
Grigory Smolkin
f4790b6291 write dbOid in write_backup_filelist() 2019-08-07 18:40:20 +03:00
Grigory Smolkin
db73f84057 [Issue #101] Multiple spelling fixes. Reported by Alexander Lakhin 2019-07-23 20:11:11 +03:00
Grigory Smolkin
0515c2b4dd minor improvement: NodeInfo is now separate variable and not the element of pgBackup structure 2019-07-15 19:20:39 +03:00
Grigory Smolkin
3d9bb1b076 minor change of elevel 2019-07-11 12:31:38 +03:00
Grigory Smolkin
fd91652576 [Issue #92] Improvements pointed out by review 2019-07-06 04:00:45 +03:00
Grigory Smolkin
a5eb8db914 [Issue #92] Refactoring of catalog_get_last_data_backup(). First we look for latest valid FULL backup, he is the chain ancestor. Then latest valid child of chain ancestor becomes the parent of current backup. 2019-06-27 19:43:03 +03:00
Grigory Smolkin
4217bc2c22 [Issue #92] Overlapping chains and retention redundancy 2019-06-27 13:09:42 +03:00
Grigory Smolkin
d28ea728c4 fix missing streamed WAL segments 2019-06-14 13:12:34 +03:00
Anastasia
19c30a8997 code cleanup: remove unneeded backuped variable 2019-06-14 11:58:33 +03:00
Anastasia
52a5487025 code cleanup 2019-06-11 18:53:29 +03:00
Anastasia
8ea9bcac87 remove duration variable as unrelated to this feature,
code cleanup.
2019-06-11 18:50:35 +03:00
Anastasia
6f2d3f5cc5 use data_bytes field instead of introducing new one 2019-06-11 18:04:02 +03:00
Anastasia
096a12b9bc add size and duration fields to backup.control.
update it during backup every 10 seconds
2019-06-11 14:29:10 +03:00
Anastasia
7ef294501a write only completed files to backup_content_control of running backup 2019-06-11 12:58:50 +03:00
Anastasia
66a1c643d5 update backup_content.control during backup;
implement buffered write of backup_content.control
2019-06-07 22:22:26 +03:00
Arthur Zakirov
ee90c5410d Remove make_native_path() from pgBackupGetPath2() 2019-04-30 12:28:26 +03:00
Arthur Zakirov
6974eb8958 Remove external directories files from previous backups 2019-04-26 17:37:38 +03:00
Arthur Zakirov
d46179c682 Update copyrights 2019-04-25 15:47:24 +03:00
Grigory Smolkin
af41c5de4a fix windows build 2019-04-24 18:42:34 +03:00
Arthur Zakirov
5dfa59fa9e dir_is_empty() should be aware about MyLocation 2019-04-23 12:00:53 +03:00
Arthur Zakirov
c440ab0f45 Merge remote-tracking branch 'origin/remote_pull' 2019-04-16 13:24:02 +03:00
Grigory Smolkin
77bb25410c Issue 52: --no-validate flag for 'backup' command, also allow DONE backup to be a parent of incremental backup 2019-04-08 23:10:15 +03:00
Grigory Smolkin
f1cd6c23c5 Merge branch 'master' into remote_pull 2019-04-05 01:05:49 +03:00
Arthur Zakirov
1746b54978 Make changes for C89 2019-04-04 20:26:36 +03:00
Arthur Zakirov
0fbbc22c6a Little optimization, remove unnecessary find_direct_child() 2019-04-04 13:30:30 +03:00
Konstantin Knizhnik
f0576ce10f Merge with master 2019-04-03 17:55:02 +03:00
Grigory Smolkin
ca44e739a3 PGPRO-2573: use parray_bsearch 2019-03-28 21:57:33 +03:00
Grigory Smolkin
366d36b9a9 Merge branch 'master' into pgpro-2573 2019-03-28 18:45:40 +03:00
Grigory Smolkin
cbc0ceb9b4 Merge branch 'master' into pgpro-2589 2019-03-28 17:34:12 +03:00
Arthur Zakirov
65dd94d664 PGPRO-2589: Binary search for catalog_get_backup_list() 2019-03-28 16:58:14 +03:00
Arthur Zakirov
01207a7086 Throw an error if pg_probackup.conf doesn't exist 2019-03-28 13:42:58 +03:00
Grigory Smolkin
b2cb9cf940 PGPRO-2589: use parent_link instead of start-time sorting in merge, validate and restore 2019-03-27 22:29:42 +03:00
Grigory Smolkin
f7205ea1ff PGPRO-2573: incrementally updated backups via merge 2019-03-25 17:26:14 +03:00
Arthur Zakirov
2ae1cf0007 PGPRO-2521: Allow to delete backups without or emtpy .control file 2019-03-25 16:40:41 +03:00
Arthur Zakirov
50f11a1fff PGPRO-2079: Use .partial file to write backup configuration files backup.control and backup_content.control 2019-03-25 16:40:41 +03:00
Arthur Zakirov
5509a4bbe1 PGPRO-421: Use strdup() call 2019-03-25 16:40:41 +03:00
Grigory Smolkin
904171d483 Merge branch 'master' into PGPRO-421 2019-03-01 23:03:01 +03:00
Konstantin Knizhnik
6d2a51e229 Merge with master 2019-03-01 17:41:01 +03:00
Arthur Zakirov
1692cbef61 Add merge_time for backup 2019-02-28 19:09:36 +03:00