lovedigit
👽 Chevereto Freak
Hello,
I had to move an external storage (Say A) files to the Other storage container (Say B). I transferred all images from A to B. Additionally, I wanted to merge the storage A and B in the database, So I replaced the "image_storage_id" in database from 5 (Storage id of A) to 4 (Storage id of B) and than deleted the storage id 5 from "xxx_storages".
Everything went smooth, and I could never imagine that it would be so easy. Now, I understand why @Rodolfo choose storage id to map images instead of url. Fantastic.
Everything looks clean and less cluttered and I can add more external storage without having to add multiple subdomain pointing to the same Storage container.
However, I need a little help updating the "Size of Storage used by each Storage id". I know it doesn't really matter since the total value of the actual storage used is still the same, but it would still be helpful if I ever had to monitor the available space on the container. Otherwise, I would have to check it regularly on the storage container.
Help would be much appreciated.
I had to move an external storage (Say A) files to the Other storage container (Say B). I transferred all images from A to B. Additionally, I wanted to merge the storage A and B in the database, So I replaced the "image_storage_id" in database from 5 (Storage id of A) to 4 (Storage id of B) and than deleted the storage id 5 from "xxx_storages".
Everything went smooth, and I could never imagine that it would be so easy. Now, I understand why @Rodolfo choose storage id to map images instead of url. Fantastic.
Everything looks clean and less cluttered and I can add more external storage without having to add multiple subdomain pointing to the same Storage container.
However, I need a little help updating the "Size of Storage used by each Storage id". I know it doesn't really matter since the total value of the actual storage used is still the same, but it would still be helpful if I ever had to monitor the available space on the container. Otherwise, I would have to check it regularly on the storage container.
Help would be much appreciated.