Skip to content

Commit 27ea997

Browse files
authored
Merge pull request #719 from github/samirat/add_backup_cadence_to_appliance
Add backup cadence variable to the appliance
2 parents c443bd8 + 2a85d41 commit 27ea997

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

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)