tencent cloud

Feedback

Scheduled Snapshots

Last updated: 2020-08-04 10:58:15

    Features

    Tencent Cloud CBS snapshots have the scheduled snapshot feature, which makes it easier for developers to flexibly set backup job policies.
    The following table describes the scheduled snapshot policies recommended for different businesses.

    Scenario Snapshot Policy Snapshot Retention Period
    Core product/service Use scheduled snapshots, with the policy set to once per day. 7 to 30 days
    Non-core and non-data product/service Use scheduled snapshots, with the policy set to once per week. 7 days
    Archive Scheduled snapshot is not required. You can create snapshots manually whenever needed. One month to several months
    Test Scheduled snapshot is not required. You can create snapshots manually whenever needed. Deleted after being used

    Policy Description

    The following table describes the content and features of scheduled snapshot policies, which help you better use snapshots in your businesses.

    Item Description
    Object All cloud disks, including system disks and data disks.
    Policy The point in time for scheduled snapshot creation can be accurate to every hour or every day. A scheduled snapshot policy is valid permanently after being set.
    If you modify a scheduled snapshot policy, it takes effect immediately.
    Scheduled termination(Important) Scheduled snapshots can be terminated periodically. After you set a snapshot lifecycle (1–30 days), scheduled snapshots are automatically deleted upon expiration, which reduces the backup costs.
    If you do not set a scheduled termination policy, scheduled snapshots will be stored permanently.
    Batch You can apply the same scheduled snapshot policy to multiple cloud disks.
    Naming rules Scheduled snapshots are named in the format of snap_yyyyMMdd_HH. yyyyMMdd is the creation date, and HH is the creation hour.
    You can manually modify snapshot names.
    For example, snap_20180418_11 indicates a snapshot that was automatically created on 11:00 April 18, 2018.
    Lifecycle(Important) Snapshot lifecycles vary depending on the snapshot creation method:
  • Manually created snapshots are permanently stored by default as long as the account balance is sufficient.
  • Scheduled snapshots can be terminated periodically or permanently stored.
  • Snapshot conflict Scheduled snapshots do not conflict with custom snapshots in use. However, they may conflict with each other on the creation time.
  • When a snapshot is automatically created for a disk, you can create a custom snapshot only after automatic snapshot creation is complete, and vice versa.
  • If there is a large amount of data on the disk and the time for automatically creating a snapshot exceeds the interval between two time points for automatic snapshot creation, a snapshot is not automatically created in the next time point. For example, if you set 9:00, 10:00, and 11:00 as the time points for automatic snapshot creation and it takes 70 minutes to create the snapshot at 9:00, a snapshot is not automatically created at 10:00 and is only created at 11:00.
  • Snapshot quota Each disk has a certain snapshot quota. If the number of snapshots on a disk has reached the quota limit, the scheduled snapshot task will be suspended or blocked.
    The snapshot quota is used to prevent continuous increase in the storage costs if developers forget a scheduled snapshot policy.
    ASP Indicates the scheduled snapshot policy, that is, Auto Snapshot Policy.
    ASP quota A single Tencent Cloud account can set a maximum of 30 ASPs in each region. An ASP can be associated with a maximum of 200 cloud disks.
    Retention period
  • The console displays the repossession countdown for scheduled snapshots. You can manually change the retention period of scheduled snapshots to permanent.
  • Manually created snapshots are permanently stored.
  • ASP pause
  • An ASP can be manually paused. After it is paused, snapshots are no longer automatically created. However, lifecycles of previously created snapshots are not affected by this function. They will be periodically terminated or permanently stored based on configured rules.
  • Operations logs Show the creation process of all scheduled snapshots, same as that of manually created snapshots.

    Directions

    Creating a scheduled snapshot policy

    Note:

    A single Tencent Cloud account can set a maximum of 30 scheduled snapshot policies in each region.

    1. Log in to the Scheduled Snapshot Policy page.

    2. Select a region.

    3. Click Create, as shown in the following figure:

    4. On the Create a new snapshot policy page, set the following parameters and click OK.

      Parameter Description
      Name Required.
      The name of a scheduled snapshot policy. It can contain up to 60 characters.
      Region Required.
      This parameter cannot be changed on the current page. For more information on how to set this parameter, see Step 2.
      Backup Date Required.
      The date for automatically creating snapshots. Value range: Sunday to Saturday.
      Backup Time Required.
      The time to automatically create snapshots. Value range: 00:00 - 23:00. Due to server performance issues, the actual scheduled snapshot creation time may be slightly different from time set here. In this case, data in a snapshot is based on the actual creation time.
      Retention Period Required.
      • Retained for a fixed number of days. The value range is 1 to 30 days. The default value is 30 days.
      • Permanent

    Associating with cloud disks

    Note:

    A scheduled snapshot policy can be associated with a maximum of 200 cloud disks.

    1. Log in to the Scheduled Snapshot Policy page.
    2. Select a region.
    3. Find the target policy and click Associate Cloud Disks.
    4. On the Associate Cloud Disks page, select cloud disks to associate with.
    5. Click OK.

    Enabling or disabling a scheduled snapshot policy

    1. Log in to the Scheduled Snapshot Policy page.
    2. Select a region.
    3. Find the target policy and click the button in the Scheduled Snapshot column to enable or disable the scheduled snapshot policy.

    Modifying a scheduled snapshot policy

    1. Log in to the Scheduled Snapshot Policy page.
    2. Select a region.
    3. Find the target policy and click Change Policy in the Operation column.
    4. In the Modify snapshot policy dialog box, modify related parameters and click OK. For more information about parameter descriptions, see Step 4).

    Deleting a scheduled snapshot policy

    1. Log in to the Scheduled Snapshot Policy page.
    2. Select a region.
    3. Select either of the following methods to delete scheduled snapshot policies.
      a. To delete a single scheduled snapshot policy, find the target policy and choose More -> Delete.
      b. To delete multiple scheduled snapshot policies, select the scheduled snapshot policies to delete and click Delete above the scheduled snapshot list.

    Setting permanent storage for scheduled snapshots

    Note:

    If Retention Period is set to Permanent for a scheduled snapshot policy, you do not need to perform the following operations for snapshots automatically created using this policy.

    1. Log in to the Snapshot List page.
    2. Select a region.
    3. Click the ID of the target snapshot.
    4. On the details page, click Permanent to permanently store the snapshot.
    5. Return to the snapshot list. Retention Period of the snapshot is changed to Permanent.
    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support