I’m looking if there is a way to change the backup path when we POST createControlDbBackup.
By default it will try to store it under /axonserver (for me /axonserveree) if we are using the docker image from running-axon-server/blob/master/2-docker/0-ee-docker-image/build/Dockerfile
“error”: “Internal Server Error”,
“message”: “IO Exception: “java.io.FileNotFoundException: /axonserveree/./controldb1603822108046.zip (Read-only file system)”; “/axonserveree/./controldb1603822108046.zip”; SQL statement:\nBACKUP TO ‘/axonserveree/./controldb1603822108046.zip’ [90031-197]”,
The default k8s setup from the same repository does NOT create a dedicated volume for /axonserver(ee) and so the backup strategy doesn’t work with the proposed setup in running-axon-server.
Based on documentation, we need to mount the volume in an other pod to backup those files.
So what is the better approach for a k8s deployment to perform this kind of backup ?