Help Center/ Relational Database Service/ User Guide/ Working with RDS for SQL Server/ Data Restorations/ Restoring from Backup Files to RDS for SQL Server Instances
Updated on 2025-08-15 GMT+08:00

Restoring from Backup Files to RDS for SQL Server Instances

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 of the page and choose Databases > Relational Database Service.
  3. On the Backups page, locate the target backup and click Restore in the Operation column.

    Alternatively, click the target DB instance on the Instances 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.

  4. In the displayed dialog box, specify required information and click OK.

    1. Select a restoration method.
      • Create New Instance
        The Create New Instance page is displayed.
        • The DB engine of the new instance is the same as that of the original instance.
      • Restore to Original
      • Restore to Existing

        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 (-), underscores (_), and periods (.) are allowed.

  5. 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.

      A full backup is triggered after the new DB instance is created.

    • Restore to Original

      On the Instances page, the status of the target existing DB instance changes from Restoring to Available. If the target existing DB instance contains read replicas, the read replica status is the same as the target existing DB instance status.

      After the restoration is complete, a full backup will be automatically triggered.

    • Restore to Existing

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

      After the restoration is complete, a full backup will be automatically triggered.