Restoring stash with backup/restore client

We use an external SQL Server database for our stash instance. It isn't totally clear in this configuration whether or not the database must be backed up separately, and what preparation must be done to restore stash from a backup generated by the client.

I have attempted to test a restore from a stash backup, starting with an empty stash-home and database (on our SQL server), which the stash-backup.properties file has been modified to reflect. The restore ran for a few seconds, then issued a statement to the effect of "verifying the database before restoring". It's been sitting in this state for over an hour.

Any guidence on how I would need to verify a backup would be greatly appreciated.

2 answers

1 accepted

We ultimately had to move away from the backup client due to the size of the stash filesystem, and the amount of time it was taking to back it up. We couldn't afford to have stash locked for that duration.

We now backup the stash filesystem and database separately using traditional backup technologies, coordinating the time of the backups

I have same issue.

Some data are missing after restore.

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 12, 2018 in Bitbucket

Do you use any Atlassian products for your personal projects?

After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...

28,253 views 26 12
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