检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
Example 1: Creating an ECS Backup Scenarios You can back up resources including cloud servers and disks. This section uses an ECS as an example to describe how to create a cloud server backup by calling APIs. For details on how to call APIs, see Calling APIs.
Can I Use a System Disk Backup to Recover an ECS? Yes. Before the recovery, you need to detach the system disk to be recovered from the ECS. You can also use a system disk backup to create an EVS disk.
Context A user has an ECS in the LA-Mexico City1 region, and the ECS has one system disk. To implement cross-region disaster recovery and fast service deployment in a different region, the user needs to create a same ECS with the same data in that region.
Prerequisites The username and password for logging in to an ECS have been obtained. Uninstalling the Agent for Linux Log in to the ECS and run the su -root command to switch to user root. In the home/rdadmin/Agent/bin directory, run the following command to uninstall the Agent.
Quotas can limit the number or amount of resources available to users, such as the maximum number of ECS or EVS disks that can be created. If the existing resource quota cannot meet your service requirements, you can apply for a higher quota. How Do I View My Quotas?
You can create an ECS using an image. Then create a new image from the ECS. Delete the original image and then delete the backup. For details, see section "Creating an Image from a Cloud Server Backup" in the Cloud Backup and Recovery User Guide. Parent topic: Others
Only ECS backups can be used to create images. Notes Images created using a backup are the same, so CBR allows you to use a backup to create only one full-ECS image that contains the whole data of the system disk and data disks of an ECS, in order to save the image quota.
If a message is displayed indicating that the ECS backup cannot be deleted, check whether the backup has been used to create an image and whether the image has been deleted.
If you have enabled CBR when purchasing an ECS but want to disable it afterward, go to the CBR console and then delete all vaults on the cloud server backup, cloud disk backup, SFS Turbo backup, and hybrid cloud backup pages. See Figure 1.
For details about how to reset the password, see Passwords in the Elastic Cloud Server User Guide. If you have installed the password reset plug-in, you can reset the password on the management console. You can reset the password online or offline. Parent topic: Restoration
Only ECS and VBS backups can be shared. Backups can be shared among different projects or users. Debugging You can debug this API through automatic authentication in API Explorer or use the SDK sample code generated by API Explorer.
Figure 8 Installation page for Windows On the ECS page, select the target server and click Remote Login in the Operation column to log in to the ECS as the administrator.
You can also create images from ECS backups and use the images to quickly provision ECSs to restore services. ECS Creating a Cloud Server Backup Creating a Cloud Disk Backup CBR backs up data of a BMS and uses the backup to restore data for the BMS.
When you use a backup of a VMware VM in the IDC to restore data to an ECS, the boot mode of the ECS image must be the same as that of the VMware VM OS, otherwise the ECS may fail to start.
As a result, the ECS encounters an error when uploading /etc/fstab during the bootup and enters maintenance mode. Solution The following uses CentOS as an example. After creating an ECS using an image, log in to the ECS console, click Remote Login in the row of the ECS.
The username and password for logging in to a Windows ECS have been obtained. Procedure Go to the ECS console and log in to the Windows ECS. Choose Start > Control Panel. In the Control Panel window, click User Accounts.
If yes, the operation is complete. cat /etc/resolv.conf Procedure (Windows) Go to the ECS console and log in to the ECS running Windows Server 2012. Click This PC in the lower left corner.
Application Cases Example 1: Creating an ECS Backup Example 2: Implementing Automatic Backup for a Vault Example 3: Querying Backups
Procedure Log in to the ECS console. Log in to the management console. Click in the upper left corner and select a region. Under Computing, click Elastic Cloud Server. In the navigation pane, choose Elastic Cloud Server or Bare Metal Server.
Required actions: ecs:cloudServers:listServerVolumeAttachments ecs:cloudServers:list ecs:cloudServers:showServer Associating EVS disks with a vault EVS When an IAM user associates EVS disks with a vault on the CBR console, the permissions of querying the EVS disk list and details