Updated on 2025-07-24 GMT+08:00

Backing Up a Repository

Constraints

  • You must have the set permission to back up repositories. For details, see Configuring Repo-Level Permissions.
  • Ensure the repository connectivity.
  • You need to enable the destination region for backup.

Steps

To configure remote backup, choose Settings > Repository Management > Repository Backup on the repository details page.

The repository can be backed up in either of the following modes:

  • Back Up to Another Region: As shown in the following figure, select the region to be backed up, indicating that the current repository will be backed up to another region.
    Figure 1 Backup to another region

  • Back up to Local PC: Back up the repository to your local PC. As shown in the following figure, copy the clone address using HTTPS or SSH. After the clone command is generated, paste it to the local Git client and run the command.
    Figure 2 Backup to local PC