File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -44,3 +44,6 @@ properties:
44
44
postgres.client_certificate_key:
45
45
default: ''
46
46
description: "Secret key used for the client certificate. Specify it if you want to auhtenticate using certificates."
47
+ postgres.single-transaction:
48
+ default: false
49
+ description: "uses singele transaction when restoring databases"
Original file line number Diff line number Diff line change @@ -41,6 +41,9 @@ for dbname in ${DATABASES[@]}; do
41
41
--use-list=${TMP_LIST_FILE} \
42
42
--if-exists \
43
43
--clean \
44
+ < % if p(" postgres.single-transaction" ) %>
45
+ --single-transaction \
46
+ < % end %>
44
47
" ${BBR_ARTIFACT_FILE_PATH} "
45
48
else
46
49
echo " WARNING: Not restoring ${dbname} because backup file ${BBR_ARTIFACT_FILE_PATH} does not exist"
You can’t perform that action at this time.
0 commit comments