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.
2 parents 31605e0 + aab52da commit 81169daCopy full SHA for 81169da
share/github-backup-utils/ghe-restore-audit-log
@@ -42,7 +42,8 @@ mysql_table_schema_available(){
42
# Check whether the remote host is running a version where the MySQL backend
43
# is supported, i.e: < 2.19
44
is_mysql_supported(){
45
- [ "$(version "$GHE_REMOTE_VERSION")" -lt "$(version 2.19.0)" ]
+ echo 'sudo bash -c ". /data/github/current/.app-config/env.d/99-instance.sh;' \
46
+ 'test \"\$ENTERPRISE_AUDIT_LOG_MYSQL_LOGGER_ENABLED\" = \"1\""' | ghe-ssh "$GHE_HOSTNAME" -- /bin/bash
47
}
48
49
# Helper function to set remote flags in `/data/user/common/audit-log-import`
0 commit comments