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 example,,, 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 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


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


Lucas Lima

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Dec 10, 2018 in Confluence

Organizing your space just got easier - Page Tree Drag & Drop is here

Hi Community! I’m Elaine, Confluence Product Manager. You may have read my earlier post about page tree in space navigation sidebar. I'm excited to share another improvement that helps you organize ...

204 views 6 7
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