Alexander Korotkov
651dc0f629
Add description and howto about incremental backup.
2016-06-02 17:07:25 +03:00
Uriy Zhuravlev
4890370d01
Add ptrack to backup options.
2016-05-31 20:22:54 +03:00
stalkerg
f01d5755aa
Add issue tracker to doc.
2016-05-31 16:34:45 +03:00
stalkerg
5102ff5c30
Fix doc.
2016-05-31 16:09:57 +03:00
Uriy Zhuravlev
8f0de84b7c
Update pg_arman.md
2016-05-31 14:44:42 +03:00
Uriy Zhuravlev
5c2ce8a2cd
Update pg_arman.md
2016-05-31 14:40:04 +03:00
Uriy Zhuravlev
d378c5690f
Update pg_arman.md
2016-05-31 14:34:16 +03:00
stalkerg
f441157f10
Fix doc
2016-05-31 14:21:16 +03:00
stalkerg
ecb54929ea
Some documentation fix.
2016-05-31 14:16:14 +03:00
stalkerg
85e97a184c
Start move document to markdown
2016-05-31 14:08:51 +03:00
stalkerg
8d4477f770
Move README to markdown
2016-05-31 13:57:17 +03:00
stalkerg
e413328f09
Change documentation format.
2016-05-31 13:55:26 +03:00
stalkerg
9471875b15
Add stream mode for save WAL during backup process.
2016-05-26 15:56:32 +03:00
stalkerg
ccd4f48017
Fix check ptrack control file.
2016-05-12 12:51:36 +03:00
stalkerg
075c37ba68
Fix backup if we do full backup.
2016-05-11 21:49:26 +03:00
stalkerg
e3b0f4485b
Add support get ptrack from SQL for atomic.
2016-05-11 19:35:14 +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
5698515521
Did not forget some page in full backup. But it is not solution for
...
ptrack backup. We have big issue.
2016-04-29 16:26:40 +03:00
stalkerg
3668240826
Merge branch 'ptrack' into streamrepl
2016-04-26 23:00:49 +03:00
stalkerg
e713477425
Fix overwrite files by zero lenght files.
2016-04-26 23:00:00 +03:00
stalkerg
c6ab295730
Add receive files for build.
2016-04-26 15:24:59 +03:00
stalkerg
71ed1e53a7
Small logic fix.
2016-04-15 16:03:06 +03:00
stalkerg
7c64f0396a
Fix ptrack clear. Need run pg_ptrack_clear for every db.
2016-04-15 15:58:58 +03:00
stalkerg
3d4a85fff8
Fix get time in last second.
2016-03-28 17:22:24 +03:00
stalkerg
558d4a3427
Remove noisy NOTICE messages when calling pg_stop_backup
...
Those per se are not that annoying, but the random messages generated
by the backend while pg_arman is waiting for segments to be archived
are annoying. This commit gets rid of them by using client_min_messages
set to warning on the connection used.
Report by Yury Zhuravlev.
2016-03-28 13:47:49 +03:00
stalkerg
06bd035c29
Change code like Michael.
2016-03-25 16:55:26 +03:00
stalkerg
6de1d6f053
Fix lt/gt.
2016-03-25 16:03:28 +03:00
stalkerg
3d140a7fb9
Add limit to cycle.
2016-03-25 15:59:08 +03:00
stalkerg
bcd62e1eea
Fix tests under slow devices.
2016-03-25 14:30:30 +03:00
stalkerg
fb720188d8
Fix work under BSD.
2016-03-24 18:30:25 +03:00
Zhuravlev Uriy aka stalkerg
30845bf4a6
Check ptrack control file.
2016-03-10 17:40:33 +03:00
Zhuravlev Uriy aka stalkerg
633b4b5c55
Clear after FULL BACKUP too.
2016-03-09 13:55:24 +03:00
Zhuravlev Uriy aka stalkerg
4f163d8b86
Make pg_control file optional for restore.
2016-03-02 20:50:33 +03:00
Zhuravlev Uriy aka stalkerg
375d915647
Try fix size.
2016-03-02 16:16:50 +03:00
Zhuravlev Uriy aka stalkerg
205d0a0c03
Update test for new options help.
2016-03-02 12:12:04 +03:00
Zhuravlev Uriy aka stalkerg
c9c943b2fb
Relax version test.
2016-03-02 12:11:25 +03:00
Zhuravlev Uriy aka stalkerg
b3ecb19377
Fix docs for ptrack and multithreads.
2016-02-29 22:00:57 +03:00
Zhuravlev Uriy aka stalkerg
07d4b8a030
Add threads for restore.
2016-02-29 21:49:53 +03:00
Zhuravlev Uriy aka stalkerg
fed13c298e
Add multithread beckup.
2016-02-29 20:23:48 +03:00
Zhuravlev Uriy aka stalkerg
6d51bb10d9
Fix copy bitmap.
2016-02-28 02:10:27 +03:00
Zhuravlev Uriy aka stalkerg
9c475eccbf
First version of ptrack support.
2016-02-27 21:07:55 +03:00
Michael Paquier
7cbbdf0fc4
Update README regarding oldest version of Postgres supported
...
Noticed by Uriy Zhuravlev.
2016-02-11 22:10:35 +09:00
Michael Paquier
fa248a0507
Remove custom version of readlink in pgut_port
...
Postgres has its own version in lpgport relying on junction points,
so if we consider a WIN32 port this is actually not necessary.
2016-01-20 13:19:59 +09:00
Michael Paquier
1ae2feb38f
Fix inconsistency in call of readlink()
...
If the target path is too long, an error needs to be emitted as well.
The buffer is correctly null-terminated, this will just avoid running
into weird problems should the target have a too long name.
2016-01-20 13:13:32 +09:00
Michael Paquier
b84334b8f3
Remove unportable code of IsDir
...
IsDir was somewhat optimized on systems where DT_DIR (dirent.d_type
being not part of the POSIX spec) is present on some systems leading
to more complex logic depending on the file system used, particularly
on XFS this routine was actually broken. Having a call to stat()
should not be that expensive to check if a path is a directory or
not and this is proving to be far more stable coding, so just rely
on that, that's more portable anyway and will avoid future surprises.
Report by Yury Zhuravlev, though I did not use his patch.
2016-01-19 20:51:38 +09:00
Michael Paquier
7254d30cc9
Correct incorrect project name in README
...
The upstream project is pg_rman.
2016-01-19 13:06:34 +09:00
Michael Paquier
05601aa8f6
Correct mention that a full backup is needed after database creation
...
This restriction has been inherited from the upstream project pg_rman, however
the new differential facility is proving to be able to address that need quite
nicely after more testing regarding that.
Mentioned by Thomas Reiss.
2016-01-19 13:01:40 +09:00
Michael Paquier
5c37daca69
Sanitize error checks
...
All the ERROR_* fields are removed in favor of a more simple layer
made of ERROR, FATAL, PANIC. The two last ones are not actually used
yet, thought there should be some code paths that would need more
polishing on this matter.
The error message emitted before leaving should be fine to let the
user know what is happening.
2016-01-19 12:41:30 +09:00
Michael Paquier
3a9cc02d71
Update README with new instructions to use source code
...
This has been forgotten 04834e73
that added a dependency to the Postgres
source tree when building.
2016-01-19 09:26:16 +09:00
Michael Paquier
2882954b95
Remove dead code xlog_is_complete_wal
...
This routine is not used anywhere now.
2016-01-19 09:21:54 +09:00