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

648 Commits

Author SHA1 Message Date
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
733cf37195 Use pg_probackup.pid file instead of locking pg_probackup.conf 2017-03-01 18:18:40 +03:00
Artur Zakirov
b67dd1e2ea Update copyright 2017-03-01 16:50:07 +03:00
Artur Zakirov
957de55a85 Check that OLDDIR has an entry in links first 2017-03-01 12:35:26 +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
320d0b6e70 Fix the documentation. Add information about tablespace mapping option. 2017-02-28 12:45:10 +03:00
Artur Zakirov
5fee804c15 Fix pg_probackup.md 2017-02-27 19:11:13 +03:00
Artur Zakirov
9454066156 Fix validation messages 2017-02-27 16:42:17 +03:00
Artur Zakirov
20e550518c Fix validation messages 2017-02-27 15:00:44 +03:00
Artur Zakirov
5bc8d459e0 Do not create tablespace_map.txt file 2017-02-27 13:32:11 +03:00
Arthur Zakirov
b8edd16145 Add LOG messages 2017-02-26 12:10:16 +03:00
Arthur Zakirov
195530ebbb Fix doc 2017-02-25 15:15: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
102d50ed4a Remove #include <sys/cdefs.h>. It is not needed. 2017-02-20 14:32:53 +03:00
Artur Zakirov
955d536412 Fix tests. Some tests didn't pass. 2017-02-20 13:58:52 +03:00
Artur Zakirov
6485b9f647 Check if restore destination exists 2017-02-20 13:39:51 +03:00
Artur Zakirov
38407a0d44 Fix validation test 2017-02-17 16:49:06 +03:00
Artur Zakirov
c2410fc72b Fix WAL validate messages 2017-02-17 15:37:44 +03:00
Artur Zakirov
8fdbe1ede9 Fix message in valid_wal() 2017-02-16 19:58:25 +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
492a85606f Merge branch 'ptrack' of git.postgrespro.ru:pgpro-dev/pg_probackup into ptrack 2017-02-15 20:44:38 +03:00
Artur Zakirov
aa271784ed Fixes for retention and validate commands 2017-02-15 20:44:06 +03:00
Anastasia
8775a399cb fix retention show message, when no policy is set 2017-02-15 19:46:40 +03:00
Anastasia
23abfcb5ce change WARNING message to LOG in verbose mode 2017-02-15 18:49:46 +03:00
Anastasia
d10e5f1871 Merge branch 'ptrack' of git.postgrespro.ru:pgpro-dev/pg_probackup into ptrack 2017-02-15 18:31:50 +03:00
Anastasia
d6b612e3c2 fix INFO message 2017-02-15 18:31:40 +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
Artur Zakirov
b188a8a5e3 Fix handling of unrecognized options 2017-02-15 16:22:49 +03:00
Artur Zakirov
b8640a72b8 Merge branch 'simplify_backup_data_file' into ptrack 2017-02-15 14:12:14 +03:00
Anastasia
f4fa1cd454 fix zeroed page handling. Skip checksum computing and just save the page 2017-02-15 14:12:04 +03:00
Artur Zakirov
2c6da8dbbd SimpleXLogPageRead(): exit from function if WAL segment doesn't exist 2017-02-15 12:44:45 +03:00
Artur Zakirov
0bdffbcfe5 Merge branch 'simplify_backup_data_file' into ptrack 2017-02-15 12:18:42 +03:00
Artur Zakirov
4cb028cd97 Show dashes if there isn't recovery time of a backup 2017-02-14 17:45:18 +03:00
Anastasia
547470abb8 check size of the file if block reading has failed 2017-02-14 16:25:30 +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
5aded200b8 More understandable message during an error of ptrack backuping 2017-02-14 11:32:43 +03:00
Anastasia
be18e8d39e add debug message 2017-02-14 11:27:15 +03:00
Artur Zakirov
faa97dee16 Fix error messaging during reading WAL segments 2017-02-13 19:19:37 +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
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
Artur Zakirov
9c471aa0e0 Exclude postmaster.pid and postmaster.opts from backup 2017-02-13 11:49:55 +03:00