From d662f96bdbe9ffb8471ff3641045ba63f6b76f60 Mon Sep 17 00:00:00 2001 From: Viktor Barzin Date: Sat, 6 Dec 2025 21:41:21 +0000 Subject: [PATCH] update mysql restore script [ci skip] --- modules/kubernetes/dbaas/main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/kubernetes/dbaas/main.tf b/modules/kubernetes/dbaas/main.tf index dbb86763..1b3b5a02 100644 --- a/modules/kubernetes/dbaas/main.tf +++ b/modules/kubernetes/dbaas/main.tf @@ -201,7 +201,7 @@ resource "kubernetes_cron_job_v1" "mysql-backup" { # To restore (from outside of the cluster): # run kubectl port-forward to pod e.g.: # > kb port-forward mysql-647cfd4969-46rmw --address 0.0.0.0 3307:3306 - # run mysql import (and specify non-localhost address to avoid using unix socket): + # run mysql import (and specify non-localhost address to avoid using unix socket): (password is in tfvars) # > mysql -u root -p --host 10.0.10.10 --port 3307 < /mnt/nfs/2024_01_06_13_54.sql volume_mount { name = "mysql-backup"