Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I'm using Local Storage (Filesystem / Drupal) for all the video and preview images on a site, if I add a new container for CloudFront will storage api automatically copy the files to the new container? Would this only change the newly uploaded files or would it update existing files too?
Comments
Comment #1
kevinquillen CreditAttribution: kevinquillen commentedI am wondering the same thing.
Comment #2
kevinquillen CreditAttribution: kevinquillen commentedI am wondering the same thing.
Comment #3
jbrown CreditAttribution: jbrown commentedWhen cron runs, Storage API attempts ensure that an instance of the file exists in every container that is in the class.
So, yes, adding a new container to a class will work retrospectively.
Comment #4
ghazlewood CreditAttribution: ghazlewood commentedAwesome! Just tried this and it works flawlessly. Should be in the docs! ;) Don't know why I didn't just try it and see what happened now...
Comment #5
ghazlewood CreditAttribution: ghazlewood commentedShould have closed this ages ago...