I'm trying to figure out how to migrate multiple servers running bitbucket server with projects and repositories onto a new bitbucket data center environment. Cloud is not an option for me and as most solutions seem to show cloud migration procedures I am a little stuck.
I thought the best way was to use the REST API method
curl -u <adminusername> -s -n -X POST -H 'Content-type: application/json' -d '{"repositoriesRequest":{"includes":[{"projectKey":"*","slug":"*"}]}}' http://localhost:7990/rest/api/1.0/migration/exports | jq .
but I cannot seem to get it to do anything. I get no job started and it doesn't return a job id, just goes back to the prompt with no errors.