Switching storage provider from local disk to S3 - what happens to existing media?

We have an existing site with OctoberCMS v3 that has a lot of media uploads that uses the default, local disk, storage provider. We want to switch to using an S3 bucket.

My question is, what happens to all the existing media? Will it continue to work from disk or do we need to move all data to the S3 bucket? E.g., will image links continue to work?

1 Like

Hey @devoo3

When you switch to S3 (without copying the files from local), then the media references will become broken. It is advisable to copy from disk to s3 so that the references still work.

I hope this helps.

1 Like