Skip to content

Commit cf33ab9

Browse files
committed
Adding both strategies
1 parent 658c2ee commit cf33ab9

File tree

2 files changed

+20
-4
lines changed

2 files changed

+20
-4
lines changed

src/content/docs/r2/data-migration/index.mdx

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,20 @@ Quickly and easily migrate data from other cloud providers to R2. Explore each o
5757

5858
## Migration strategies
5959

60-
You can use a combination of Super Slurper and Sippy to effectively migrate all objects without any downtime.
60+
You can use a combination of Super Slurper and Sippy to effectively migrate all objects with minimal downtime.
6161

62-
1. Activate Sippy to gradually copy objects from the previous bucket to an R2 bucket when they are requested (on-demand).
63-
2. Use Super Slurper to trigger a one-off migration to copy the remaining objects into the R2 bucket.
62+
### When the source bucket is actively being read from / written to
63+
64+
1. Enable Sippy and start using the R2 bucket in your application.
65+
- This copies objects from your previous bucket into the R2 bucket on demand when they are requested by the application.
66+
- New uploads will go to the R2 bucket.
67+
2. Use Super Slurper to trigger a one-off migration to copy the remaining objects into the R2 bucket.
68+
- In the **Destination R2 bucket** > **Overwrite files?**, select "Skip existing".
69+
70+
### When the source bucket is not being read often
71+
72+
1. Use Super Slurper to copy all objects to the R2 bucket.
73+
- Note that Super Slurper may skip some objects if they are uploaded after it lists the objects to be copied.
74+
2. Enable Sippy on your R2 bucket, then start using the R2 bucket in your application.
75+
- New uploads will go to the R2 bucket.
76+
- Objects which were uploaded while Super Slurper was copying the objects will be copied on-demand (by Sippy) when they are requested by the application.

src/content/docs/r2/data-migration/super-slurper.mdx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,10 @@ This setting specifies the prefix within the source bucket where objects will be
4545

4646
#### Overwrite files?
4747

48-
This setting determines what happens when an object being copied from the source storage bucket matches the path of an existing object in the destination R2 bucket. There are two options: overwrite (default) and skip.
48+
This setting determines what happens when an object being copied from the source storage bucket matches the path of an existing object in the destination R2 bucket. There are two options:
49+
50+
- Overwrite (default)
51+
- Skip
4952

5053
## Supported cloud storage providers
5154

0 commit comments

Comments
 (0)