Community

Forums » SEPHP Help and Tips

Storage Services - Local Storage vs S3 Uploads

    • 211 posts
    February 25, 2019 10:52 AM EST

    Hey all,

    Whats the correct way to setup Local Storage and S3 Uploads

     

    Local Storage vs S3 Uploads

    ------------------------------------

    Qtn# 1 Is it either / OR

    Should one or the other be enabled or can both be enabled?

    > If both are enabled ,

    Is a users uploaded image  stored twice - once in Local and once in S3?

     

    Qtn# 2

    > What exactly is stored and gets uploaded in S3

    >  the whole directory structure and data gets uploaded to s3?

    (everything in public_html)

    >  /application/, /externals, /public

     

    Qtn#2 If Local Storage AND S3 is enabled 

    >Where will a users uploaded image /photo etc be uploaded

     

    Trying to figure out how this works.

    Thanks

     

     


    This post was edited by playmusician at February 25, 2019 10:54 AM EST
    • 167 posts
    February 25, 2019 11:14 AM EST

    Hello 

     

    1/

    Both cannot be enabled. 

     

    <!--StartFragment -->

    2/ 

    storage contains images only

     

    /3

     

    Answered in the above screenshots. 

     

     

    So here

    • 211 posts
    February 25, 2019 11:45 AM EST

    Hi PPk, thanks :)

     

    If its one or the other

    where are all the  mp3s, videos , documents of a user stored?

     

    • 167 posts
    February 25, 2019 12:12 PM EST

    It only uploads images not the other files. 

    So mp3 videos and docs stay on your server 

    images get uploaded to S3

    • 211 posts
    February 25, 2019 12:48 PM EST

    Sorry PPK, am a little confused

    "... 1/ Both cannot be enabled. "

    I have enabled both - image below.

     

    Does Local Storage mean - only a folder with users stored files 

    If its just a folder - what is the primary folder for local storage?

    where is it stored?

    or

    Local Storage holds everything of social engine (public_html)

     

    Thanks

     

     

    • 36 posts
    June 23, 2019 1:03 PM EDT
    PeppaPigKilla said:

    It only uploads images not the other files. 

    So mp3 videos and docs stay on your server 

    images get uploaded to S3

     

    Not true. I use Amazon S3 and the storage transfer services migrates images and music when I manually select it to transfer. I assume it would transfer video files and documents as well if I had such plugins.

     

    • 167 posts
    June 23, 2019 2:40 PM EDT
    OTAw said:
    PeppaPigKilla said:

    It only uploads images not the other files. 

    So mp3 videos and docs stay on your server 

    images get uploaded to S3

     

    Not true. I use Amazon S3 and the storage transfer services migrates images and music when I manually select it to transfer. I assume it would transfer video files and documents as well if I had such plugins.

     

    so SE script uploads mp3 ?

    • 36 posts
    June 23, 2019 5:25 PM EDT

    I use a third party plugin for music (younet's Social Music plugin). But yes, whenever I need to clear room on my server, I use the storage transfer option to transfer from local host to S3 and it will transfer not only cover art images but the .mp3's as well.

    • 167 posts
    June 23, 2019 6:46 PM EDT

    I stand corrected then