Skip to content

Commit 6bb2752

Browse files
authored
Merge pull request #124217 from User670/user670-20240826-fix
fix typos? in backup-sql-server-azure-troubleshoot.md
2 parents 16ff494 + 2b6b80b commit 6bb2752

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

articles/backup/backup-sql-server-azure-troubleshoot.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -276,19 +276,19 @@ The total string size of files depends not only on the number of files but also
276276
```sql
277277
SELECT mf.name AS LogicalName, Physical_Name AS Location FROM sys.master_files mf
278278
               INNER JOIN sys.databases db ON db.database_id = mf.database_id
279-
               WHERE db.name = N'<Database Name>'"
279+
               WHERE db.name = N'<Database Name>'
280280
```
281281

282282
Now arrange them in the following format:
283283

284284
```json
285-
[{"path":"<Location>","logicalName":"<LogicalName>","isDir":false},{"path":"<Location>","logicalName":"<LogicalName>","isDir":false}]}
285+
[{"path":"<Location>","logicalName":"<LogicalName>","isDir":false},{"path":"<Location>","logicalName":"<LogicalName>","isDir":false}]
286286
```
287287

288288
Here's an example:
289289

290290
```json
291-
[{"path":"F:\\Data\\TestDB12.mdf","logicalName":"TestDB12","isDir":false},{"path":"F:\\Log\\TestDB12_log.ldf","logicalName":"TestDB12_log","isDir":false}]}
291+
[{"path":"F:\\Data\\TestDB12.mdf","logicalName":"TestDB12","isDir":false},{"path":"F:\\Log\\TestDB12_log.ldf","logicalName":"TestDB12_log","isDir":false}]
292292
```
293293

294294
If the string size of the content exceeds 20,000 bytes, the database files are stored differently. During recovery, you won't be able to set the target file path for restore. The files will be restored to the default SQL path provided by SQL Server.
@@ -336,7 +336,7 @@ In the preceding content, you can get the logical name of the database file by u
336336
```sql
337337
SELECT mf.name AS LogicalName FROM sys.master_files mf
338338
              INNER JOIN sys.databases db ON db.database_id = mf.database_id
339-
              WHERE db.name = N'<Database Name>'"
339+
              WHERE db.name = N'<Database Name>'
340340
```
341341

342342
This file should be placed before you trigger the restore operation.

0 commit comments

Comments
 (0)