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 stash-config.properties 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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jun 06, 2018 in Bitbucket

Do you use Bitbucket Cloud and Jira Cloud? If so, let us know!

Hi Community, I'm Julia and I'm on the Jira Software Cloud marketing team!  We're looking for companies or teams using Bitbucket Cloud and Jira Software Cloud. If your team fits the t...

91 views 3 3
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