Skip to content

Commit f3c2ce0

Browse files
author
Matthew Sebolt
authored
Update restore-a-database-backup-using-ssms.md
1 parent 87a7d0b commit f3c2ce0

File tree

1 file changed

+20
-20
lines changed

1 file changed

+20
-20
lines changed

docs/relational-databases/backup-restore/restore-a-database-backup-using-ssms.md

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -206,29 +206,29 @@ The two examples below perform a restore of `Sales` from a backup located in the
206206

207207
#### E1. Restore a striped backup over an existing database and a shared access signature exists.
208208
A stored access policy has been created with read, write, delete, and list rights. A shared access signature that is associated with the stored access policy was created for the container `https://mystorageaccount.blob.core.windows.net/myfirstcontainer`. The steps are mostly the same if a SQL Server credential already exists. The database `Sales` currently exists on the server. The backup files are `Sales_stripe1of2_20160601.bak` and `Sales_stripe2of2_20160601.bak`.
209-
*
210-
7. Select `https://mystorageaccount.blob.core.windows.net/myfirstcontainer` from the **Azure storage container:** drop-down list if the SQL Server credential already exists, else manually enter the name of the container, `https://mystorageaccount.blob.core.windows.net/myfirstcontainer`.
211-
8. Enter the shared access signature in the **Shared Access Signature:** rich-text box.
212-
9. Click **OK** and the **Locate Backup File in Microsoft Azure** dialog box opens.
213-
10. Expand **Containers** and navigate to `https://mystorageaccount.blob.core.windows.net/myfirstcontainer`.
214-
11. Hold ctrl and select files `Sales_stripe1of2_20160601.bak` and `Sales_stripe2of2_20160601.bak`.
215-
12. Click **OK**.
216-
13. Click **OK** to return to the **General** page.
217-
14. Click **Options** in the **Select a page** pane.
218-
15. Under the **Restore** options section, check **Overwrite the existing database (WITH REPLACE)**.
219-
16. Under the **Tail-log backup** section, uncheck **Take tail-log backup before restore**.
220-
17. Under the **Server connections** section, check **Close existing connections to destination database**.
221-
18. Click **OK**.
209+
210+
1. Select `https://mystorageaccount.blob.core.windows.net/myfirstcontainer` from the **Azure storage container:** drop-down list if the SQL Server credential already exists, else manually enter the name of the container, `https://mystorageaccount.blob.core.windows.net/myfirstcontainer`.
211+
1. Enter the shared access signature in the **Shared Access Signature:** rich-text box.
212+
1. Click **OK** and the **Locate Backup File in Microsoft Azure** dialog box opens.
213+
1. Expand **Containers** and navigate to `https://mystorageaccount.blob.core.windows.net/myfirstcontainer`.
214+
1. Hold ctrl and select files `Sales_stripe1of2_20160601.bak` and `Sales_stripe2of2_20160601.bak`.
215+
1. Click **OK**.
216+
1. Click **OK** to return to the **General** page.
217+
1. Click **Options** in the **Select a page** pane.
218+
1. Under the **Restore** options section, check **Overwrite the existing database (WITH REPLACE)**.
219+
1. Under the **Tail-log backup** section, uncheck **Take tail-log backup before restore**.
220+
1. Under the **Server connections** section, check **Close existing connections to destination database**.
221+
1. Click **OK**.
222222

223223
#### E2. A shared access signature does not exist
224224
In this example the `Sales` database does not currently exist on the server.
225-
7. Click **Add** and the **Connect to a Microsoft Subscription** dialog box will open.
226-
8. Complete the **Connect to a Microsoft Subscription** dialog box and then click **OK** to return the **Select a Backup File Location** dialog box. See [Connect to a Microsoft Azure Subscription](../../relational-databases/backup-restore/connect-to-a-microsoft-azure-subscription.md) for additional information.
227-
9. Click **OK** in the **Select a Backup File Location** dialog box and the **Locate Backup File in Microsoft Azure** dialog box opens.
228-
10. Expand **Containers** and navigate to `https://mystorageaccount.blob.core.windows.net/myfirstcontainer`.
229-
11. Select the backup file and then click **OK**.
230-
12. Click **OK** to return to the **General** page.
231-
13. Click **OK**.
225+
1. Click **Add** and the **Connect to a Microsoft Subscription** dialog box will open.
226+
1. Complete the **Connect to a Microsoft Subscription** dialog box and then click **OK** to return the **Select a Backup File Location** dialog box. See [Connect to a Microsoft Azure Subscription](../../relational-databases/backup-restore/connect-to-a-microsoft-azure-subscription.md) for additional information.
227+
1. Click **OK** in the **Select a Backup File Location** dialog box and the **Locate Backup File in Microsoft Azure** dialog box opens.
228+
1. Expand **Containers** and navigate to `https://mystorageaccount.blob.core.windows.net/myfirstcontainer`.
229+
1. Select the backup file and then click **OK**.
230+
1. Click **OK** to return to the **General** page.
231+
1. Click **OK**.
232232

233233
#### F. Restore local backup to Microsoft Azure storage (URL)
234234
The `Sales` database will be restored to the Microsoft Azure storage container `https://mystorageaccount.blob.core.windows.net/myfirstcontainer` from a backup located at `E:\MSSQL\BAK`. The SQL Server credential for the Azure container has already been created. A SQL Server credential for the destination container must already exist as it cannot be created through the **Restore** task. The `Sales` database does not currently exist on the server.

0 commit comments

Comments
 (0)