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,908
Community Members
 
Community Events
168
Community Groups

Bamboo backup restore is too slow

Recently I'm upgrading and migrating my current Bamboo server from 6.4 to 6.10.x ! The backup zip file provided by "Import/Export" option from the Bamboo UI and I'm trying to import that into another Bamboo instance. The size of Backup is ~4GB and the restore process on a machine with SSD, 16 GB of RAM and 8 core CPU takes ~14 hours! Due to limitation of timeframe for the migration, how can I speed up the process ?

 

Thanks

1 answer

1 accepted

0 votes
Answer accepted

Hi @Roozbeh Shafiee

First of all, let me explain why this process is slow. The export feature you are using will get the data from your DB and convert it to a DB independent format (XML) and backup your home directory with it. This process is really slow since every piece of data needs to be converted and then (depending on the configuration used) you will still have the time to pack the home directory. This is necessary when you want to convert your DB data to import it into a clean instance with a different DB flavor. I hope that is not your case.

Assuming you are moving your server to a different machine and keeping the same DB flavor, I would suggest something like:

 

1) Replicate the server to the new location (keeping the version 6.4)

Use the Alternative cloning scenario described in this document: 

This process will not require an export and will be faster to setup.

2) Upgrade the server

Follow the instructions in this document to upgrade your instance:

 

The steps above will not require the use of the Bamboo DB export/import feature and should be a lot faster.

Please, let me know if you have any questions about this.

Thank you so much @Daniel Santos for the links and solution!

after some manual tests and then writing an Ansible playbook for that, it works like a charm and I can migrate/upgrade my Bamboo easily without any pain and blood!

;)

I'm very glad to hear that @Roozbeh Shafiee!
Better when no pain and blood is involved =]

Keep rocking out there!
Have a good one mate!

Like Roozbeh Shafiee 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