Exporing realms in kubernetes container

Want to export realms from keycloak running in kubernetes. I bash into one of the POD and executed the export command. At the end of the run, there was error as " Address already in use" through the export file is created. The documentation says the server should be stopped before starting an export to “This ensures that the resulting operations will have no consistency issues with concurrent requests.”

In the case of Kubernetes deployment, the executable is available only after bringing up the pod. Can we ignore the error and how to ensure the export doesn’t create any inconsistency to the data in the keycloak that is running? If we ensure that concurrent changes are not done through admin UI while the export is running, will that be fine though we can ignore the address already in use error?