Replies: 2 comments
-
I have additional info to add. After digging into this process i have noticed that when one is successfully moved to s3 it leaves the directory but also created a new record and leaves the old one in the DB. Is there a way to replace the old one instead of having both records in it. |
Beta Was this translation helpful? Give feedback.
-
I'm currently migrating from local storage to a DO space as well. I used the
edit: |
Beta Was this translation helpful? Give feedback.
-
Tweak syncMediaPath to say moveToCloud.
You should make a callable function similar to this but for moving files from old local/public disk to new cloud/s3
I have a custom sync system created. But I am missing a way to remove old media and directories after successful move. This would be really helpful for updating to cloud integration on existing projects.
If you have a way to remove the old directories but not affect the new moved ones please let me know.
Beta Was this translation helpful? Give feedback.
All reactions