هذه الصفحة غير متوفرة حاليًا بلغتك المحلية. نحن نعمل جاهدين على إضافة المزيد من اللغات. شاكرين تفهمك ودعمك المستمر لنا.

Compute
Elastic Cloud Server
Huawei Cloud Flexus
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Cloud Phone Host
Huawei Cloud EulerOS
Networking
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
VPC Endpoint
Cloud Connect
Enterprise Router
Enterprise Switch
Global Accelerator
Management & Governance
Cloud Eye
Identity and Access Management
Cloud Trace Service
Resource Formation Service
Tag Management Service
Log Tank Service
Config
OneAccess
Resource Access Manager
Simple Message Notification
Application Performance Management
Application Operations Management
Organizations
Optimization Advisor
IAM Identity Center
Cloud Operations Center
Resource Governance Center
Migration
Server Migration Service
Object Storage Migration Service
Cloud Data Migration
Migration Center
Cloud Ecosystem
KooGallery
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP Filing
Support Plans
My Credentials
Customer Operation Capabilities
Partner Support Plans
Professional Services
Analytics
MapReduce Service
Data Lake Insight
CloudTable Service
Cloud Search Service
Data Lake Visualization
Data Ingestion Service
GaussDB(DWS)
DataArts Studio
Data Lake Factory
DataArts Lake Formation
IoT
IoT Device Access
Others
Product Pricing Details
System Permissions
Console Quick Start
Common FAQs
Instructions for Associating with a HUAWEI CLOUD Partner
Message Center
Security & Compliance
Security Technologies and Applications
Web Application Firewall
Host Security Service
Cloud Firewall
SecMaster
Anti-DDoS Service
Data Encryption Workshop
Database Security Service
Cloud Bastion Host
Data Security Center
Cloud Certificate Manager
Edge Security
Managed Threat Detection
Blockchain
Blockchain Service
Web3 Node Engine Service
Media Services
Media Processing Center
Video On Demand
Live
SparkRTC
MetaStudio
Storage
Object Storage Service
Elastic Volume Service
Cloud Backup and Recovery
Storage Disaster Recovery Service
Scalable File Service Turbo
Scalable File Service
Volume Backup Service
Cloud Server Backup Service
Data Express Service
Dedicated Distributed Storage Service
Containers
Cloud Container Engine
SoftWare Repository for Container
Application Service Mesh
Ubiquitous Cloud Native Service
Cloud Container Instance
Databases
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GeminiDB
GaussDB
Distributed Database Middleware
Database and Application Migration UGO
TaurusDB
Middleware
Distributed Cache Service
API Gateway
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
Multi-Site High Availability Service
EventGrid
Dedicated Cloud
Dedicated Computing Cluster
Business Applications
Workspace
ROMA Connect
Message & SMS
Domain Name Service
Edge Data Center Management
Meeting
AI
Face Recognition Service
Graph Engine Service
Content Moderation
Image Recognition
Optical Character Recognition
ModelArts
ImageSearch
Conversational Bot Service
Speech Interaction Service
Huawei HiLens
Video Intelligent Analysis Service
Developer Tools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Content Delivery & Edge Computing
Content Delivery Network
Intelligent EdgeFabric
CloudPond
Intelligent EdgeCloud
Solutions
SAP Cloud
High Performance Computing
Developer Services
ServiceStage
CodeArts
CodeArts PerfTest
CodeArts Req
CodeArts Pipeline
CodeArts Build
CodeArts Deploy
CodeArts Artifact
CodeArts TestPlan
CodeArts Check
CodeArts Repo
Cloud Application Engine
MacroVerse aPaaS
KooMessage
KooPhone
KooDrive
On this page

Show all

Configuring an Automated Snapshot Policy

Updated on 2025-03-03 GMT+08:00

You can choose the type of snapshot you need and configure either one or three automated snapshot policies at the cluster level, as well as one or twenty snapshot policies at the schema level for a cluster.

After an automated snapshot policy is enabled, the system automatically creates snapshots based on the time, period, and snapshot type you configured.

Procedure

  1. Log in to the GaussDB(DWS) console.
  2. Choose Dedicated Clusters > Clusters in the navigation pane.
  3. In the cluster list, click the name of the target cluster. The Cluster Information page is displayed.
  4. Click Snapshots and click Policy List. All policies of the current cluster are displayed on the Policy List page. Toggle on Snapshot Policy.
  5. (Optional) Click Automated Snapshot to enable the snapshot policy.

    • indicates that the policy is enabled (default). The default retention period is seven days.
    • indicates that the policy is disabled. Once disabled, snapshots will not be automatically created.

  6. Set the retention mode and the backup device used by the current cluster for automated snapshots. For more information, see Table 1.

    Table 1 Automated snapshot parameters

    Parameter

    Description

    Retention Days

    Retention days of the snapshots that are automatically created. The value ranges from 1 to 31 days.

    NOTE:

    Snapshots that are automatically created cannot be deleted manually. The system automatically deletes these snapshots when their retention duration exceeds the threshold.

    Backup Device

    Select OBS or NFS from the drop-down list.

    NFS Backup File System Address (NFS)

    NFS shared IP address. Enter the IP address of the SFS shared path. After the mounting is successful, a mount directory is created in the /var/chroot/nfsbackup directory of the cluster instance by default.

  7. After automated snapshot is enabled, you can configure its parameters. For more information, see Table 2.

    • If you choose a cluster-level or schema-level full snapshot, you can either create a one-time snapshot or set up periodic snapshots. For schema-level full snapshots, you need to select the database associated with the schema. You can back up one or up to 20 schemas at a time.
      • To schedule periodic full snapshots, you can specify a day of the week or a specific date, and choose a specific time for the snapshot to be triggered.
        Figure 1 Setting a cluster-level periodic full snapshot policy
        Figure 2 Setting a schema-level periodic full snapshot policy
        WARNING:
        • Exercise caution when selecting the 29th, 30th, or 31st as end dates for a month, as this may result in missing data. The specific policy and execution are subject to the actual month and date.
        • The snapshot policy time is the local time.
      • Set a cluster-level or schema-level one-time full snapshot policy. Specify the desired date and time for the snapshot to be triggered.
        Figure 3 Setting a cluster-level one-time full snapshot policy
        Figure 4 Setting a schema-level one-time full snapshot policy
    • Incremental cluster-level or schema-level snapshots can be set only to Periodic.

      You can configure an incremental periodic snapshot policy at the cluster or schema level. Specify a target week or date, along with the trigger time, start time, and interval for the snapshot.

      Figure 5 Setting a cluster-level periodic incremental snapshot policy
      Figure 6 Setting a schema-level periodic incremental snapshot policy
    Table 2 Snapshot policy parameters

    Parameter

    Description

    Snapshot Policy Name

    The policy name must be unique, consist of 4 to 92 characters, and start with a letter. It is case-insensitive and can contain only letters, digits, hyphens (-), and underscores (_).

    Snapshot Level

    The available options are Cluster and Schema.

    Snapshot Type

    You can choose either full or incremental snapshots.

    NOTE:
    • A full snapshot is created after every fifteen incremental snapshots are created.
    • Incremental snapshot restoration is based on full snapshots. Incremental snapshots are used to restore all data to the time point when they were created.
    • An incremental snapshot records the changes made after the previous snapshot was created. A full snapshot backs up the data of an entire cluster. It takes a short time to create an incremental snapshot, and a long time to create a full snapshot. When restoring a snapshot to a new cluster, GaussDB(DWS) uses all snapshots between the latest full backup and the current snapshot.
    • The following versions support automated incremental policies at the schema level:
      • 9.1.0.100 or later
      • 8.3.0.110 or later
      • 8.2.1.230 or later 8.2.1.2xx versions
    • Schema-level policies, the policy level, database, and schema attributes cannot be modified after configuration.

    Policy

    You can choose either periodic or one-time snapshots.

    NOTE:

    One-time can be selected only for full snapshots.

    One-time

    You can create a full snapshot at a specified time in the future. The local time is used.

    Periodic Policy Configurations

    You can create automated snapshots on a daily, weekly, or monthly basis:

    • Days: Specify days for every week or every month. Weekly and Monthly cannot be selected at the same time. For Monthly, the specified days are applicable only to months that contain the dates. For example, if you select 29, no automated snapshot will be created on February, 2022.
    • Time: Specify the exact time on the selected days. For incremental snapshots, you can specify the start time and interval. The interval for cluster-level snapshots ranges from 4 to 24 hours, while for schema-level snapshots, it ranges from 1 to 24 hours. This setting determines the frequency at which snapshots will be taken.
    NOTICE:

    Incremental snapshots can be set only to Periodic, as shown in the first figure below.

  8. Click OK.
  9. (Optional) To modify an automated snapshot policy, click Modify in the Operation column.
  10. (Optional) To preview a policy, click Preview Policy. The next seven snapshots of the cluster will be displayed. If no full snapshot policy is configured for the cluster, the default policy is used, that is, a full snapshot is taken after every 15 incremental snapshots.

    NOTICE:

    Implementation of the same policy varies according to operations in the cluster. For example:

    • If the automated snapshot function is disabled, the configured snapshot policy will not appear on the snapshot preview page.
    • If the fine-grained snapshot function is disabled in the snapshot list, the schema-level automatic policy will not be shown on the preview page.
    • The policy preview time is for your reference only. The cluster triggers a snapshot within one hour before and after the preset time.
    • The next automated snapshots after cluster scale-out, upgrade, resize, and media modification are full snapshots by default.
    • If a periodic policy is used for a cluster, no automatic backup is allowed within 4 hours after the last automated snapshot is complete.
    • In the event of conflicting triggering times between multiple policies, the following priority order applies: cluster-level > schema-level, one-time > periodic, and full > incremental.
    • You can use any backup, full or incremental, to restore the full data of a resource.
    • When both the schema-level automatic incremental policy and the cluster-level full or incremental policies are in use, incremental schema snapshots will automatically be converted to full snapshots when certain conditions are met.

We use cookies to improve our site and your experience. By continuing to browse our site you accept our cookie policy. Find out more

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback