File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
share/github-backup-utils Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -468,7 +468,7 @@ is_external_database_snapshot(){
468
468
# This file exists if this is a backup for an external database AND the backup was
469
469
# taken via our logical backup strategy.
470
470
is_default_external_database_snapshot (){
471
- is_external_database_snapshot && test -f " $1 /logical-external-database-backup-sentinel"
471
+ is_external_database_snapshot && test -f " $GHE_DATA_DIR / $GHE_RESTORE_SNAPSHOT /logical-external-database-backup-sentinel"
472
472
}
473
473
474
474
prompt_for_confirmation (){
Original file line number Diff line number Diff line change @@ -180,6 +180,9 @@ if [ -n "$backup_command" ]; then
180
180
ghe-ssh " $GHE_HOSTNAME " -- " $backup_command " || failures=" $failures mssql"
181
181
bm_end " $( basename $0 ) "
182
182
183
+ # Configure the backup cadence on the appliance, which is used for diagnostics
184
+ ghe-ssh " $GHE_HOSTNAME " " ghe-config mssql.backup.cadence $GHE_MSSQL_BACKUP_CADENCE "
185
+
183
186
# Transfer backup files from appliance to backup host
184
187
appliance_dir=" $GHE_REMOTE_DATA_DIR /user/mssql/backups"
185
188
backups=$( echo " set -o pipefail; if sudo test -d \" $appliance_dir \" ; then \
You can’t perform that action at this time.
0 commit comments