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

75 Commits

Author SHA1 Message Date
Anastasia
ab3b160a1a send pg_stop_backup() asynchronously, cancel query if no answer in 300 seconds 2017-06-14 19:30:25 +03:00
Anastasia
126c424403 remove obsolete block of code, improve comments 2017-06-14 15:49:18 +03:00
Anastasia
5adeae5fdd clarify usage of backup_content.control key 'is_datafile', add key 'is_cfs' 2017-06-14 15:27:16 +03:00
Anastasia
7affcd16e6 fix pg_free 2017-06-07 17:50:59 +03:00
Anastasia
57d1fa7c5e comments cleanup 2017-06-07 16:28:22 +03:00
Anastasia
310882b539 Implement backup data compression. Add options --compress-algorithm, --compress-level 2017-06-05 12:09:07 +03:00
Anastasia
4e94454544 1. Implement backup of multiple instances. Add option --instance, commands add-instance and del-instance.
2. Implement pg_probackup specific commands for archiving: archive-push for archive_command and archive-get for restore_command
2017-05-29 18:52:43 +03:00
Anastasia
798c447be7 fix skipping empty files in backup 2017-05-29 12:45:56 +03:00
Arthur Zakirov
62e4e90e2c Add log file functions 2017-05-18 12:09:04 +03:00
Anastasia
0e11c87396 fix skipping pages which hasn't changed since prev backup 2017-05-04 18:14:17 +03:00
Anastasia
7777afceb4 restore code cleanup 2017-05-03 15:55:11 +03:00
Anastasia
d40e299c3c fix dest backup search 2017-05-02 17:28:08 +03:00
Arthur Zakirov
d43709bf90 Fix fseek() result check 2017-04-24 15:32:14 +03:00
Arthur Zakirov
8dea09ca1a Improve comments. Add pgBackupGetBackupMode() 2017-04-21 14:54:33 +03:00
Arthur Zakirov
82d79598d0 Do not use pointer for prev_backup_start_lsn 2017-04-20 15:08:07 +03:00
Arthur Zakirov
a100094bd4 Remove wrong semicolon 2017-04-18 19:42:23 +03:00
Anastasia
f833ca624b Code cleanup: backup, restore. Still WIP. Something can be broken. 2017-04-18 11:41:02 +03:00
Anastasia
612070c48d Code cleanup. remove unused check option 2017-04-12 17:39:20 +03:00
Artur Zakirov
b67dd1e2ea Update copyright 2017-03-01 16:50:07 +03:00
Anastasia
23abfcb5ce change WARNING message to LOG in verbose mode 2017-02-15 18:49:46 +03:00
Artur Zakirov
4c1dde8cd9 Merge branch 'ptrack' of git.postgrespro.ru:pgpro-dev/pg_probackup into ptrack 2017-02-15 18:28:38 +03:00
Artur Zakirov
eb531bc490 WAL delete fixes 2017-02-15 18:28:34 +03:00
Anastasia
62246e4c4e remove debug message 2017-02-15 18:12:12 +03:00
Anastasia
1e2b238689 don't try to check header of zeroed page 2017-02-15 18:10:43 +03:00
Anastasia
f4fa1cd454 fix zeroed page handling. Skip checksum computing and just save the page 2017-02-15 14:12:04 +03:00
Anastasia
547470abb8 check size of the file if block reading has failed 2017-02-14 16:25:30 +03:00
Anastasia
be18e8d39e add debug message 2017-02-14 11:27:15 +03:00
Anastasia
96fe569f6f Add nblocks into error message 2017-02-13 18:27:50 +03:00
Anastasia
42369f4cfd It's ok if file grows during backup 2017-02-13 18:24:15 +03:00
Anastasia
a39511bf88 don't handle possible hole cut at restore 2017-02-13 17:34:29 +03:00
Anastasia
cd6dd02245 fix a typo in file->size check 2017-02-13 17:33:05 +03:00
Anastasia
78370729c5 refactor backup_data_file(), don't cut the hole 2017-02-13 17:06:53 +03:00
Anastasia
946e1e24f0 Disable page hole cut in backup_data_file() 2017-02-13 11:49:47 +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
stalkerg
188bbdd593 Rename project to pg_probackup. 2016-11-16 20:34:21 +03:00
stalkerg
ff61fcc341 Show empty page warning only in verbose mode. 2016-11-16 15:20:54 +03:00
stalkerg
cd9a119020 Hide some log message for non-verbose mode. 2016-10-18 12:31:11 +03:00
stalkerg
c67832583e Add backup_label to file_database.txt for all checks. 2016-09-29 19:44:59 +03:00
stalkerg
fb4ae4a235 Fix recalc checksums during restore for segno > 0. 2016-09-13 19:50:59 +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
0fa7e2fdbd Change fallback logic and checks page header. 2016-08-30 15:53:38 +03:00
stalkerg
a34152b4aa Try get page again when checksum is fail. 2016-07-12 21:26:00 +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
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
e713477425 Fix overwrite files by zero lenght files. 2016-04-26 23:00:00 +03:00
Zhuravlev Uriy aka stalkerg
375d915647 Try fix size. 2016-03-02 16:16:50 +03:00
Zhuravlev Uriy aka stalkerg
07d4b8a030 Add threads for restore. 2016-02-29 21:49:53 +03:00