Relational Database ServiceRelational Database Service

Compute
Elastic Cloud Server
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Networking
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
Domain Name Service
VPC Endpoint
Cloud Connect
Enterprise Switch
Security & Compliance
Anti-DDoS
Web Application Firewall
Host Security Service
Data Encryption Workshop
Database Security Service
Advanced Anti-DDoS
Data Security Center
Container Guard Service
Situation Awareness
Managed Threat Detection
Compass
Cloud Certificate Manager
Anti-DDoS Service
Databases
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GaussDB NoSQL
GaussDB(for MySQL)
Distributed Database Middleware
GaussDB(for openGauss)
Developer Services
ServiceStage
Distributed Cache Service
Simple Message Notification
Application Performance Management
Application Operations Management
Blockchain
API Gateway
Cloud Performance Test Service
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
DevCloud
ProjectMan
CodeHub
CloudRelease
CloudPipeline
CloudBuild
CloudDeploy
Cloud Communications
Message & SMS
Cloud Ecosystem
Marketplace
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP License Service
Support Plans
Customer Operation Capabilities
Partner Support Plans
Professional Services
enterprise-collaboration
Meeting
IoT
IoT
Intelligent EdgeFabric
DeveloperTools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Updated at: Apr 02, 2022 GMT+08:00

Restoring from Backup Files to RDS for SQL Server

Scenarios

This section describes how to use an automated or manual backup to restore a DB instance to the status when the backup was created.

Procedure

  1. Log in to the management console.
  2. Click in the upper left corner and select a region and a project.
  3. Click in the upper left corner of the page and choose Database > Relational Database Service. The RDS console is displayed.
  4. On the Backup Management page, locate the target backup and click Restore in the Operation column.

    Alternatively, click the target DB instance on the Instance Management page. In the navigation pane, choose Backups & Restorations. On the displayed page, locate the backup to be restored and click Restore in the Operation column.

  5. In the displayed dialog box, configure required information and click OK.

    1. Select a restoration method and click OK.
      • Create New Instance
        The Create New Instance page is displayed.
        • The DB engine of the new DB instance is the same as that of the original DB instance and cannot be changed.
        • The original DB instance can be restored to the same or a later DB engine version, as shown in Table 1.

          Microsoft SQL Server 2008 has been brought offline. To restore data of an instance running Microsoft SQL Server 2008, select a later version.

          Table 1 Restoring to specific DB engine versions

          Original DB Engine Version

          Restore To

          2008 R2 Standard Edition

          2012 Standard Edition

          2012 Enterprise Edition

          2014 Standard Edition

          2014 Enterprise Edition

          2016 Standard Edition

          2016 Enterprise Edition

          2017 Standard Edition

          2017 Enterprise Edition

          2012 Web Edition

          2012 Web Edition

          2012 Standard Edition

          2012 Enterprise Edition

          2014 Web Edition

          2014 Standard Edition

          2014 Enterprise Edition

          2016 Web Edition

          2016 Standard Edition

          2016 Enterprise Edition

          2017 Web Edition

          2017 Standard Edition

          2017 Enterprise Edition

          2012 Standard Edition

          2012 Standard Edition

          2012 Enterprise Edition

          2014 Standard Edition

          2014 Enterprise Edition

          2016 Standard Edition

          2016 Enterprise Edition

          2017 Standard Edition

          2017 Enterprise Edition

          2012 Enterprise Edition

          2012 Enterprise Edition

          2014 Enterprise Edition

          2016 Enterprise Edition

          2017 Enterprise Edition

          2014 Standard Edition

          2014 Standard Edition

          2014 Enterprise Edition

          2016 Standard Edition

          2016 Enterprise Edition

          2017 Standard Edition

          2017 Enterprise Edition

          2014 Enterprise Edition

          2014 Enterprise Edition

          2016 Enterprise Edition

          2017 Enterprise Edition

          2016 Standard Edition

          2016 Standard Edition

          2016 Enterprise Edition

          2017 Standard Edition

          2017 Enterprise Edition

          2016 Enterprise Edition

          2016 Enterprise Edition

          2017 Enterprise Edition

          2017 Web Edition

          2017 Web Edition

          2017 Standard Edition

          2017 Enterprise Edition

          2017 Standard Edition

          2017 Standard Edition

          2017 Enterprise Edition

          2017 Enterprise Edition

          2017 Enterprise Edition

        • Storage space of the new DB instance is the same as that of the original DB instance by default.
        • Other settings are the same as those of the original DB instance by default and can be modified. For details, see Buying a DB Instance.
      • Restore to Existing
        • If you have enabled operation protection, click Send Code in the displayed Identity Verification dialog box and enter the obtained verification code. Then, click OK.

          Two-factor authentication improves the security of your account and cloud product. For details about how to enable operation protection, see the Identity and Access Management User Guide.

        • Restoring to an existing DB instance will overwrite data on it and cause the existing DB instance to be unavailable.
        • To restore backup data to an existing DB instance, the selected DB instance must be in the same VPC as the original DB instance and must have the same DB engine and the same or later version than the original DB instance.
        • Ensure that the storage space of the selected DB instance is greater than or equal to the storage space of the original DB instance. Otherwise, data will not be restored.
        • DB instances with the TDE function enabled cannot be restored from backups to existing DB instances.

        Select an existing DB instance and click Next.

    2. Select the databases to be restored. You can rename these databases as required. If you do not enter a new name, the original database name will be used.
      • The new database names must be different from each other and must be different from the original database names.
      • The new database names cannot contain the following fields (case-insensitive): rdsadmin, master, msdb, tempdb, model, and resource.
      • Each database name consists of 1 to 64 characters. Only letters, digits, hyphens (-), and underscores (_) are allowed.

  6. View the restoration result. The result depends on which restoration method was selected:

    • Create New Instance

      A new DB instance is created using the backup data. The status of the DB instance changes from Creating to Available.

      The new DB instance is independent from the original one.

    • Restore to Existing

      On the Instance Management page, the status of the DB instance changes from Restoring to Available.

Follow-up Operations

After the restoration is successful, you can log in to the DB instance for verification.

Backup data cannot be restored to original RDS for SQL Server DB instances. If you need to restore data to your original DB instance, restore backup data to a new or an existing DB instance and then migrate the backup data to the original instance using DRS or change the floating IP address of the new DB instance to that of the original instance.

Did you find this page helpful?

Failed to submit the feedback. Please try again later.

Which of the following issues have you encountered?







Please complete at least one feedback item.

Content most length 200 character

Content is empty.

OK Cancel