Migrating from local paperclip storage to S3

前端 未结 1 1756
一整个雨季
一整个雨季 2020-12-19 00:01

We\'ve recently moved to a new webhost that offers limited storage space so we\'re trying to move all of our user uploads (Avatars, Files, etc.) uploaded via the Paperclip g

相关标签:
1条回答
  • 2020-12-19 00:38

    Looks like I needed to go beyond ruby on this one, s3cmd seemed to be the most appropriate tool for this sort of job. In my case, the sync command did the trick:

    s3cmd sync my-app/public/system/ s3://mybucket 
    
    0 讨论(0)
提交回复
热议问题