Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com> Co-authored-by: luhuayi <luhuayi@huawei.com> Co-committed-by: luhuayi <luhuayi@huawei.com>
13 KiB
Creating a Manual Snapshot of a Schema
Overview
A schema snapshot is a backup of specific schemas in a GaussDB(DWS) cluster at a specific point in time. This section describes how to create a schema snapshot on the Snapshots page.
A manual fine-grained snapshot can be created at any time. It will be retained until it is deleted from the GaussDB(DWS) console.
Prerequisites
Manually enable the fine-grained snapshot.
- Choose Management > Snapshots. Alternatively, in the cluster list, click the name of the target cluster to switch to the Cluster Information page. Then, click Snapshots.
- Click Create Snapshot in the upper right corner. Alternatively, choose More > Create Snapshot in the Operation column.
- Click
next to Snapshot Level and click Set.
- On the Snapshot List page, toggle the fine-grained snapshot switch.
Impact on the System
If a snapshot is being created for a cluster, the cluster cannot be restarted, scaled, its password cannot be reset, and its configurations cannot be modified.
Procedure
- Log in to the GaussDB(DWS) console.
- Choose Management > Snapshots. Alternatively, in the cluster list, click the name of the target cluster to switch to the Cluster Information page. Then, click Snapshots.
- Click Create Snapshot in the upper right corner. Alternatively, choose More > Create Snapshot in the Operation column.
- Configure the following snapshot information:
- Cluster Name: Select a GaussDB(DWS) cluster from the drop-down list. The drop-down list only displays clusters that are in the Available state.
- Snapshot Name: Enter a snapshot name. The snapshot name must be 4 to 64 characters in length and start with a letter. It is case-insensitive and contains only letters, digits, hyphens (-), and underscores (_).
- Snapshot Level: Select schema.
- Snapshot Description: Enter the snapshot information. This parameter is optional. Snapshot information contains 0 to 256 characters and does not support the following special characters: !<>'=&"
- Specify the snapshots to be backed up.
- Click Create.
The task status of the cluster for which you are creating a snapshot is Creating snapshot. The status of the snapshot that is being created is Creating. After the snapshot is created, its status becomes Available.
If a snapshot is larger than the available storage space in the cluster, check whether there is data that has been marked as deleted but actually still exists in the cluster. In this case, delete such data and create a snapshot again. For details, see How Can I Clear and Reclaim the GaussDB(DWS) Storage Space?





