For Workers & Pages, what is the name of the domain?
none
What is the issue or error you’re encountering
The issue is copying files from an S3 subfolder to the R2 bucket root without keeping the subfolder structure. There’s also no clear way to handle file conflicts if names overlap.
What steps have you taken to resolve the issue?
I came across this discussion: https://community.cloudflare.com/t/incremental-migration-from-subfolder-of-s3-bucket-to-root-folder-of-r2/758675_web, but I didn’t find a clear solution, so I wanted to ask something related.
If I need to migrate multiple subfolders from different S3 buckets into the same R2 bucket root, how can I ensure there’s no folder duplication or conflicts during the migration process? For example, if two S3 subfolders have files with the same name, how would R2 handle this, and is there a way to prevent overwriting without manually organizing the files beforehand?