2016-08-24 18:39:27 +02:00
|
|
|
run 003 - bkp 0, sby 0, dst db-master, asy 1, cmp 0
|
|
|
|
===================================================
|
|
|
|
|
|
|
|
full backup - update during backup (db-master host)
|
2016-12-10 16:13:55 +02:00
|
|
|
> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --buffer-size=16384 --type=full --stanza=db backup --test --test-delay=1 --test-point=manifest-build=y
|
2016-08-24 18:39:27 +02:00
|
|
|
------------------------------------------------------------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
+ supplemental file: [TEST_PATH]/db-master/pgbackrest.conf
|
|
|
|
----------------------------------------------------------
|
|
|
|
[db]
|
|
|
|
db-path=[TEST_PATH]/db-master/db/base
|
|
|
|
db-port=[PORT-1]
|
|
|
|
db-socket-path=[TEST_PATH]/db-master/db
|
|
|
|
|
|
|
|
[global]
|
|
|
|
compress=n
|
|
|
|
lock-path=[TEST_PATH]/db-master/repo/lock
|
|
|
|
log-level-console=debug
|
|
|
|
log-level-file=trace
|
2016-10-05 15:09:30 +02:00
|
|
|
log-level-stderr=off
|
2016-08-24 18:39:27 +02:00
|
|
|
log-path=[TEST_PATH]/db-master/repo/log
|
|
|
|
repo-path=[TEST_PATH]/db-master/repo
|
|
|
|
spool-path=[TEST_PATH]/db-master/repo
|
|
|
|
|
|
|
|
[global:archive-push]
|
|
|
|
archive-async=y
|
|
|
|
|
|
|
|
[global:backup]
|
|
|
|
archive-copy=y
|
|
|
|
start-fast=y
|
|
|
|
|
|
|
|
incr backup - update during backup (db-master host)
|
2016-12-10 16:13:55 +02:00
|
|
|
> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --stop-auto --no-archive-check --buffer-size=24576 --stanza=db backup --test --test-delay=1 --test-point=manifest-build=y
|
2016-08-24 18:39:27 +02:00
|
|
|
------------------------------------------------------------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
+ supplemental file: [TEST_PATH]/db-master/pgbackrest.conf
|
|
|
|
----------------------------------------------------------
|
|
|
|
[db]
|
|
|
|
db-path=[TEST_PATH]/db-master/db/base
|
|
|
|
db-port=[PORT-1]
|
|
|
|
db-socket-path=[TEST_PATH]/db-master/db
|
|
|
|
|
|
|
|
[global]
|
|
|
|
compress=n
|
|
|
|
lock-path=[TEST_PATH]/db-master/repo/lock
|
|
|
|
log-level-console=debug
|
|
|
|
log-level-file=trace
|
2016-10-05 15:09:30 +02:00
|
|
|
log-level-stderr=off
|
2016-08-24 18:39:27 +02:00
|
|
|
log-path=[TEST_PATH]/db-master/repo/log
|
|
|
|
repo-path=[TEST_PATH]/db-master/repo
|
|
|
|
spool-path=[TEST_PATH]/db-master/repo
|
|
|
|
|
|
|
|
[global:archive-push]
|
|
|
|
archive-async=y
|
|
|
|
|
|
|
|
[global:backup]
|
|
|
|
archive-copy=y
|
|
|
|
start-fast=y
|
|
|
|
|
|
|
|
restore, type 'default' (db-master host)
|
|
|
|
> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --db-include=test1 --link-all --stanza=db restore
|
|
|
|
------------------------------------------------------------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
+ supplemental file: [TEST_PATH]/db-master/db/base/recovery.conf
|
|
|
|
----------------------------------------------------------------
|
|
|
|
restore_command = '[BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --stanza=db archive-get %f "%p"'
|
|
|
|
|
|
|
|
restore delta, backup '[BACKUP-FULL-1]', type 'time', target '[TIMESTAMP-TARGET-1]' (db-master host)
|
|
|
|
> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --delta --set=[BACKUP-FULL-1] --type=time --target="[TIMESTAMP-TARGET-1]" --link-all --stanza=db restore
|
|
|
|
------------------------------------------------------------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
+ supplemental file: [TEST_PATH]/db-master/db/base/recovery.conf
|
|
|
|
----------------------------------------------------------------
|
|
|
|
restore_command = '[BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --stanza=db archive-get %f "%p"'
|
|
|
|
recovery_target_time = '[TIMESTAMP-TARGET-1]'
|