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

Zero down time backup approach for Bitbucket server home directory ?

hpatukur April 12, 2019

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

0 votes
Dave Theodore [Coyote Creek Consulting]
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 12, 2019

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.

hpatukur April 12, 2019

@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?

sujit kumar July 29, 2020

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
AUG Leaders

Atlassian Community Events