All Products
Search
Document Center

Back up a user-created database in an on-premises data center connected to Alibaba Cloud through Express Connect to OSS or DBS

Last Updated: Jun 11, 2020

Database Backup (DBS) allows you to back up user-created databases in on-premises data centers that are connected to Alibaba Cloud through Express Connect to Object Storage Service (OSS) or DBS. This topic describes how to back up a user-created MySQL database deployed in an on-premises data center that is connected to Alibaba Cloud through Express Connect to OSS or DBS.

Before you begin

Before you configure a backup schedule, you must configure the connection between the on-premises data center and the DBS server. The following configurations are required:

  1. Make sure that the specified Virtual Private Cloud (VPC) can access the user-created database in your on-premises data center through Express Connect.
  2. Configure a route in the route table of the virtual border router (VBR) of Express Connect to forward access traffic to DBS through the VBR. To configure a route, follow these steps:

    1. Log on to the Express Connect console.

    2. In the left-side navigation pane, choose Virtual Border Routers (VBRs) > Virtual Border Routers (VBRs).

    3. Find the target VBR and click the instance ID. Click the Routes tab, and then click Add Route.

    4. In the dialog box that appears, configure the route.

      • Target Segment: the DBS Classless Inter-Domain Routing (CIDR) block corresponding to the region of the VPC.
      • Next Jump Type: the type of the next hop. Set this parameter to VPC.
      • Router Interface: the router interface that forwards traffic to the VPC.
  3. On the client device that is connected to Express Connect, configure a static route that is directed to the DBS CIDR block in the following format:

ip route DBS CIDR block {VBR IP address at the Alibaba Cloud side}

For example, if the DBS CIDR block is 100.104.52.0/24 and the VBR IP address at the Alibaba Cloud side is 10.100.0.1, the static route isip route 100.104.52.0/24 10.100.0.1

The DBS CIDR block varies with the region of the VPC. The following table lists the DBS CIDR blocks of regions that support database backup through Express Connect.

Region DBS CIDR block
China (Hangzhou) 100.104.217.0/24
China (Beijing) 100.104.119.0/24
China (Qingdao) 100.104.183.0/24
China (Shanghai) 100.104.191.0/24
China (Shenzhen) 100.104.81.0/24
China (Hong Kong) 100.104.10.0/24
Singapore 100.104.10.0/24
Japan (Tokyo) 100.104.144.0/24
China (Hohhot) 100.104.40.0/24
China (Zhangjiakou) 100.104.48.0/24
US (Virginia) 100.104.220.0/24
US (Silicon Valley) 100.104.17.0/24
Australia (Sydney) 100.104.234.0/24
Germany (Frankfurt) 100.104.133.0/24
Malaysia (Kuala Lumpur) 100.104.10.0/24
Indonesia (Jakarta) 100.104.209.0/24

Configure a backup schedule

Log on to the DBS console. In the left-side navigation pane, click Backup Schedules. On the Backup Schedules page that appears, find the target backup schedule and click Configure Backup Schedule in the Actions column. In the Configure Backup Schedule wizard, set Database Location to Express Connect DB/VPN Gateway/Intelligent Gateway.
14