Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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

Zero down time backup approach for Bitbucket server home directory ?

Can anyone suggest how to take zero downtime backup of Bitbucket home directory?

we hosted the bitbucket server on xfs type file system.

 

~]$ df -Th /var/atlassian/application-data/bitbucket/
Filesystem                      Type  Size  Used  Avail  Use%  Mounted on
/dev/mapper/rhel-root  xfs     47G  18G   29G    39%    /

1 answer

Read over the doc from Atlassian. Essentially the way zero-downtime backups work is that you create a snapshot of the database and filesystem, then back up the snapshots.  You need to make use of technologies that can do this or it's not possible currently.

In your case, you will need to create an XFS snapshot. You didn't mention what database technology you are using, but the doc has some details around what is required.

@Dave Theodore [Coyote Creek Consulting] 

Hi Dave,

We are using Postgres DB for our Bitbucket server. we using pg_dumpall for taking progress DB dumps. I hope it good enough for taking Posgress DB dumps in our case. 

I did not find proper Atlassian docs on taking Bitbucket server home directory XFS snapshots. kindly share if you could find anything.

is /var/atlassian/application-data/bitbucket/shared directory backup enough for bitbucket server home directory or do we need to take the entire home directory?

Hey @hpatukur : did you find the way to take xfs snapshots? Have exactly the same usecase

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...

291 views 2 10
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