![]() As Selenium can’t interact with windows dialogs the AutoIt3 script is used instead during the import process. The keys of all projects that were imported were taken from a separate file containing the Spaces and their related Jira projects. It automatically logs in to the Confluence cloud using a user with admin privileges and imports the previously exported spaces - exactly the way a user would do it if it was manually run from the admin panel. The Python script we used is based on Selenium libraries and AutoIt3 script.action exportSpace -space "MySpace1" -file "C:\ExportSpaces\MySpace1.zip" Import spaces The script export_spaces.txt contained individual commands for every space, e.g.:.autoIt3 installation (In the environment path variable need to be included path of the autoIt3 installation folder)Īcli -action run -file "export_spaces.txt" > export.log. ![]() ![]() Chromedriver (the same version as Chrome).ACLI client installed on the OS where migration is executed from (Windows in our case).Confluence CLI plugin installed on both source and target confluence instances.The users should be migrated in advance.The process that we finalized, in brief, was to bulk export the spaces with ACLI, import them using Python script and verify the results. 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. So we decided to manually transfer the data in XML format. 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.Ītlassian is currently working on a confluence migration tool, but it is not ready yet, and we cannot wait for it. This approach was not applicable in our case due to intellectual property issues and other problems that we have identified. The Atlassian documentation guided us to use server instance as a middle step of the confluence cloud-to-cloud migration. We had to make a partial migration of confluence data from one cloud to another.
0 Comments
Leave a Reply. |