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 votes

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
Community showcase
Published Aug 21, 2018 in Bitbucket

Branch Management with Bitbucket

As a project manager, I have discovered that different developers want to bring their previous branching method with them when they join the team. Some developers are used to performing individual wo...

2,377 views 9 12
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