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% /
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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.