tldr; Do anyone know a painlessly way restore the portainer.db?
I have a swarm plenty of portainer stacks with zillions of portanier-only-environment-variables. But recently I changed the ip-pool and re-armed the swarm… destroying the stacks definition and env-vars within portainer.
I can check in the portainer´s volume that the env-vars are present in the portainer.db and the stacks are in the compose folder. I can even access portainer with the previous admin credential, but the stack list is empty.
Is there any way to retrieve the stacks with env vars, or make it work again?
Best regards and thanks in advance,