Dear Community,
I am currently facing challenges in implementing a backup and restore solution for Loki logs deployed on Azure Kubernetes, with Loki’s log storage residing in an Azure Storage Account file share. As illustrated in the attached image, I am seeking guidance on an effective approach to address this issue.
My preliminary plan involves copying the logs stored by Loki on AKS1 (located in fileshare1) to another file share, fileshare2. Subsequently, I would create a new AKS cluster, AKS2, and redeploy Loki and Grafana using the deployment YAML from AKS1. Finally, I would mount fileshare2 as a Persistent Volume Claim (PVC) on AKS2.
Unfortunately, I have encountered issues in practice, as depicted in the attached image, with pod errors indicating an “invalid database.” Despite extensive research, I have been unable to resolve this issue. I kindly request the assistance of the community to help me troubleshoot and address this problem. Your expertise and insights would be highly appreciated.
Thank you sincerely for your assistance!