Skip to content

Commit 4c1b53a

Browse files
committed
Merge remote-tracking branch 'public/master'
2 parents 53ceb3a + dba9839 commit 4c1b53a

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

share/github-backup-utils/ghe-backup-config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -468,7 +468,7 @@ is_external_database_snapshot(){
468468
# This file exists if this is a backup for an external database AND the backup was
469469
# taken via our logical backup strategy.
470470
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"
472472
}
473473

474474
prompt_for_confirmation(){

share/github-backup-utils/ghe-backup-mssql

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,9 @@ if [ -n "$backup_command" ]; then
180180
ghe-ssh "$GHE_HOSTNAME" -- "$backup_command" || failures="$failures mssql"
181181
bm_end "$(basename $0)"
182182

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+
183186
# Transfer backup files from appliance to backup host
184187
appliance_dir="$GHE_REMOTE_DATA_DIR/user/mssql/backups"
185188
backups=$(echo "set -o pipefail; if sudo test -d \"$appliance_dir\"; then \

0 commit comments

Comments
 (0)