Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,359,913
Community Members
 
Community Events
168
Community Groups

How to move the data from H2 database to another database ?

We are running Bamboo Server 6.1 in production and it is currently running with the embedded H2 database. Seeing the critical condition and the risks of running with the H2 database, we want to move the database to another DBMS, say MSSQL Server. 

 

Can someone direct me on how to proceed with this process ? Also, will it also backup the database if I take the Export and import it in the new Bamboo instance with an external MSSQL database ?

1 answer

1 accepted

1 vote
Answer accepted

@PerennialDevOps 

You are on right path for production setup. H2 is never recommended for that.

On first part of your question,

On second part of your question,

Thanks @DPK J , can you kindly elaborate more on 

  • Backup SQL DB
  • How to backup current H2 DB ? Or the same is exported alongwith other data when I do Overview > System > Export.

 

DPK J Community Leader Oct 09, 2019

By "Backup SQL DB" I mean using database specific utility to backup your database.

In your case for "MSSQL" Microsoft gives these options - https://docs.microsoft.com/en-us/sql/relational-databases/backup-restore/create-a-full-database-backup-sql-server?view=sql-server-2017

Your DBA might be aware of this.

Like PerennialDevOps likes this

@DPK J Got it. Thanks.

Need your comment at last on, 

  • How to backup current H2 DB ? Or the same is exported alongwith other data when I do Overview > System > Export.
DPK J Community Leader Oct 09, 2019

Yes, you are correct DB backup is part of System Export. And hence, you don’t need to backup internal DB separately.

DPK J Community Leader Oct 09, 2019

@PerennialDevOps  @yash_shanker24 

If this has helped you please mark this as accepted solution and also shade some love by up-vote and like, so that it can help others.

Like PerennialDevOps likes this

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bamboo

Bamboo 9.0 is now available

Hey there, Data Center community! I'm Martyna Wojtas and I am the Product Manager for Bamboo Data Center. I’m excited to share that Bamboo 9.0 is now available. We purpose-built this platform to help...

304 views 0 7
Read article

Atlassian Community Events