Redeploy All Files to Cloud Storage After Implementing within Kentico

Gabriel Fuller asked on July 25, 2014 21:25

I had a Kentico site that I was using at first without any cloud storage. Now that I have switched to Amazon S3 using their documentation (https://docs.kentico.com/display/K8/Configuring+Amazon+S3), I have a lot of files that are still being stored locally. I want to move them into the cloud automatically without having to touch each file.

Is there an easy way to automatically push files in media library, app_theme, attachments, images, etc into the new bucket in the Amazon S3 cloud storage?

Recent Answers


Filip Ligač answered on August 15, 2014 13:09

Hello Gabriel,

It should be possible to move all the files to Amazon S3 storage but it is important to note there are a few downsides in the process as well.

First of all, you could copy all the files you want to move to the corresponding bucket in the storage which should ensure system would look for and retrieve all files from the storage instead of a local file system. However, I would also recommend that you delete the files from your local filesystem afterwards because it might cause some conflicts in specific scenarios.

The downside is the fact that Amazon S3 storage does not support some special characters so you might need to adjust file names manually which would mean the references would need to be changed accordingly.

0 votesVote for this answer Mark as a Correct answer

harshal bundelkhandi answered on October 6, 2016 08:48

Hi Filip , I have uploaded the images on Amazon Cloud Storage. but when Importing & exporting the website from dev to stg server . images are not calling from Amazon S3 storage .i am facing issues. Can you please suggest what setting i have to do in this.

Regards, harshal

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.