How do I back up a Confluence space?
Run atlassian-cli confluence bulk export --cql "space = DEV" --format json --output backup.json. That pulls every page in the space into one JSON file you can store in S3 / Git / anywhere. Attach the matching attachments via the attachment group. End-to-end script in the Confluence backup runbook.
Can I sync Markdown files into Confluence?
Yes. The usual pattern is: render Markdown to Confluence storage format with pandoc, then pass the HTML to confluence page create or confluence page update. The markdown → Confluence runbook contains a production-ready script with idempotent upserts keyed by page title.
What is CQL and how do I use it?
Confluence Query Language. Same shape as Jira's JQL but with Confluence-specific fields: space = DEV, type = page, label = onboarding, lastmodified >= "2026-01-01". Combine clauses with AND / OR. The CLI accepts CQL directly: atlassian-cli confluence search cql "space = DEV AND type = page AND label = onboarding".
Is there dry-run mode for bulk operations?
Yes. Every confluence bulk subcommand accepts --dry-run, which prints the exact list of pages that would be affected without calling the mutating API. Run it first, sanity-check the list, then re-run without the flag.
Does it work with Confluence Data Center?
Primary target is Confluence Cloud. Some Data Center instances expose compatible v2 REST APIs, but support varies — check the GitHub repo for the current DC status.
Is it free?
Yes — MIT-licensed, open source. You need an Atlassian Cloud subscription for the Confluence instance itself, but the CLI is free for any use.