digitalpoint
Well-known member
Yes… if you turn on R2, you’ll want to migrate existing data to that bucket.
Am I getting the error because I did not migrate my existing data to it?
There is a CLI command to do it (if you have CLI access to your server).Thanks guys. What's the easiest way to migrate for a newbie? I am so scared of messing something up!!
Thank you. I don't have access to CLI on my server. I have knownhost with directadmin and don't see cli access. Is there another way?There is a CLI command to do it (if you have CLI access to your server).
![]()
[DigitalPoint] App for Cloudflare® - Extra info
xenforo.com
You can, yes.this may be a dumb question, but after all my files get migrated to cloudflare, so I delete the hosted files on my server?
Attachment URLs remain the same.Another question, after the migration and configuration with this attachment, the attachments still show&load with the old URL (in xenforo attachments), and not the cloudflare attachment url.
Perfect! I don't have a bucket set up for /data/. Is that something I should do? What kind of data is it storing?You can, yes.
Attachment URLs remain the same.
That’s all your public data (everything in the data folder in your install). Things like avatars.Perfect! I don't have a bucket set up for /data/. Is that something I should do? What kind of data is it storing?
The labels for the R2 buckets tell you what they are for.I have a folder for data which has attachments an internal data that has attachments too. Does cloudflare host them both? Can I delete the attachments in internal data?
R2 for /data/
R2 for /internal-data/attachments/
data
folder (in your XenForo installation). The other is for the contents of the internal_data/attachments
folder (the folders within those paths are irrelevant).Yep.If I'm moving to R2, do I need a separate bucket for data, attachments, and xfmg? I'm assuming so because it's not letting me select the same bucket.
If I'm moving to R2, do I need a separate bucket for data, attachments, and xfmg? I'm assuming so because it's not letting me select the same bucket.
Yeah, just looking around I noticed that they all have "Public URL Access: Not allowed", but the /data/ buckets have the domain access, so I assume that's the difference. This is my first time ever even playing with R2 so I've got a lot to learn before I think about moving my main site over. I've always been afraid of moving everything over just because I'm over-the-top extra with backups and, with this, I'd basically be giving up control over the backups on all that data to Cloudflare. It would save me from having huge daily backups, though, so I'll see how it goes on this little site. Learn over time, etc.Files in data are publicly accessible. This includes things like avatars and thumbnails that are shown automatically.
Files in attachments are not publicly accessible - they must be served by the forum so that permissions can be applied.
This is why you need separate buckets - the permissions on the buckets will be different.
I don't see a way to download the entire bucket from Cloudflare to upload it back to my server if I ever needed to do that, even if only temporarily, so that's a bit of a concern to me too.
Thank you for the info! Like I said, I definitely have a lot to learn, but this at least gives me things to focus my sights on.Any S3 compatible tool will do the job.
rclone is a great command line tool. I've also used CloudBerry Explorer in the past as a UI tool. Those are just two examples - there are lots of these tools available now.
@digitalpoint has a CLI tool built into this addon which can do the transfers for you - used to transfer data to R2, but can also reverse the process and download it back to your server.
We use essential cookies to make this site work, and optional cookies to enhance your experience.