Forums

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

stash restore client--failing to restore DB

irfan siddiqui
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 13, 2015

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
Michael Heemskerk
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 27, 2015

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
TAGS
AUG Leaders

Atlassian Community Events