Skip to content
This repository has been archived by the owner on Mar 7, 2024. It is now read-only.

Commit

Permalink
Merge pull request github#242 from github/dbussink/fix-cluster-restore
Browse files Browse the repository at this point in the history
Remove restoring cluster.conf on restore
  • Loading branch information
dbussink authored Jul 25, 2016
2 parents 3d9d284 + 7b998d1 commit 405ad4b
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions share/github-backup-utils/ghe-restore-settings
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,6 @@ if [ -f "$GHE_RESTORE_SNAPSHOT_PATH/manage-password" ]; then
ghe-ssh "$GHE_HOSTNAME" -- "ghe-import-passwords"
fi

if [ "$GHE_BACKUP_STRATEGY" = "cluster" ]; then
echo "Restoring cluster configuration ..."
cat "$GHE_RESTORE_SNAPSHOT_PATH/cluster.conf" |
ghe-ssh "$GHE_HOSTNAME" -- "sudo tee $GHE_REMOTE_CLUSTER_CONF_FILE >/dev/null"
fi

# Restore SAML keys if present.
if [ -f "$GHE_RESTORE_SNAPSHOT_PATH/saml-keys.tar" ]; then
echo "Restoring SAML keys ..."
Expand Down

0 comments on commit 405ad4b

Please sign in to comment.