Help Center> Cloud Server Backup Service> User Guide> Backup> Replicating a Backup (Across Regions)

Replicating a Backup (Across Regions)

CSBS provides cross-region replication which enables backup replication from the current region to another. You can use a generated replica to create an image in the replica-residing region and provision ECSs.

CSBS Console provides the following three methods of replication:

  • Select a backup from the backup list and perform one-off replication manually.
  • In a backup policy, configure replication rules so as to implement periodic replication of backups that are generated based on the backup policy and that have not been or failed to be replicated to the destination region.
  • Select a backup policy and perform manual replication to replicate backups that have not been or failed to be replicated to the destination region.

This section uses the first method to describe how to replicate a backup. For details about how to use the second and third methods, see Creating a Backup Policy and Executing a Replication Policy at Once respectively.

All the three methods are bound by the following constraints and limitations.

Constraints and Limitations

  • A backup can be replicated only when it meets the following conditions:
    1. It is an ECS backup.
    2. It contains the system disk data.
    3. It is in the Available state.
  • Only backups generated in the current region can be replicated. Replicas cannot be replicated again but can be used to create images.
  • A backup can be replicated to multiple destination regions but can have only one or zero replica in each destination region. The replication convention varies with the replication method:
    • Manual replication: A backup can be replicated to the destination region as long as it has no replica in the destination region; that is to say, a backup can be replicated again if its replica has been deleted.
    • Policy-driven replication: Once a backup has been successfully replicated to the destination region, it cannot be replicated to that region again, even if its replica has been deleted.
  • Only regions with replication capabilities can be selected as destination regions for replication.

Procedure

  1. Log in to the CSBS management console.

    1. Log in to the management console.
    2. Under Storage > Cloud Server Backup Service.

  2. Click the Backups tab and locate the backup you want to replicate. For details, see Viewing a Backup.
  3. Choose Execute > Create Replica in the row of the desired backup. See Figure 1.

    Figure 1 Creating a replica

  4. In the displayed dialog box, set the parameters as described in Table 1.

    Table 1 Parameter description

    Parameter

    Description

    Name

    Replica name

    It is a string of 1 to 255 characters that can contain only digits, letters, underscores (_), and hyphens (-).

    NOTE:

    You can use the default name, which defaults to manual_rep_from_source backup ID.

    Description

    Replica description

    It cannot exceed 255 characters.

    Destination Region

    Region to which the backup is replicated

    Only regions that support replication will be displayed.

    • If the selected region contains only one project, you can directly select the region name.
    • If the selected region has multiple projects, the master project of the region is selected by default and you can select another project if needed.

  5. Click OK.
  6. After the replication is complete, switch to the destination region to view generated replicas. For details, see Viewing a Backup. Then, you can use replicas to create images.