That appears to be the opposite of what I want to do. I want to just exclude anything that doesn't play nice with the existing configuration. Is there a way to do that in the php config as well? My assumption is the cloudflare addon would need adjustment to exclude folders.
Edit: I suppose I could go with the obvious solution that eluded me for several hours just now: keep the impacted files on the local storage and only delete what's known to work right with R2
I will say I noted it's a lot more than just addon resources that were impacted. A lot of the default xf settings were using local relative paths for things like smiles, reactions, even styles & templates. There's a lot of stuff that'll just link to the relative path on the server and that stuff all breaks the moment you remove those files and put them on R2, even if they were in the /data folder. Seems like a lot that just has to be pointed to the right data point, because if you upload a new copy or paste the R2 url it then redirects fine, it's only existing relative paths that break. I wonder if it there is some sort of rebuild job that can fix this automatically, or if it's something that the migration tool in the addon would have done for us, if it didn't time out and cancel every time.