What are the best practices for bamboo backup?

Our Bamboo server runs off an external SQL Server, which is backed up regularly every night. We have also set up Bamboo to run biweekly backups on a remote file system. Is this necessary? Can I safely disable these backups since they interfer with my nightly builds?

Thanks.

2 answers

1 accepted

2 votes
Accepted answer

If you back up your DB anyway, you can disable the Bamboo's internal backup as long as you back up Bamboo's home directory separately.

You don't have to stop Bamboo to back up the home directory - if there are any inconsistencies on the FS in case of failure, they will be easy to solve.

Thanks.

I haven't seen any settings for backing up the home directory, so I assume this should be handled outside Bamboo. Correct?

Right. You can just rsync it.

@Przemyslaw Bruski Will you please confirm that this information is still valid? My team is putting together a DR recovery plan that includes Bamboo. We have the database hosted externally on a SQL server with good backup/restore practices in place. We are switching off of the "Scheduled Backup" option on Bamboo to a method that involves us backing up the server's home directory on the file system to another location. In our scenario, we lose the server and bring up a new one from a stale template (maybe weeks old). So long as the only changes to occur on the server have been within the Bamboo UI, would it be safe to assume that restoring the home directory from a backup will allow Bamboo to function even though the database would still be in a current state but the home directory would be maybe a day old?

Some thing will go missing (artifacts/logs/successful test results) or go stale (administration configuration changes), but yes, everything should still work. Bamboo upgrades and plugin upgrades are special cases: you need to make sure backup gets refreshed after Bamboo upgrade and installation of plugins.

@Przemyslaw Bruski Thank you for your response.

HI @Przemek Bruski

Actually, we want to take backup of bamboo home dir but when i was looking into the bamboo home size its showing more 100+GB (includes artifacts and all).

Is there any way that we can take only bamboo plans backup so that when we run that plan it will generate the artifact and using plan backup we should restore our data when there is something went wrong.

What are the directories that i need to take the backup of bamboo home so that using which we can restore it back whenever we required and it should contain less space.

Any suggestions are welcome....

Backups are generally very useful for fallback reason should anything unexpected happens. Therefore disabling might not be an option but you can choose to use the native database backup tools or the dump of the database as an alternative.

Is it possible to live backup the SQL Database while Bamboo is still running?

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

807 views 3 9
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