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
It looks like you're new here. Sign in or register to get started.