All pages
Powered by GitBook
1 of 7

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

REST API

This article describes use cases for the REST API available in Xopero ONE.

With Xopero ONE REST API for DevOps ecosystems, you can automate backup and restore tasks, integrating them seamlessly into your development workflows.


Getting the latest backup plan status

The following guide applies to GitHub, Bitbucket & GitLab only.

First, use the authorization method to obtain a token, which allows you to perform further operations. After obtaining the token, select the appropriate authentication method as described in the API authentication article.

Once authorized, you can use the getMany method to list all your organizations along with their backup plans and most recent statuses.


Activating a license for the repository

First, use the authorization method to obtain a token, which allows you to perform further operations. After getting the token, select the appropriate authentication method as described in the API authentication article.

Once authorized, use the getMany method to find the repository names and IDs required for the next step. After collecting the repository IDs, use the Activate method with an array of the selected repository IDs to activate the license.


Deactivating the license for the repository

First, use the authorization method to obtain a token, which allows you to perform further operations. After getting the token, select the appropriate authentication method as described in the API authentication article.

Once authorized, use the getMany method to find the repository names and IDs required for the next step. After collecting the repository IDs, use the Deactivate method with an array of the selected repository IDs to deactivate the license.


Attach repository to a backup plan

First, use the authorization method to obtain a token, which allows you to perform further operations. After getting the token, select the appropriate authentication method as described in the API authentication article.

Once authorized, use the getMany method (GitOrganizationController) to find the backup plan ID and the getMany method (GitRepositoryController) to obtain the repository ID. After collecting the repository and plan IDs, use the Attach method with the selected repository ID and plan ID pair.

GitHub Enterprise

This article describes use cases for GitHub Enterprise available in Xopero ONE.

Use cases for GitHub Enterprise in Xopero ONE show common scenarios for backing up and restoring repository data.


Cross recovery

One use of backups is cross-recovery of data between different Git providers. However, not all data can be restored across organizations. For details on cross-recovery possibilities, see .


Backup

Using Xopero ONE, you can create backup plans for your organization. These plans can cover a single repository or multiple repositories, depending on your needs.


Achieve goals

Using backups can also help reduce expenses on your Git service. Xopero ONE allows you to keep repositories in backup storage, so you can remove them from the Git platform.

This archiving is managed through the retention policy, which lets you decide how long to store your repositories.


If you already have a repository backup, you can restore it to any organization added to your Xopero ONE console, including between Git instances or even across different Git providers.

Restoration

this article

DevOps

REST API
Bitbucket
Bitbucket DC
GitHub
GitHub Enterprise
GitLab
Cover
Cover
Cover
Cover
Cover
Cover

Bitbucket

This article describes use cases for Bitbucket available in Xopero ONE.

Use cases for Bitbucket in Xopero ONE show common scenarios for backing up and restoring repository data.


Cross recovery

One use of backups is cross-recovery of data between different Git providers. However, not all data can be restored across organizations. For details on cross-recovery possibilities, see .


Backup

Using Xopero ONE, you can create backup plans for your organization. These plans can cover a single repository or multiple repositories, depending on your needs.


Achieve goals

Using backups can also help reduce expenses on your Git service. Xopero ONE allows you to keep repositories in backup storage, so you can remove them from the Git platform.

This archiving is managed through the retention policy, which lets you decide how long to store your repositories.


If you already have a repository backup, you can restore it to any organization added to your Xopero ONE console, including between Git instances or even across different Git providers.

Restoration

this article

GitHub

This article describes use cases for GitHub available in Xopero ONE.

Use cases for GitHub in Xopero ONE show common scenarios for backing up and restoring repository data.


Cross recovery

One use of backups is cross-recovery of data between different Git providers. However, not all data can be restored across organizations. For details on cross-recovery possibilities, see .


Backup

Using Xopero ONE, you can create backup plans for your organization. These plans can cover a single repository or multiple repositories, depending on your needs.


Achieve goals

Using backups can also help reduce expenses on your Git service. Xopero ONE allows you to keep repositories in backup storage, so you can remove them from the Git platform.

This archiving is managed through the retention policy, which lets you decide how long to store your repositories.


If you already have a repository backup, you can restore it to any organization added to your Xopero ONE console, including between Git instances or even across different Git providers.

Restoration

this article

GitLab

This article describes use cases for GitLab available in Xopero ONE.

Use cases for GitLab in Xopero ONE show typical scenarios for backing up and restoring repository and project data.


Cross recovery

One use of backups is cross-recovery of data between different Git providers. However, not all data can be restored across organizations. For details on cross-recovery possibilities, see .


Backup

Using Xopero ONE, you can create backup plans tailored to your organization. Backup plans can cover a single repository, multiple repositories, or entire groups within your GitLab organization, depending on your needs.


Achieve goals

Using backups can also help reduce expenses on your Git service. Xopero ONE allows you to keep repositories in backup storage, so you can remove them from the Git platform.

This archiving is managed through the retention policy, which lets you decide how long to store your repositories.


If you already have a repository backup, you can restore it to any organization added to your Xopero ONE console, including between Git instances or even across different Git providers.

Restoration

this article

Bitbucket DC

This article describes use cases for Bitbucket DC available in Xopero ONE.

Use cases for Bitbucket DC in Xopero ONE show common scenarios for backing up and restoring repository data.


Cross recovery

One use of backups is cross-recovery of data between different Git providers. However, not all data can be restored across organizations. For details on cross-recovery possibilities, see .


Backup

Using Xopero ONE, you can create backup plans for your organization. These plans can cover a single repository or multiple repositories, depending on your needs.


Achieve goals

Using backups can also help reduce expenses on your Git service. Xopero ONE allows you to keep repositories in backup storage, so you can remove them from the Git platform.

This archiving is managed through the retention policy, which lets you decide how long to store your repositories.


If you already have a repository backup, you can restore it to any organization added to your Xopero ONE console, including between Git instances or even across different Git providers.

Restoration

this article