The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Python Script or REST API Endpoints for Space Backup and Restore in Confluence Data Center

surendra prabha
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 7, 2024

I am working with Confluence Data Center and using a local PyCharm setup to automate space backups and restores.

Could anyone share Python scripts or recommend REST API endpoints for:

1. Backing up a Confluence space to my local machine

2. Restoring a space from a local backup

I am looking for solutions that integrate with Confluence Data Center via Python. Any help with REST API documentation or sample scripts would be appreciated!

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Clark Everson
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
September 30, 2024

Hi @surendra prabha 

Welcome to community!

To my knowledge for using python with confluence it would need to be something accessible in the API. I do not believe space backups are something that can be accessed via API. If your system has ScriptRunner you could make a scriptrunner job that exported confluence spaces on a set amount of time to an external machine. It would be recomended to do this if needed to something like AWS rather than a local machine

In regards of restoring a space from a backup this would need to be done by a Confluence System Admin

Best,

Clark

TAGS
AUG Leaders

Atlassian Community Events