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

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 @Hanmanth Reddy Patukuri : 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

Powering DevOps with Bitbucket Server & Data Center

Hi everyone, The Cloud team recently announced 12 new DevOps features that help developers ship better code, faster   ! While we’re all excited about the new improvements to Bitbucket ...

1,826 views 0 7
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