Bamboo data migration from Postgres to MS SQL Server - tinyInt as boolean

We're attempting to migrate Bamboo databases from postgres to SQL Server. We noticed that true/false in Postgres needs to be converted to a tinyInt in SQL Server.

What should the values map to? True = 1 and False = 0 ? We tried doing that and are seeing a couple different errors in the log file:

 

'Retrieving MANAGER-CIM' threw org.apache.commons.configuration.ConversionException: 'cleanWorkingDirectory' doesn't map to a Boolean object, aborting.

and

org.apache.commons.configuration.ConversionException: 'triggers.defined' doesn't map to a Boolean object

2 answers

1 accepted

During our conversion we accidentally changed some false values to "false" in the build_dscription table and that's where these errors came from.

It appears our assumption to use 1-0 for True-False respectively worked.

better way to do this is using bamboo xml export and import feature.

you can export an entire site xml backup and restore it back after connecting to mssql database

Suggest an answer

Log in or Join to answer
Community showcase
Renan Battaglin
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,073 views 0 5
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot