We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c80fdb3 commit 6d86ba0Copy full SHA for 6d86ba0
bin/ghe-host-check
@@ -165,7 +165,7 @@ if [ -n "$GHE_RESTORE_SNAPSHOT_PATH" ]; then
165
fi
166
167
if [ -z "$GHE_ALLOW_REPLICA_BACKUP" ]; then
168
- if [ "$(ghe-ssh $host -- cat $GHE_REMOTE_ROOT_DIR/etc/github/repl-state1 2>/dev/null || true)" = "replica" ]; then
+ if [ "$(ghe-ssh $host -- cat $GHE_REMOTE_ROOT_DIR/etc/github/repl-state 2>/dev/null || true)" = "replica" ]; then
169
echo "Error: high availability replica detected." 1>&2
170
echo "Backup Utilities should be used to backup from the primary node in" 1>&2
171
echo "high availability environments to ensure consistent and reliable backups." 1>&2
0 commit comments