This page last changed on Mar 03, 2009 by ukuhnhardt.
In case you need to clone your production instance to a test/staging instance in order to prepare migrating to another database or upgrading bamboo.
For example, you may want to transfer your current production snapshot to a test server as permitted in the license agreement.
 | We strongly recommend to duplicate bamboo first and then apply changes such as upgrade or migrating to another database. |
License
Development licenses are available for any Commercial or Academic license. Create one or contact us for help.
Clone Production Instance - Standard
This is the simple and straight forward way to clone your instance
- Export/Backup your current instance
- Copy zip across to new server.
- Install the same version of bamboo on new server
- Point bamboo.home in <bamboo-install>/webapp/WEB-INF/classes/bamboo-init.properties to your new bamboo home directory
- Start the new instance
- Complete the setup wizard, choose 'import existing data',
Clone Production Instance - Alternative
If your current instance has grown too large and export/import does not work you can still clone your instance using an alternative backup and restore strategy.
The purpose is to clone <bamboo-home> and make it available to the new test/clone instance.
- shutdown production bamboo at a convenient time
- Create a backup
embedded DB |
external DB |
- zip <bamboo-production-home> directory, the embedded database will be part of this zip.
|
- zip <bamboo-production-home> directory.
* create a backup with the native tools provided by your DB.
|
- (Optional) reduce the size of this zip by deleting the xml-data/build-dir - this directory only contains working copies of checked out sources.
- restart production bamboo
- transfer the home.zip to your cloned instance and unzip
- edit <bamboo-clone-home>/bamboo.cfg.xml and <bamboo-clone-home>/xml-data/configuration/administration.xml and change the server names/ip addresses according to the new location.
- point bamboo.home of your cloned instance to the unzipped <bamboo-clone-home> directory
- start the bamboo clone
This should give you a perfectly cloned instance.
Your next steps
From here you can upgrade if desired.
After the upgrade you should be able to export your instance without problems and then migrate to another database for instance.
|