Protect Bitbucket with HYCU Backup

Home > Blog > Protect Bitbucket with HYCU Backup

By: Hemanth Kumar
Published: October 28, 2024
Hyccu Backup

In today’s fast-paced development environment, securing your source code is crucial. The HYCU Protégé module for Bitbucket allows you to securely and seamlessly backup and restore your Bitbucket Projects and Repositories. Your code, which is your most valuable asset, will be fully protected with this guarantee. HYCU Protégé enables you to protect your important information such as source code and commits by securely storing them in the cloud.

Introduction:

With the HYCU Protégé module for Atlassian Bitbucket, you can backup your SaaS application data securely and efficiently. The module protects the content of your Bitbucket projects and repositories, such as the source code, tags, branches, and commits.

How HYCU Protégé Works:

HYCU Protégé starts protecting the data stored in your Bitbucket as soon as you add the Bitbucket module as a source to the platform and assign a backup policy to the associated SaaS application.

Simplified Setup:

  • Add a Source:

To begin backup your Bitbucket projects with HYCU Protégé, the first step is to add Bitbucket as a source within the platform. This allows HYCU Protégé to connect to your Bitbucket account, access your projects and repositories, and backup them based on the policies you configure. Here’s how to set up a source for Bitbucket:   

Create a Source: In HYCU Protégé, start by creating a new source. This is essentially where you’ll configure your API connection to Bitbucket. During this process, you’ll need to provide some key details to ensure a secure and successful setup. Select the target for backup storage.

Provide a Name for the Source: Give your source a unique, identifiable name. This helps you easily recognize and manage multiple sources within HYCU Protégé, especially if you’re backup data from various platforms.

Select a Target for Backup Storage: HYCU Protégé supports a range of cloud storage options. Choose where you want the backup data to be stored. You’ll need to ensure that your target storage has sufficient capacity for the Bitbucket repositories you intend to back up.

Supported targets:

  • Amazon s3
  • Azure
  • Google cloud
  • s3 compatible

Authenticate Your Bitbucket Account: To securely connect HYCU Protégé to your Bitbucket workspace, you’ll need to provide:

  • Bitbucket Workspace Key: This is a unique identifier for your Bitbucket workspace, allowing HYCU to identify and access the repositories you wish to backup.
  • Bitbucket Username: Enter the username of the account with access to the workspace and repositories.
  • Bitbucket App-Password: Instead of using your actual password, Bitbucket provides a more secure way to authenticate through app-passwords. Generate an app-password in Bitbucket and provide it here for secure access to your workspace.
  • Select Projects for Backup:
    • Once the source is configured properly, your Bitbucket Projects from the specified workspace will be listed under the ‘SaaS’ page in HYCU Protégé. From here, you can select the Project(s) you wish to backup.
  • Assign a Backup Policy:
    • Once the project is selected, assign a backup policy to ensure it’s regularly backed up based on the rules you set.
  • Restore Flexibility:
    • In case of data loss or if you need to recover a previous version, HYCU Protégé offers the flexibility to restore either at the project level or down to a specific repository. This makes it easy to manage and protect your data with precision.

Backing up data :

With the Bitbucket backup solution developed on the Hycu platform, Backup is supported at a Bitbucket ‘Project’ level. The Project along with all it’s Repositories, source files, commits, Branches, Tags, LFS file etc would be backed up in to the Cloud. We can automate the backups, by setting the backup frequency in the Policy.

Restoring data :

Once backed up we can restore the whole project with all its repositories or we can restore individual repositories as well. The restored repository would maintain the exact source files and folder structure as the initial repository. The Commits, Branches, Tags and LFS files would be restored as well.

In case when trying to restore a Project or Repository that exists in Bitbucket already, a new Project/Repository will be created by appending the epoch timestamp to the Project/Repository name. Also a random string would be set as the Project/Repository key.

Data Objects supported (HYCU Protégé BitBucket):

Workspaces: Top-level organizational entities in Bitbucket. Contain projects and repositories.

Projects: Projects are containers for repositories in Bitbucket.

Repositories: Repositories hold the version-controlled code, including branches, commits, and files.

Branches: Branches represent different lines of development within a repository.

Tags: Tags mark a specific commit at a point in your repository history.

Commits: Commits are snapshots of changes made to the codebase.

LFS Files: Large File Storage (LFS) is supported by BitBucket for handling large files.

Conclusion :

Backing up your Bitbucket repositories is no longer a complex task with the HYCU Protégé module, brought to you by Microgenesis, a leading digital transformation company. This collaboration provides a simple yet powerful solution for securing your source code and commits, ensuring your data is protected in the cloud. By integrating HYCU Protégé with your Bitbucket workspace, Microgenesis and HYCU make it easy to manage backups, apply customized policies, and restore projects or repositories effortlessly.

Whether you’re a small development team or a large enterprise, HYCU Backup through Microgenesis offers peace of mind that your critical Bitbucket data is always safe and easily recoverable. Start protecting your Bitbucket projects with HYCU and Microgenesis today to ensure continuous protection for your valuable code and repositories!

Start a free trial here today.

Related Articles