stash restore client--failing to restore DB

I tried using the stash backup client. The backup worked fine. I am facing issues while restoring.

I wanted to restore in a fresh directory and DB. A Empty DB is created and when i restore using the restore client, It gets restored and further following the steps I install a stash in a new directory.

The new stash is pointing to the directory on which i have restored my data. when i start stash and configure it and during the DB configuration it asks for an empty DB where as the DB is overwritten by the restore client.

Secondly when i un-tar the backed up tar (from the backup client) i do not see any DB dump or any file related to the DB

Also i want to know the procedure for Restoring.

The Restore procedure writes into the DB and according to the documentation we need to install stash,  whereas while installing stash it needs a Empty DB.Both the Restoring and installation contradict each other.


Also suggest if there is any Disaster Recovery plan for STASH.



1 answer

0 vote

If you've followed the restore instructions in the backup client documentation, the restore should have restored the database data to your empty database and should have created a file with the database connection details. 

Then when you start Stash, assuming you've configured STASH_HOME to point to the restored home, it should detect these settings and connect to the database. You should not see setup screens. You can check that Stash has connected to the correct database under Administration > Database.

With respect to Disaster Recovery, does High availability for Stash provide the information you're looking for?

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