MrBobologo
MrBobologo

Reputation: 39

Heroku Database Upload to Amazon s3

I want to upload a Database Dump to an Amazon s3 Bucket, but im quite not sure, how to do it.

I was searching for Tutorials and already got a Bucket and an IAM User. Just to be honest, i dont know how to create the script for uploading it. I'm working with Rails 5.

I'm not a Pro Developer, so maybe someone here can explain in many steps how to do it.

Thank you and have a good day!

Upvotes: 0

Views: 130

Answers (1)

Fernand
Fernand

Reputation: 1333

Search for carrierwave gem. It is a file upload mechanism that supports Amazon S3. It might be a little complicated for you because it has a lot of configs to set.

reference: https://www.rubydoc.info/gems/carrierwave/0.5.1/CarrierWave/Storage/S3

Upvotes: 1

Related Questions