Copy Existing Files To S3?
-
I have a current large WordPress site that I need about 200GB copied to my Amazon S3 bucket. Is there anyway this plugin can do this, with out me having to manually go to every post and upload product again just so they can be copied to S3?
Thanks
-
Your timing is impeccable – I had found a solution to this about a week ago and just now logged on to share the knowledge, for image media at least.
The S3/Cloudfront plugin is hooked in such a way that it runs when a file is added to the media library. So, the solution is re-add all of the files, which is usually a big suck.
But! The “Regenerate Thumbnails” plugin (https://wordpress.org/plugins/regenerate-thumbnails/) does what it says and re-adds while it’s re-generating. When the regenerated thumbnail is added again, the S3 plugin intercepts and uploads.
For other types of media, I imagine that solutions based on that concept of regenerating or reinserting would be the way to go.
Hi there jonas.pinkerton. First thanks for your reply.
Wow, this sounds too easy. This sounds really good to hear as I have been looking everywhere online, reading article after article but still no real answer unless I am a coding genius which I am only a novice.
I will give this ago within the next couple of days and will reply here to let you know how I when.
Thanks
Yes, I have tried. But no luck. I see it will work with all images which can be very handle, but am needing something like this plugin but that does all files including zip files.
daniel27lt,
Did you find an answer to this problem? I’m also in a similar predicament. I was planning on trying rsync to move over to 200GB to S3. Then dump the mysql database and write some queries to update the images to point to their place in S3 and the restore it into place. Not sure if this is going to work yet, but I really haven’t found an alternative yet.Hi there ameet3000. No I never did find the real answer I was looking for. But if you are just needing to move images then I would recommend the above plugin mentioned (https://wordpress.org/plugins/regenerate-thumbnails/) as this works great to import ‘old’ images to S3. And every time you upload new files to your media library, then they will get import automatically to S3 (with this plugin installed: https://wordpress.org/plugins/amazon-s3-and-cloudfront/).
I have personally decided to keep all files within my own server and have created a sub-domain for them, then started using a CDN for faster page load time. As this was my main concern. I hope this has answered your question and good luck with looking for the answer you are needing.
We are working on a pro version of the plugin that will include a fancy uploader that runs in the background, uploading your files and shows a progress bar on the settings page.
Brad Touesnard
Within this pro version will there be a option to have all old existing files upload with ease?
Yes, that’s what I meant. The uploader that runs in the background will gradually upload all your existing files.
That’s great news. That is exactly what I am looking for. Can you post here when ready so me and anyone needing this will get notified? Thanks
Thx daniel27lt and Brad,
The solution I’ve chosen is to pull in the 200GB files on a much larger ec2 instance, and use the Force Regenerate Thumbnails plugin, which as you mentioned daniel27lt should intercept it and put it all on s3. Then change back to a smaller instance type once i’ve offloaded all the files in s3. Going to be a long process, but should work.
thxameet3000
Sounds like a good plan. Good luck 🙂1) I would like to know when the pro version is available?
2) I also would like to know what the features are?
3) I am sure you are aware of some of the issues some users have such as using other plugins like the enable-media-replace which is not integrated with Amazon S3 and Cloudfront plugin. Will the pro version have a functionality that address this issue? I have users that are limited to using WordPress to make updates to media.
I am working on a project right now where we find this plugin to be our best bet. We just need some good work arounds and hope the pro version will help.
Thanks
hi there.
having issues with images not showing.
bucket working fine, just checked the logs… social media image buttons are gone as well as feature images of posts about 10 days old.any ideas?
The topic ‘Copy Existing Files To S3?’ is closed to new replies.