Hi,
I am trying to automatically back up confluence (cloud) via REST API. According to the script samples I need to do a GET request towards https://<mydomain>.atlassian.net/wiki/rest/obm/1.0/getprogress but getting a 500 internal server error.
Other info:
I am going to create an Azure function app but as of now I am just testing the API via postman.
I had no issues backing up Service Management (cloud), only on Confluence.
If someone is have the same issue, I had to create a session to be able to reach the rest api.
This one helped me since I was developing an azure function (c#): https://stackoverflow.com/questions/43883952/using-httpclient-throughout-methods-without-losing-session-and-cookies
I googled and noticed that most of the users who created successful backups did it through bitbucket or GitHub.
Is it an option for you guys or not?
Did you check the following?
https://docs.atlassian.com/atlassian-confluence/REST/1000.107.0/
Best,
Fadoua
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Fadoua,
I suppose this is an option, but don't see the reason why we have to use a script (like powershell or python).
I wonder why I have no problem running the '/wiki/rest/obm/1.0/runbackup' for creating the cloud backup. But when trying trying to get the download url with '/wiki/rest/obm/1.0/getprogress' just returns a 500...
Since I can't even get the simple rest api call via postman, the scripts would fail as well no?
//Simon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Definitely I agree, if the get method is the one returning the 500 error then there is a problem.
Please click here then submit a ticket to Atlassian Team
All the best,
Fadoua
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.