将图像从 Parse 移动到 S3 AWS

Move Images From Parse To S3 AWS

我需要帮助将我拥有的图像从 Parse 转移到 AWS 上的 S3。我已经查看了许多假设的指南和 GitHub 项目,但一切都无法为您提供所有信息。有人甚至说,您需要设置 GCS bucket,但没有详细说明如何设置。请有人帮我解决这个问题。我的 index.js 中有 S3 文件适配器,所有这些都是为应用程序设置的,但是 none 的图像在那里,它们仍然托管在解析中。

如果您指的是托管在 parse.com 中的旧图像,您希望将其移到您自己的环境中,那么可以使用实用工具来完成。

Get all files across all classess in a Parse database.
Print file URLs to console OR transfer to S3, GCS, or filesystem.
Rename files so that Parse Server no longer detects that they are hosted by Parse.
Update MongoDB with new file names.

https://github.com/parse-server-modules/parse-files-utils

如果您已正确设置 S3 存储桶,那么您的应用程序中的所有新图像都将存储在那里。

https://github.com/ParsePlatform/parse-server/wiki/Configuring-File-Adapters