- Notifications
You must be signed in to change notification settings - Fork5
Commit048d148
committed
Add pg_basebackup tool for streaming base backups
This tool makes it possible to do the pg_start_backup/copy files/pg_stop_backup step in a single command.There are still some steps to be done before this is acomplete backup solution, such as the ability to streamthe required WAL logs, but it's still usable, andcould do with some buildfarm coverage.In passing, make the checkpoint request optionallyfast instead of hardcoding it.Magnus Hagander, reviewed by Fujii Masao and Dimitri Fontaine1 parent6f59777 commit048d148
File tree
17 files changed
+1528
-13
lines changed- doc/src/sgml
- ref
- src
- backend/replication
- bin
- pg_basebackup
- include/replication
- tools/msvc
17 files changed
+1528
-13
lines changedLines changed: 10 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
812 | 812 |
| |
813 | 813 |
| |
814 | 814 |
| |
| 815 | + | |
| 816 | + | |
| 817 | + | |
| 818 | + | |
| 819 | + | |
| 820 | + | |
| 821 | + | |
| 822 | + | |
| 823 | + | |
| 824 | + | |
815 | 825 |
| |
816 | 826 |
| |
817 | 827 |
| |
|
Lines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1921 | 1921 |
| |
1922 | 1922 |
| |
1923 | 1923 |
| |
1924 |
| - | |
| 1924 | + | |
| 1925 | + | |
1925 | 1926 |
| |
1926 | 1927 |
| |
1927 | 1928 |
| |
|
Lines changed: 10 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1460 | 1460 |
| |
1461 | 1461 |
| |
1462 | 1462 |
| |
1463 |
| - | |
| 1463 | + | |
1464 | 1464 |
| |
1465 | 1465 |
| |
1466 | 1466 |
| |
| |||
1496 | 1496 |
| |
1497 | 1497 |
| |
1498 | 1498 |
| |
| 1499 | + | |
| 1500 | + | |
| 1501 | + | |
| 1502 | + | |
| 1503 | + | |
| 1504 | + | |
| 1505 | + | |
| 1506 | + | |
| 1507 | + | |
1499 | 1508 |
| |
1500 | 1509 |
| |
1501 | 1510 |
| |
|
Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
160 | 160 |
| |
161 | 161 |
| |
162 | 162 |
| |
| 163 | + | |
163 | 164 |
| |
164 | 165 |
| |
165 | 166 |
| |
|
0 commit comments
Comments
(0)