Skip to content

Commit 6f97e7a

Browse files
SQL backup - command fixes
1 parent c5c647f commit 6f97e7a

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

articles/backup/backup-azure-sql-database.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Back up SQL Server databases to Azure
33
description: This article explains how to back up SQL Server to Azure. The article also explains SQL Server recovery.
44
ms.topic: conceptual
5-
ms.date: 09/06/2023
5+
ms.date: 09/21/2023
66
author: AbhishekMallick-MS
77
ms.author: v-abhmallick
88
---
@@ -158,7 +158,7 @@ To configure simultaneous backups, follow these steps:
158158

159159
- Under `EnableLocalDiskBackupForBackupTypes`, list the backup types that you want to store locally.
160160

161-
For example, if you want to store the *Full* and *Log* backups, mention `[Full”, “Log]`. To store only the log backups, mention `[Log]`.
161+
For example, if you want to store the *Full* and *Log* backups, mention `["Full", "Log"]`. To store only the log backups, mention `["Log"]`.
162162

163163
- Under `LocalDiskBackupFolderPath`, mention the *path to the local folder*. Ensure that you use the *double forward slash* while mentioning the path in the JSON file.
164164

@@ -168,8 +168,8 @@ To configure simultaneous backups, follow these steps:
168168

169169
```JSON
170170
{
171-
"EnableLocalDiskBackupForBackupTypes": [Log],
172-
"LocalDiskBackupFolderPath": E:\\LocalBackup,
171+
"EnableLocalDiskBackupForBackupTypes": ["Log"],
172+
"LocalDiskBackupFolderPath": "E:\\LocalBackup",
173173
}
174174

175175
```
@@ -196,15 +196,15 @@ To configure simultaneous backups, follow these steps:
196196

197197
```azurepowershell
198198
$cred = Get-Credential
199-
New-SmbGlobalMapping -RemotePath <FileSharePath> -Credential $cred -LocalPath <LocalDrive>: -FullAccess @(<Comma Separated list of accounts>) -Persistent $true
199+
New-SmbGlobalMapping -RemotePath <FileSharePath> -Credential $cred -LocalPath <LocalDrive>: -FullAccess @("<Comma Separated list of accounts>") -Persistent $true
200200

201201
```
202202

203203
**Example**:
204204

205205
```azurepowershell
206206
$cred = Get-Credential
207-
New-SmbGlobalMapping -RemotePath \\i00601p1imsa01.file.core.windows.net\rsvshare -Credential $cred -LocalPath Y: -FullAccess @("NT AUTHORITY\SYSTEM","NT Service\AzureWLBackupPluginSvc") -Persistent $true
207+
New-SmbGlobalMapping -RemotePath \\i00601p1imsa01.file.core.windows.net\rsvshare -Credential $cred -LocalPath Y: -FullAccess @("NT AUTHORITY\SYSTEM","NT Service\AzureWLBackupPluginSvc") -Persistent $true
208208
```
209209
210210
## Next steps

0 commit comments

Comments
 (0)