We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent acfb04b commit c672663Copy full SHA for c672663
init-script/run.sh
@@ -2,5 +2,9 @@
2
3
rm -rf /var/lib/mysql/lost+found
4
rm -rf /run-scripts/*
5
-rm /var/lib/mysql/auto.cnf
6
cp /tmp/scripts/* /scripts
+if [[ "$PITR_RESTORE" == "true" ]]; then
7
+ if [[ "$HOSTNAME" != *"-0" ]]; then
8
+ rm /var/lib/mysql/auto.cnf
9
+ fi
10
+fi
0 commit comments