Hi,
I would like to implement a script-based backup for specific pages or spaces in Confluence Cloud using the REST API.
The idea is to:
Is this technically supported in Confluence Cloud? Are there official documentation references for the relevant REST endpoints for backup and restore?
Thank you :)
Hi @Arjanita
As far as i know at the moment there’s no supported REST API to “backup & restore” pages or entire spaces in Confluence Cloud. You can script export-like pulls by reading pages (and attachments) via the v2 REST API, e.g., /wiki/api/v2/pages with body-format=atlas_doc_format (structured JSON) or storage, and the content‑body convert endpoints, then later recreate pages with POST calls; but this won’t preserve versions, comments, or permissions like a true backup/restore would. For space-level moves, Atlassian recommends using CSV (preferred) or XML exports from the UI and importing on the destination site; CSV is the current Cloud‑to‑Cloud path, not an API. Atlassian’s Backup & Restore add‑on (with Backup Management APIs) exists, but it operates at the site level (admin scope, 30‑day retention), not per page/space. Also note that PDF/page export endpoints you may see in docs are Data Center only, not Cloud. Unofficial workarounds that script the UI export flow do exist, but they’re unsupported and brittle.
atlas_doc_format)confluence_get_space_export.py (workaround helper)Hi Christos, thank you very much for the fast answer and detailed explanation and references. I’ll give it a try and see how far I can get. Thank you!
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.