Snapshot generation before shutdown?

Hi all

I've been busy setting up our bamboo on demand instance to run the builds we previously ran on our local instance. As many others have already posted about or created tickets for (see for examplehttps://answers.atlassian.com/questions/109719/automated-ebs-snapshots-in-bamboo-ondemand,https://jira.atlassian.com/browse/BAM-11525, https://jira.atlassian.com/browse/AOD-3293), I'm facing the issue of outdated maven repositories on the attached EBS volume as the contents on those volumes are not automatically persisted when the EC2 instance is terminated/shut down.

Specifically, the post at https://answers.atlassian.com/questions/109719/automated-ebs-snapshots-in-bamboo-ondemand is more or less exactly what I want to achieve: automatic generation of a snapshot before shutdown so that all the build artifacts are preserved and don't need to be re-created the next time the instance starts up. However, I was unable to get it to run as suggested in the above post.

Is there anyone who has successfully tackled this issue? If so, how did you do it? If not, any ideas or pointers are greatly appreciated.

Regards, Chris

1 answer

This widget could not be displayed.

Hi,

Maybe you can add a script on /etc/rc0.d , so the script will run at the shutdown time. Just set customised-extras.sh to create the script or something on this way at the boot time.

Cheers,

Lucas Lima

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

299 views 1 4
Join discussion

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