Backup Storage
What is Backup Storage?
A backup storage is a storage server that stores VM image templates, including ISO image files.
- A backup storage must be attached to a zone before the resources in the zone can
access it. Note that you can share images across multiple zones by using the backup storage.
Figure 1. Backup Storage 
- To better manage backup storage and zones, the UI specifies that one backup storage can only correspond to one zone. In the UI, when you add a backup storage, the backup storage will be attached to the current zone by default. When you delete a zone, the backup storage attached to the zone will also be deleted.
Backup Storage Type
- ImageStore
- Stores image files by means of image slices and supports incremental storage.
- Allows you to create snapshots and images when VM instances are running or stopped.
- Allows you to clone VM instances without data volumes when these VM instances are running, paused, or stopped.
- Allows you to clone VM instances with data volumes when these VM instances are running, paused, or stopped, and with storage types of LocalStorage, NFS, SharedMountPoint (SMP), Ceph, or SharedBlock.
- Supports image synchronization across ImageStore backup storage on the same management node.
- Allows you to obtain the existing image files under the URL path in the backup storage.
- Ceph
- Stores image files by means of Ceph distributed block storage.
- Allows you to create snapshots and images when VM instances are running or stopped.
- Allows you to clone VM instances without data volumes when these VM instances are running, paused, or stopped.
- Allows you to clone VM instances with data volumes when these VM instances are running, paused, or stopped, and with the storage type of Ceph.
- Allows you to export images on the UI or backup storage.
- You can export images, copy exported image URLs, and download exported images on the UI.
- You can also export images on a backup storage.
For example, assume that the image path you use is ceph://bak-t-c9923f9821bf45498fdf9cdfa1749943/61ece0adc7244b0cbd12dafbc5494f0c.
Then, run the following command on the backup storage:rbd export -p bak-t-c9923f9821bf45498fdf9cdfa1749943 --image 61ece0adc7244b0cbd12dafbc5494f0c --path /root/export-test.image # bak-t-c9923f9821bf45498fdf9cdfa1749943 is the name of the pool where the image resides. # 61ece0adc7244b0cbd12dafbc5494f0c is the name of the image. # /root/export-test.image is the name of the exported file.
- AliyunEBS
- Stores image by means of object storage.
- Allows you to create snapshots and images when VM instances are running or stopped.
- Allows you to clone VM instances without data volumes when these VM instances are running, paused, or stopped.
- Does not allow you to clone VM instances with data volumes.
- Allows you to export images on backup storage. For more information, contact the official technical support.
Backup Storage | Primary Storage
| PS/BS | ImageStore | Ceph |
| LocalStorage | ○ | × |
| NFS | ○ | × |
| SMP | ○ | × |
| Ceph | ○ | ○ |
| SharedBlock | ○ | × |
- When primary storage are LocalStorage, NFS, or SMP, the default type for backup storage is ImageStore.
- When primary storage are NFS or SMP, you can manually mount the corresponding shared directories to the local directories of the corresponding backup storage. In this regard, both primary storage and backup storage can use the network shared storage.
- When primary storage is Ceph, you can use the primary storage in the same Ceph cluster as backup storage. You can also use the ImageStore primary storage as backup storage.
- When primary storage is SharedBlock, the default type for backup storage is ImageStore.
- When primary storage is AliyunNAS, the default type for backup storage is ImageStore.
- When primary storage is AliyunEBS, the default type for backup storage is AliyunEBS.
Add a Backup Storage
On the main menu of ZStack Cube Ultimate, choose . On the Backup Storage page, click Add Backup Storage. Then, the Add Backup Storage page is displayed.
- Add an ImageStore backup storage.
- Add a Ceph backup storage.
- Add an AliyunEBS backup storage.
Add an ImageStore Backup Storage
- Zone: By default, the current zone is displayed.
- Name: Enter a name for the backup storage.
- Description: Optional. Enter a description for the backup storage.
- Type: Select ImageStore.
- Backup Storage IP: Enter an IP address for the ImageStore backup storage.
- Mount Path: Enter the mount path of the storage to be
mounted on the ImageStore backup storage. For example,
/cloud_bs
Note:
- We recommend that you mount a large-capacity storage for the directory, and enter the absolute path of the directory.
- The following system directories cannot be used. Otherwise, the
hosts might fail to work properly.
- /
- /dev/
- /proc/
- /sys/
- /usr/bin
- /bin
- Retrieve Existing Image: Optional. Choose whether to
obtain existing images for the ImageStore backup storage.
Note:
- You can obtain existing images from the mount path of the backup storage.
- Only ImageStore backup storage allows you to Retrieve Existing Image.
- SSH Port: Set an SSH port for the backup
storage.
Note: The port must be an integer. Default: 22. - User Name: Use either the default user name (root) or enter a user name for the backup storage.
- Password: Enter the password for the user name.
- Data Network: Optional. If you planned a dedicated
network for data communication between the compute node and the backup
storage, enter its CIDR.
Note:
- If not set, the Cloud uses the management network by default.
- If you planned a dedicated network for data communication between the compute node and the backup storage, add it directly to the Cloud.
- Image Sync Network: Optional. Enter the CIDR of the
image synchronization network.
Note:
- If not set, a management network will be used by default for image synchronization.
- You can synchronize images between ImageStore backup storage within the same management node.
- If you deployed a dedicated network for image synchronization, add it directly to the Cloud.
- Using a dedicated image synchronization network can avoid network congestion and improve transmission efficiencies.
- If you set an image synchronization network for both a source ImageStore and a destination ImageStore backup storage, only the image synchronization network of the destination ImageStore backup storage works.

Add a Ceph Backup Storage
- Zone: By default, the current zone is displayed.
- Name: Enter a name for the backup storage.
- Description: Optional. Enter a description for the backup storage.
- Type: Select Ceph.
- Mon Node: Configure the Ceph monitor for the Ceph
backup storage, including the management IP address, SSH port, user
name, and password of the Ceph monitor.
- Management IP: Enter the IP address of the Ceph monitor.
- SSH Port: Enter the SSH port of the Ceph monitor. Default: 22.
- User Name: Enter the user name of the Ceph monitor.
- Password: Enter the password of the Ceph monitor.
Note:
- You can set the interval that the management node reconnects
the mon node of the Ceph backup storage if the mon IP fails
to be detected. Method:
Go to , locate Interval of Auto-Reconnection to Monitoring Node of Backup Storage, and change its values as needed. Default: 30 seconds.
- You can specify whether to enable automatic reconnection to
the mon node of the Ceph backup storage if the mon IP fails
to be detected. Method:
Go to , locate Auto-Reconnection to Monitoring Node of Backup Storage, and specify whether to enable it as needed. By default, the auto reconnection is enabled.
You can click Add Mon Node to add more Ceph monitors.
- Backup Storage Pool: Optional. Enter a backup
storage pool UUID.
Note:
- You can specify a storage pool for the Ceph backup storage to store images. If not specified, the Cloud creates one automatically.
- To specify a storage pool, make sure that a storage pool is already available in the Ceph cluster. Then you can specify the UUID of a storage pool.
- Data Network: Optional. Enter the CIDR of a data network.
Note:
- If not set, the Cloud uses the management network by default.
- If you planned a dedicated network for data communication between the compute node and the backup storage, add it directly to the Cloud.

Add an AliyunEBS Backup Storage
- Zone: By default, the current zone is displayed.
- Name: Enter a name for the backup storage.
- Description: Optional. Enter a description for the backup storage.
- Type: Select AliyunEBS.
- Mount Path: Enter an Ocean API endpoint.
Note:
- AliyunEBS backup storage sends requests to an Ocean server through this mount path.
- Format: http://Ocean_Server_Domain:Port/ocean/api.
- Bucket: Enter an OSS bucket you added to ZStack Cube Ultimate.
Note: You can specify whether to roll
back objects in OSS buckets if an error occurs when you upload
custom images to Alibaba Cloud EBS backup storage. Method:Go to , locate Rollback Imported Image, and change its value as needed. Default: True.
- Data Network: Optional. If you planned a
dedicated network for data communication between the compute node and
the backup storage, enter its CIDR.
Note: If not set, the Cloud uses the
management network by default.

Manage a Backup Storage
On the main menu of ZStack Cube Ultimate, choose . Then, the Backup Storage page is displayed.
The following table lists the actions that you can perform on a backup storage.
| Action | Description |
|---|---|
| Add Backup Storage | Add a backup storage to the Cloud. |
| Edit Backup Storage | Edit the name and description of the backup storage. |
| Enable Backup Storage | Enable the disabled backup storage. |
| Disable Backup Storage | Disable the backup storage. Note: After a backup storage is
disabled, you cannot add images to this backup storage. However,
you can still use existing images to create VM
instances. |
| Reconnect Backup Storage | Reconnect the backup storage. This action will update the storage
information about the backup storage. Note:
|
| Clean up Data | Clear both the invalid data that have been completely deleted and
the temporary data that were expired on the backup storage to
release storage spaces. Note:
|
| Update Password | Update the password of the backup storage. You need to reconnect the backup storage after the updates. |
| Delete Backup Storage | Delete the backup storage. Note:
|
