Closed Kalougear closed 7 months ago
This is not an issue in any way specific to grafana-backup-tool. My guess is you are misunderstanding the proper use of the docker_container ansible module, which is not something we are able to help with, other than point you to the upstream documentation for that module.
It seems I caused some confusion about my setup. While the issue I'm facing might not be directly related to the grafana-backup-tool, it appears backups aren't working at all,the fact that i was lucky with the ansible playbook to pinpoint the issue can help you for sure, regardless of whether I use manual methods or the tool with an Ansible playbook. I've tried various approaches and installations, but the data remains unbacked up and the volumes keep breaking.
Hello there!
I'm encountering a persistent volume disconnection issue after running the grafana-backup-tool within a Docker container deployed using Ansible. Restarting the container doesn't resolve the problem, confirming it's not a transient issue.
Steps to Reproduce:
Grafana Ansible playbook
Script Ansible playbook
Expected Behavior:
The grafana-backup-tool should run successfully (whichs runs) within the container
but
without impacting volume persistence. Volumes should remain attached even after container restarts.After this backup is finished no files are created anywhere which is expected Cause of the volume disconection when the script tryed to backup i assume.Actual Behavior:
Volumes become disconnected after running the script and persist even after various container restarts, indicating a deeper issue.
Troubleshooting:
Commenting out this section prevents volume disconnection, confirming the tool's involvement.
I haven't found similar issues reported online or in the tool's documentation.
I've tested volume persistence across various container restart methods (restart, stop/start, exit/start).
The issue is narrowed down to the specific code block provided earlier.
Request:
I'm seeking assistance in pinpointing the root cause of the volume disconnection and finding a solution to ensure persistent backups within the container. Any insights, suggestions, or workarounds related to the grafana-backup-tool or potential volume manipulation within the container would be greatly appreciated.