When you installed Bamboo, you would have set up a database connection by following one of these processes:
You may later wish to use a different database. For example, the embedded HSQL database is suitable for evaluation purposes only — you would typically move to an external database before deploying Bamboo in production.
To move your Bamboo data to a different database,
- Backup your Bamboo data as described in Exporting Data for Backup. Note the filename and path of the exported file for use in Step 8 below.
- Shut down your old instance of Bamboo.
- If your old instance of Bamboo was configured to start automatically (e.g. as a Windows service), disable it.
- Install a new instance of Bamboo as described in the Bamboo Installation Guide. Specify a different Home Directory* and Installation Directory* from the directories used by your old instance of Bamboo. (If you use the same locations, your existing data will be deleted.)
- Launch your new instance of Bamboo. You will see the Setup Wizard.
- At Step 1 of the Setup Wizard, ensure that your new Configuration Directory*, Build Data Directory* and Build Working Directory* are in different locations to your old instance of Bamboo.
- At Step 2 of the Setup Wizard, select your new database and follow the appropriate instructions for your chosen database:
- At Step 3 of the Setup Wizard (see screenshot below), select 'Import existing data' and specify the export file created in Step 1 above.
- Wait while Bamboo imports your data. (You will not need to complete any more steps of the Setup Wizard.)
- When the data import has finished, restart your new instance Bamboo.
- Re-index your Bamboo data as described in Optimising or Re-indexing Data.
- Verify that your build results and system settings look the same as before.
*For information about the contents of these directories, please see Locating Important Directories and Files
Screenshot: Setup Wizard — Step 3: 'Starting Data'
