zerodha / frappe-attachments-s3

A frappe app to upload file attachments in doctypes to s3.
Other
122 stars 143 forks source link

How do we restore existing files from S3 to frappecloud? #52

Open siyad-tridz opened 1 year ago

siyad-tridz commented 1 year ago

I have already migrated the existing files to S3, but now I have decided to use frappecloud itself. How can we restore files that have already been synced to S3 back to frappecloud?

shridarpatil commented 1 year ago

You need to write a script to download files back from S3 bucket and update the URL's in file DocType. or you can install this app on frappe cloud so that you don't need to do anything

siyad-tridz commented 1 year ago

Thank you for your update. I understood the first point, but I didn't fully grasp the second point. This is because we already have this app on frappe cloud. Could you please provide a more detailed explanation?

siyad-tridz commented 1 year ago

We are currently facing issues with this app, and our team members have already reported this problem. Unfortunately, we haven't received any support from your end, which is why we have decided to migrate back to frappe cloud.Currently, our files are stored on S3 through this app. Could you kindly share the script that you mentioned earlier for fetching the data back to frappecloud?