File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
share/github-backup-utils Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -35,8 +35,14 @@ mysql_restored_enabled(){
35
35
}
36
36
37
37
remove_complete_flag (){
38
- ghe_verbose " Setting instance as pending for audit log import to MySQL"
38
+ ghe_verbose " Setting instance(s) as pending for audit log import to MySQL"
39
39
ghe-ssh " $GHE_HOSTNAME " -- " sudo rm -rf $GHE_REMOTE_ROOT_DIR /data/user/common/audit-log-import/complete" 1>&3 2>&3
40
+
41
+ if $CLUSTER ; then
42
+ if ! ghe-ssh " $GHE_HOSTNAME " -- " ghe-cluster-each -- sudo rm -rf /data/user/common/audit-log-import/complete" 1>&3 2>&3 ; then
43
+ ghe_verbose " Failed to set as pending for audit log import to MySQL all instances in cluster"
44
+ fi
45
+ fi
40
46
}
41
47
42
48
# Use `ghe-backup-mysql-audit-log` to dump the audit entries.
You can’t perform that action at this time.
0 commit comments