Hello,
could you please explain how can I create regular backups of my repositories of all projects which are stored on your machines and stored them on my dedicated machine ?
Regards
Lukas
Hi Lukas,
I would suggest taking a full backup of Bitbucket Server. This will include the repositories and the database and will allow you to perform a full restore, in case of need.
A backup and restore strategy is highly recommended for a production site.
All available strategies are documented on the following page:
Does this help?
Thanks, Caterina - Atlassian
I also see that you raised a similar question here:
How to create backup of the Bitbucket on Azure server ?
Is this on the same topic?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you for your answer I will check site and yes is the same issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Currently we use Bitbucket servers for storing all projects. So for my server machine where I want to save all repositories every day should I install Bitbucket server and then I will be able to make backups ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ok Lukas,
I read your updates on the other thread as well and I now understand that you are trying to create a backup of the repositories hosted on bitbucket.org.
I would suggest creating a script that does the following when needed:
- clone the repositories from bitbucket.org (a clone is a fully usable backup)
- stores the backup in a safe location
- deletes the backup after a predefined amount of time
This will require having a server that can trigger the clone operations and a filesystem to store the data. No additional installation of software is required.
I also would like to understand what is the reason for creating these backups and how are you planning to use them.
You can find more about how Atlassian provides high availability for bitbucket.org on the Does Bitbucket backup my repositories? page. As you can see the repositories are backed up regularly by Atlassian.
Thanks, Caterina - Atlassian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Any solution that is working today to backup all repositories from bitbucket.org?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Any full clone of a repository is essentially a full backup.
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.
Do you need the bitbucket parts of the projects backed up, or just the repositories?
If it just the repositories, you can create a script to list the repositories and clone each in turn.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Lukas Nosko, Are you talking about backing up Bitbucket Cloud to a local server?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes to local server and make it regularly. Have you got some quick steps which I need to follow if I want to achieve these back ups ? We have aproximatelly 30 projects on Bitbucket servers and requirement is to copy all of the projects every day on dedicated machine. I need to install Bitbucket server on this machine or ... ?
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.