Database Backup (DBS) allows you to use storage pools to store data backups. This topic describes how to add a storage pool and remove a storage pool.

Background information

Before you store data backups in storage pools such as Object Storage Service (OSS) buckets or self-managed Network Attached Storage (NAS) file systems, you must add the storage pools to Database Backup. After you add a storage pool, you can specify the storage pool in a backup policy. This way, data backups that are generated based on the backup policy are stored in the storage pool.

DBS provides a built-in storage space for each region. If you want to store data backups in the built-in storage spaces of DBS, you do not need to add a storage pool.

Add a storage pool

  1. Log on to the DBS console. In the left-side navigation pane, click Storage Pool. On the Storage Pool page, click Add Storage Pool.
  2. Set the parameters to specify a storage pool.
    You can set the Storage Type parameter to NAS or OSS For User.
    • If you set the Storage Type parameter to NAS, set the parameters that are described in the following table to add a self-managed NAS file system as a storage pool.
      Parameter Description
      Storage Type The type of the storage pool. In this example, specify NAS as the value of this parameter.
      Protocol Type The protocol that is used by the storage pool. Valid values:

      NFS: the Network File System (NFS) protocol.

      Connection Method The method that is used to connect to the storage pool. Valid values:
      • VPC: Before you specify a virtual private cloud (VPC), make sure that the self-managed NAS file system is connected to the VPC. We recommend that you set the Connection Method parameter to VPC. For more information, see Connect a data center to a VPC.

        A VPC is a private network that is dedicated to your Alibaba Cloud account. You can connect to a storage pool over a VPC to ensure higher security and lower network latency.

      • Public Network: The self-managed NAS file system is connected to DBS over the Internet.
      Note You are not charged for traffic that is generated when you access the self-managed NAS file system over the Internet. However, the connection may be exposed to security risks. We recommend that you use a VPC to ensure higher security.
      Storage pool name The name of the storage pool.
      Protocol Version

      The version of the NAS file system. If you set the Protocol Type parameter to NFS, only NFS V4 is supported. For more information, see Comparison of Network File System version 4 to Prior Versions.

      Region
      • If you set the Connection Method parameter to VPC, select the region in which the VPC is deployed.
      • If you set the Connection Method parameter to Public Network, select the region in which your NAS file system is deployed or a region that is close to the region in which your NAS file system is deployed.
      Peer VPC The VPC to which the self-managed NAS file system is connected.
      Note This parameter is displayed only if you set the Connection Method parameter to VPC.
      Address The private or public endpoint of the self-managed NAS file system.

      If you set the Connection Method parameter to VPC, you must specify the IP address of the self-managed NAS file system. If you set the Connection Method parameter to Public Network, you can specify the IP address or domain name of the self-managed NAS file system.

      Port Number The port that is used to connect to the self-managed NAS file system.
      NAS Server Path Optional. The mount target of the self-managed NAS file system.
      Storage Capacity The storage capacity of the self-managed NAS file system. Unit: GB. Default value: 1024. Minimum value: 10.
    • If you set the Storage Type parameter to OSS For User, set the parameters that are described in the following table to add an OSS bucket as a storage pool.
      Parameter Description
      Storage Type The type of the storage pool. In this example, specify OSS For User as the value of this parameter. This indicates that an OSS bucket is used as a storage pool. For more information, see What is OSS?.
      Manufacturer By default, Alibaba Cloud is the value of this parameter.
      Storage pool name The name of the storage pool.
      Region The region in which the OSS bucket is deployed.
      Bucket Name The name of the OSS bucket. To view information about existing OSS buckets within your Alibaba Cloud account, go to the Buckets page in the OSS console. If no available buckets exist, create a bucket. For more information, see Create buckets.
      AccessKey ID The AccessKey ID that is used to access the OSS bucket. For information about how to obtain an AccessKey ID, see Obtain an AccessKey pair.
      AccessKey Secret The AccessKey secret that is used to access the OSS bucket. For information about how to obtain an AccessKey secret, see Obtain an AccessKey pair.
      Storage Capacity The storage capacity of the OSS bucket. Unit: GB. Default value: 1024. Minimum value: 10.
  3. Click OK.
    The storage pool is added.

Modify or remove a storage pool

To modify or remove a storage pool, perform the following operations: On the Storage Pool page in the DBS console, find the storage pool that you want to modify or remove, and click Edit or Delete in the Actions column.

What to do next

After you add a storage pool, you can specify the storage pool in a backup policy to store data backups in the storage pool. For more information, see Create a backup policy template or Modify the backup policy of a backup schedule.