Disable Stash plugins when creating Staging environment

Hi,

I am setting up a staging environment for Stash and wonder how to handle some of the plugins installed in production.

In the production setup we have the Git Mirror Manager plugin installed which synchronizes some of the repos with an external git-server.

My plan is to use the Stash Backup Client when creating the Staging environment as a replica of Production but that will enable the mirror plugin in Staging as well which is not desired.

What would be the recommended path here? I don't feel comfortable starting up the Staging environment with this plugin enabled to disable it post start-up. I would like to disable it before startup, if possible?

Any ideas?

Cheers,

// Svante

1 answer

1 accepted

0 vote
Timothy Chin Community Champion Jun 12, 2014

All you need to do is to disable the addon before running the backup client. Once you're done, renable the add on.

Ok, got it!

But with this solution I need to lock production Stash for the duration of a backup (today approx. 40 minutes)

I would prefer to use my nightly backup (which is good enough for my staging environment) and disable the plugin on file/database level before startup? With this solution there will be no downtime at all.

Possible?

I have created a feature request for this now. Check out https://ecosystem.atlassian.net/browse/UPM-4548

Until then I will use the solution you suggested.

Thnx!

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

1,751 views 1 5
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