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: azure-sql/managed-instance/log-replay-service-migrate.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -49,6 +49,13 @@ LRS monitors Blob Storage for any new differential or log backups added after th
49
49
50
50
LRS doesn't require a specific naming convention for backup files. It scans all files placed on Azure Blob Storage and constructs the backup chain from reading the file headers only. Databases are in a **restoring** state during the migration process. Databases are restored in [NORECOVERY](/sql/t-sql/statements/restore-statements-transact-sql#comparison-of-recovery-and-norecovery) mode, so they can't be used for read or write workloads until the migration process completes.
51
51
52
+
If you're migrating several databases, you need to:
53
+
54
+
- Place backup files for each database in a separate folder on Azure Blob Storage in a flat-file structure. For example, use separate database folders: `bolbcontainer/database1/files`, `blobcontainer/database2/files`, etc.
55
+
- Don't use nested folders inside database folders as this structure isn't supported. For example, don't use subfolders: `blobcontainer/database1/subfolder/files`.
56
+
- Start LRS separately for each database.
57
+
- Specify different URI paths to separate database folders on Azure Blob Storage.
58
+
52
59
### Autocomplete versus Continuous mode migration
53
60
54
61
You can start LRS in either **autocomplete** or **continuous** mode.
@@ -59,13 +66,6 @@ In case that you plan to keep adding new backup files while migration is in prog
59
66
60
67
After LRS is stopped, either automatically through autocomplete, or manually through cutover, you can't resume the restore process for a database that was brought online on SQL Managed Instance. For example, once migration completes, you're no longer able to restore more differential backups for an online database. To restore more backup files after migration completes, you need to delete the database from the managed instance and restart the migration from the beginning.
61
68
62
-
If you're migrating several databases, you need to:
63
-
64
-
- Place backup files for each database in a separate folder on Azure Blob Storage in a flat-file structure. For example, use separate database folders: `bolbcontainer/database1/files`, `blobcontainer/database2/files`, etc.
65
-
- Don't use nested folders inside database folders as this structure isn't supported. For example, don't use subfolders: `blobcontainer/database1/subfolder/files`.
66
-
- Start LRS separately for each database.
67
-
- Specify different URI paths to separate database folders on Azure Blob Storage.
68
-
69
69
### Migration workflow
70
70
71
71
Typical migration workflow is shown in the image below, and steps outlined in the table.
0 commit comments