We currently have to stop our Bitbucket Server Data Center service during nightly backups. It's proving difficult to find a slot when our users can accept an outage because we have users across the globe in most time zones.
What options do we have to address this? Are there plans to improve built in functionality to enable synchronised file and database backups to be taken without stopping the service?
If you're not already using it, I'd advise you to have a look at the DIY backup documentation.
This will allow you to create a backup of your Data Center instance without shutting down the service completely. There is still a maintenance window, but the DIY backup scripts are generally significantly faster than backup using the backup client.
Thanks for the pointer. To be honest this looks like a lot of work and code we need to create and support when we should be getting something better built in to the product. I'd really like to see something concrete on the roadmap to address this in DC with a built in capability.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The documentation contains a link to fully functional example scripts for supported databases. You do not have to roll your own. You can take the example scripts, add the details of your database and you should be good to go. See https://confluence.atlassian.com/display/BitbucketServer/Using+Bitbucket+Server+DIY+Backup#UsingBitbucketServerDIYBackup-DIYBackupsusingBashscripts for details
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You may also want to vote for/watch this issue: https://jira.atlassian.com/browse/BSERV-4255
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.