Confluence will only allow you to restore a space if a space by that name does not already exist on the site. If you already have a space with the identical name, you will need to delete (or rename) the existing space before restoring the new one.
To restore a space,
Go to the 'Administration Console' and click on 'Backup and Restore' in the left panel.
You can restore data in one of two ways:
- Upload a zipped backup to Confluence
- Browse for the backup file.
- Uncheck 'Build Index' if you want to create the index at a later stage.
- Click 'Upload and Restore'.
- Restore a backup from the filesystem
- Select the backup file from the form field displayed. If you do not see your backup file, make you sure that it has been copied into the /opt/java/src/confluence/deployments/conf.atlassian.com/home/restore directory.
- Click 'Restore'.
Restoring Spaces between Major Releases
As described in the warning above, you cannot restore a space directly between two major versions. i.e. an individual Space backup from 2.2.x cannot be imported into a 2.3.x.
Whilst there is presently no functionality in Confluence that allows you to do so, there is however a manual workaround to this problem.
Please follow the procedure below:
- Create a manual Site Backup
- Configure a separate installation of the Confluence version you want the space export for i.e. the version in which you want the Space Export for
- Use one of the two restoration methods listed here to import the Site Backup.
- After restoring the site backup, create the XML Backup for the Space you want.
- Import this backup into your main Confluence instance and you now have that Space.
This procedure is a manual workaround until proper functionality is implemented.
Remember: Always backup your data before attempting this procedure.
代替手段
Other way is to change the version of a space backup
