如何批量修改文件链接地址

我更换了文件存储(腾讯云,兼容S3)的域名,如何将帖子里以前的文件链接地址修改为新域名的链接地址。谢谢。

It’s almost certainly not 100% compatible. Is it compatible with Discourse? You’ve checked? Have a look at Configure an S3 compatible object storage provider for uploads

There’s a topic about using remap to switch buckets.

What I would do is set up a new server with teh new S3 config, set the SiteSettings.include_s3_uploads_in_backups to true and see if it’ll restore.

2 Likes

I believe it is 100% compatible because after configuration, I used it without any problems, including uploads and backups, which are completely consistent with Amazon AWS.

How to switch storage buckets in discourse? Please guide me, thank you.