I'm trying to get media mover to move my media files [!] to my Amazon S3 account...
so far it appears to do this ok, however it does not ~move~ then, it ~copies~ them... I was assuming that it would move the file, delete the local copy and update the files database so whatever node the file that got moved was associated with could still access the file.
But what actually happens is that the file gets copied to a new directory, a copy gets uploaded to Amazon & the original file gets deleted. Depending on my settings a "media mover" file will be associated with the node and point to Amazon, but the original file is still there as an attachment and there are no options to do anything with the media mover file in the node edit mode....
is this how it is supposed to work?
basically I want these giant video files on Amazon and not in my local Drupal install.
-sean
Comments
Comment #1
arthurf commentedIt is not possible to replace the drupal file with the file from amazon in drupal six without serious hacks to core. There are options in the s3 module to delete the source, however I strongly advise against this you will not be able to recover your source material and S3 has no guarantee of data longevity.
You can use theme functions or more sneakily URL rewriting to S3 (see: http://24b6.net/2009/10/04/simple-cdn-media-mover-and-s3), but it really depends on your use case. Media Mover is not designed for the presentation side of content- it manages finding, processing, and storage.
Comment #2
sean69 commenteddarn!.... not the answer I wanted, but clear and to the point.
thank you.
-sean
Comment #3
topdillon commentedWere you able to solve your problem? I have the same need.
Comment #4
daco commented1. You can do that using the video and the AmazonS3 modules (plus dependencies)
2. You may also want to use the Octopus Distro, which gives you a ready-to-use drupal video platform (using video module as option 1).
3. Another option would be to use Storage Api (in dev for Drupal 7 but stable for Drupal 6). Though I haven't tried this option yet.
4. As last option
Another way would be to mount the amazon s3 bucket inside your files folder as mentioned here and here (please keep in mind that you have to have root access and you could break something... )
Hope this helps,
Cheers,
Diego