The above search and replace ensures that you will change the test oldkey to test2, and change the “Test Space* Old Space Name to Test Space 2.ġ2. Swap out oldkey and newkey for your actual keys. Do four ‘Search & Replaces’ on each of the references to the old space key as shown below. Replace Old Space Name and New Space Name with the actual names.ġ0. You may wish to replace some or all of these references with the new space name. Do a ‘Search’ for any occurrences of the old space name that occur in user content. Swap out Old Space Name and New Space Name for the actual names.ĩ. Do a ‘Search & Replace’ on the old space name as shown below. Open the space backup file with a zip file editor and find the file entities.xml.Ĩ. Go to Browse Space -> Advanced -> Export Space and export the target space as XML including attachments.Ħ. On the test server, login as an administrator.Ĥ. (For instructions, see Migrating Confluence Between Servers.) You should now have a production server and test server both containing the same data and can avoid the risk of corrupting your production Confluence instance.ģ. Clone your production Confluence instance to a test server on another computer now. Space keys may only consist of ASCII letters or numbers (A-Z, a-z, 0-9) and no empty spaces are allowed in the key.Ģ. Select a new, unique space key and name for the second space. * Read the process in full before beginning.ġ. * When importing a space export for a space that already exists, the previous space content will be overwritten. You need to substitute your own keys for oldkey and newkey, and your own space names for Old Space Name and New Space Name. * Where examples are given, they involve changing oldkey:Old Space Name into newkey:New Space Name. Users running older versions are recommended to upgrade Confluence before continuing. * The instructions have been confirmed for Confluence 2.2 onwards. * May require manually updating external links to that space. Option 2: Manually Clone Or Rename A SpaceĪlternatively, it is possible to manually clone or rename a space by modifying an XML backup of the target space. If this occurs, please ensure that your space has not been created before attempting to copy the space again. Note that copying a space can take a long time and may appear to time out when using this plugin (even when the copied space is created correctly). Note that this plugin is still in beta release, and is not officially supported by Atlassian. The best option is to install the Copy Space Plugin.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |