Save 36% for Black Friday! Learn more

Ask A Question

Notifications

You’re not receiving notifications from this thread.

How do I sync ActiveStorage files between development (local) and production (Amazon S3)?

Guilherme Taschetto asked in Rails

I have a Rails 6 app on Heroku with a Postgresql database and ActiveStorage on Amazon S3.

Sometimes I need to sync my local db with production data to make debug easier. And it works great. I want to do the same with ActiveStorage files.

Is there a way to download production files, which is hosted on an Amazon S3 bucket, to my local machine? Preferably an incremental download.

I searched across the web and found nothing about it. :-(

Thank you!

Reply
Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 86,946+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.