Skip to content

Commit f61b1cf

Browse files
committed
linter fixes
1 parent 29feb8c commit f61b1cf

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

articles/redis/migrate/migration-guide.md

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Open-source Redis can run in many compute environments. Common examples include:
2424
- **Cloud-based VMs** - Redis caches running on Azure VMs, AWS EC2, and so on.
2525
- **Hosting services** - Managed Redis services such as AWS ElastiCache.
2626

27-
If you have such a cache, you may be able to move it to Azure Managed Redis with minimal interruption or downtime.
27+
If you have such a cache, you may be able to move it to Azure Managed Redis with minimal interruption or downtime.
2828

2929
If you're looking to move from one Azure region to another, you [Move Azure Managed Redis instances to different regions](../../azure-cache-for-redis/cache-moving-resources.md).
3030

@@ -35,9 +35,9 @@ There are different ways that you can switch from one cache to another. Dependin
3535
| Option | Advantages | Disadvantages |
3636
| ------------ | ---------- | ------------- |
3737
| Create a new cache | Simplest to implement. | Need to repopulate data to the new cache, which may not work with many applications. |
38-
| Export and import data via RDB file | Compatible with any Redis cache generally. | Some data could be lost, if they're written to the existing cache after the RDB file is generated. |
39-
| Dual-write data to two caches | No data loss or downtime. Uninterrupted operations of the existing cache. Easier testing of the new cache. | Needs two caches for an extended period of time. |
40-
| Migrate data programmatically | Full control over how data are moved. | Requires custom code. |
38+
| Export and import data via RDB file | Compatible with any Redis cache generally. | Some data could be lost, if they're written to the existing cache after the RDB file is generated. |
39+
| Dual-write data to two caches | No data loss or downtime. Uninterrupted operations of the existing cache. Easier testing of the new cache. | Needs two caches for an extended period of time. |
40+
| Migrate data programmatically | Full control over how data are moved. | Requires custom code. |
4141

4242
### Create a new Azure Managed Redis
4343

@@ -47,9 +47,9 @@ General steps to implement this option are:
4747

4848
1. Create a new Azure Managed Redis instance.
4949

50-
2. Update your application to use the new instance.
50+
1. Update your application to use the new instance.
5151

52-
3. Delete the old Redis instance.
52+
1. Delete the old Redis instance.
5353

5454
### Export data to an RDB file and import it into Azure Managed Redis
5555

@@ -61,19 +61,19 @@ Open-source Redis defines a standard mechanism for taking a snapshot of a cache'
6161
6262
General steps to implement this option are:
6363

64-
1. Create a new Azure Managed Redis instance i that is the same size as (or bigger than) the existing cache.
64+
1. Create a new Azure Managed Redis instance that is the same size as (or bigger than) the existing cache.
6565

66-
2. Save a snapshot of the existing Redis cache. You can [configure Redis to save snapshots](https://redis.io/topics/persistence) periodically, or run the process manually using the [SAVE](https://redis.io/commands/save) or [BGSAVE](https://redis.io/commands/bgsave) commands. The RDB file is named “dump.rdb” by default and will be located at the path specified in the *redis.conf* configuration file.
66+
1. Save a snapshot of the existing Redis cache. You can [configure Redis to save snapshots](https://redis.io/topics/persistence) periodically, or run the process manually using the [SAVE](https://redis.io/commands/save) or [BGSAVE](https://redis.io/commands/bgsave) commands. The RDB file is named “dump.rdb” by default and will be located at the path specified in the *redis.conf* configuration file.
6767

6868
> [!NOTE]
6969
> If you’re migrating data within Azure Managed Redis, see [these instructions on how to export an RDB file](../how-to-import-export-data.md) or use the [PowerShell Export cmdlet](/powershell/module/az.rediscache/export-azrediscache) instead.
7070
>
7171
72-
3. Copy the RDB file to an Azure storage account in the region where your new cache is located. You can use AzCopy for this task.
72+
1. Copy the RDB file to an Azure storage account in the region where your new cache is located. You can use AzCopy for this task.
7373

74-
4. Import the RDB file into the new cache using these [import instructions](../how-to-import-export-data.md) or the [PowerShell Import cmdlet](/powershell/module/az.rediscache/import-azrediscache).
74+
1. Import the RDB file into the new cache using these [import instructions](../how-to-import-export-data.md) or the [PowerShell Import cmdlet](/powershell/module/az.rediscache/import-azrediscache).
7575

76-
5. Update your application to use the new cache instance.
76+
1. Update your application to use the new cache instance.
7777

7878
### Write to two Redis caches simultaneously during migration period
7979

@@ -83,13 +83,13 @@ General steps to implement this option are:
8383

8484
1. Create a new Azure Managed Redis instance that is the same size as (or bigger than) the existing cache.
8585

86-
2. Modify application code to write to both the new and the original instances.
86+
1. Modify application code to write to both the new and the original instances.
8787

88-
3. Continue reading data from the original instance until the new instance is sufficiently populated with data.
88+
1. Continue reading data from the original instance until the new instance is sufficiently populated with data.
8989

90-
4. Update the application code to reading and writing from the new instance only.
90+
1. Update the application code to reading and writing from the new instance only.
9191

92-
5. Delete the original instance.
92+
1. Delete the original instance.
9393

9494
### Migrate programmatically
9595

@@ -103,15 +103,15 @@ General steps to implement this option are:
103103

104104
1. Create a VM in the region where the existing cache is located. If your dataset is large, choose a relatively powerful VM to reduce copying time.
105105

106-
2. Create a new Azure Managed Redis instance.
106+
1. Create a new Azure Managed Redis instance.
107107

108-
3. Flush data from the new cache to ensure that it's empty. This step is required because the copy tool itself doesn't overwrite any existing key in the target cache.
108+
1. Flush data from the new cache to ensure that it's empty. This step is required because the copy tool itself doesn't overwrite any existing key in the target cache.
109109

110110
> [!IMPORTANT]
111111
> Make sure to NOT flush from the source cache.
112112
>
113113
114-
4. Use an application such as the open-source tool above to automate the copying of data from the source cache to the target. Remember that the copy process could take a while to complete depending on the size of your dataset.
114+
1. Use an application such as the open-source tool above to automate the copying of data from the source cache to the target. Remember that the copy process could take a while to complete depending on the size of your dataset.
115115

116116
## Related content
117117

0 commit comments

Comments
 (0)