I only have Bitbucket-Home.
But don't have database anymore.
How to recover back all my repositories.
Thanks.
Hi speedytnw
Sorry to hear that you Bitbucket instance crashed.
While Bitbucket stores the git data on the filesystem all the metadata (projects, pull requests, web-hooks) are stored in the database.
So in order to restore the instance from only home filesystem you need to:
cd existing-project
git remote set-url origin https://url.com/scm/projectname/reponame.git
git push -u origin --all
git push origin --tags
Best regards
Anton
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.