This article describes how to export and import Polls data from one Confluence instance to another for the Polls for Confluence app.
Introduction
Polls data in Confluence is not specific to a particular space but is global for the entire Confluence instance. Therefore, standard space export/import operations do not restore poll data. However, there are two cases in which you can export/import poll data.
Case1: Migrate to another instance entirely
If you want to migrate to another Confluence instance fully, the following steps are required:
Backup Confluence data from source instance to a file: Administration > Backup & Restore > Export this site > Export.
In the destination Confluence instance:
Install the Polls for Confluence app.
Import backup file: Administration > Backup & Restore > Import Confluence data, choose the archive file, and click Upload and Import.
After this, you would have all Polls for Confluence app data in the destination Confluence instance.
Case2: Migrate data partially
If you do not want to migrate the whole Confluence instance data and move Polls for Confluence app data, you can follow these steps:
In the source Confluence instance, dump the data of the following tables:
AO_7CB12A_OPTION_ENTITY
AO_7CB12A_POLL_ENTITY
AO_7CB12A_VOTE_ENTITY
In the destination Confluence instance:
Install Polls for Confluence app.
Update the license for Polls for Confluence app.
Restore the date of dumped tables.
Now, you would have all Polls for Confluence app data imported into the destination instance.
Remember:
Ensure to take the back up of the database before proceeding.
It is always recommended to test the app data migration in a staging environment first, and then, proceed in the production instance.
Ensure you have appropriate administrative privileges on the source and destination Confluence instances.