Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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 7.1 is here and is packed with value!

I'm happy to announce that Bamboo 7.1 has been released and it’s overflowing with awesome new features. Top-voted issues First and foremost, a bunch of JAC top voted issues has been delivered - y...

653 views 1 6
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you