The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to backup Stash?

Daniel Urstöger
Contributor
May 28, 2012

Hi guys,

what would be the best way to make a proper backup for a Stash instance?
Do I just need to save the home directory or is there something else?

Thanks!

Greetings,
Daniel

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Answer accepted
rverschoor
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
May 28, 2012

If you're not using an external database, then backing up the Stash home directory is indeed the way to go.
Make sure that Stash is not running when you make the backup.
See also the Data recovery and backups documentation page.

Daniel Urstöger
Contributor
May 28, 2012

Thanks for the quick reply.

So what I will do, is create a bash script that stops stash, backup the data and start stash afterwards.

TAGS
AUG Leaders

Atlassian Community Events