You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
We had to make a partial migration of confluence data from one cloud to another.
The Atlassian documentation guided us to use server instance as a middle step of the confluence cloud-to-cloud migration - https://confluence.atlassian.com/cloudkb/migrating-from-confluence-cloud-to-confluence-cloud-691011969.html. This approach was not applicable in our case due to intellectual property issues and other problems that we have identified. Also, from our previous experience with similar procedures, we know that not everything goes as smoothly as expected when a large amount of data is moved around.
Atlassian is currently working on a confluence migration tool, but it is not ready yet, and we cannot wait for it.
So we decided to manually transfer the data in XML format. As we had a list of dozens of spaces that had to be migrated, we had to automate the whole process and we came up with the procedure described below. The process that we finalized, in brief, was to bulk export the spaces with ACLI, import them using Python script and verify the results.
acli --action run --file "export_spaces.txt" >> export.log
--action exportSpace --space "MySpace1" --file "C:\ExportSpaces\MySpace1.zip"
Verified with getPageList command for every exported space on the source and on the target instances using a script that contains a separate command for each space like:
acli --action getPageList --cql "space= MySpace1" --outputFormat 2 --file "space_ MySpace1.log"
We started the export with another command, but it turned out that it does not copy the history of the pages and all pages are shown as created by the user that executes the command.
acli --action copySpace --space "MySpace" --targetServer "https://target.atlassian.net" --name " MySpace " --description "copied space" --copyBlogs --copyAttachments --copyLabels --copyComments --copyPermissions --continue