You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/backup/restore-sql-database-azure-vm.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -189,11 +189,11 @@ If the total string size of files in a database is greater than a [particular li
189
189
190
190
## Recover a database from .bak file using SSMS
191
191
192
-
You can use *Restore as Files* operation to restore the database files in `.bak` format while restoring from the Azure portal. Learn more on [how to restore as files](restore-sql-database-azure-vm.md#restore-as-files).
192
+
You can use *Restore as Files* operation to restore the database files in `.bak` format while restoring from the Azure portal. [Learn more](restore-sql-database-azure-vm.md#restore-as-files).
193
193
194
194
When the restoration of the `.bak` file to the Azure virtual machine is complete, you can trigger restore using **TSQL commands** through SSMS.
195
195
196
-
To restore the database files to the *original path on the source server*, remove the `MOVE` clause in from the TSQL restore query.
196
+
To restore the database files to the *original path on the source server*, remove the `MOVE` clause from the TSQL restore query.
197
197
198
198
**Example**
199
199
@@ -203,7 +203,7 @@ To restore the database files to the *original path on the source server*, remov
203
203
```
204
204
205
205
>[!Note]
206
-
>You shouldn’t have the same database files on the target server (restore with replace). Also you can [enable instant file initialization on the target server to reduce the file initialization time overhead](/sql/relational-databases/databases/database-instant-file-initialization?view=sql-server-ver16).
206
+
>You shouldn’t have the same database files on the target server (restore with replace). Also, you can [enable instant file initialization on the target server to reduce the file initialization time overhead](/sql/relational-databases/databases/database-instant-file-initialization?view=sql-server-ver16).
207
207
208
208
To relocate the database files from the target restore server, you can frame a TSQL command using the `MOVE` clauses.
209
209
@@ -220,7 +220,7 @@ To relocate the database files from the target restore server, you can frame a T
220
220
GO
221
221
```
222
222
223
-
If there are more than two files for the database, you can add additional move clauses to the restore query. You can also use SSMS for database recovery using `.bak` files. Learn more on [restoring an SQL database backup using SSMS](/sql/relational-databases/backup-restore/restore-a-database-backup-using-ssms?view=sql-server-ver16).
223
+
If there are more than two files for the database, you can add additional move clauses to the restore query. You can also use SSMS for database recovery using `.bak` files. [Learn more](/sql/relational-databases/backup-restore/restore-a-database-backup-using-ssms?view=sql-server-ver16).
224
224
225
225
>[!Note]
226
226
>For large database recovery, we recommend you to use TSQL statements. If you want to relocate the specific database files, see the list of database files in the JSON format created during the **Restore as Files** operation.
0 commit comments