Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

I have restored my bitbucket using mysql dump, but I can able to see the repositories?

I have restored my bitbucket using mysql dump, but I can able to see the repositories?

2 answers

1 accepted

1 vote
Answer accepted
Pramodh Community Leader Feb 12, 2021

No, you will only be able to see the metadata!

To restore the entire content you have to restore your home directory too... Particularly shared directory. That's where your repository data is stored not in the database!

Thanks,
Pramodh

I am trying to build a backup server for bitbucket from the mysql dump backup file. As per my knowledge our mysql backup's also backup the repositories. Any suggestions to get the repositories from the dump file?

 

Can you tell me where exactly the repositories are located. I mean the path 

Pramodh Community Leader Feb 14, 2021

Hi @Praneeth Gujja 

MySQL dump does not backup your repositories.

You have to restore the shared directory to get the repository data from your primary instance to an instance where you are restoring

Backup.png

Please follow the guide here

https://confluence.atlassian.com/bitbucketserver/data-recovery-and-backups-776640050.html

Thanks,
Pramodh

0 votes

Repositories are not kept in the database.

What are you trying to do with this "restore"?  Are you migrating to another server, reverting to a backup because of a fault, or something else?

I am trying to restore it to another server as a backup bitbucket server 

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket

New improvements to user management in Bitbucket Cloud 👥

Hey Community! We’re willing to wager that quite a few of you not only use Bitbucket, but administer it too. Our team is excited to share that we’ll be releasing improvements throughout this month of...

3,840 views 10 16
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you