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
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.