Off-site backup when using S3 CDN for uploads

For those using S3 CDN for uploads, what methods do you employ to maintain an off-site backup of your files besides relying on the CDN alone? I’m interested in hearing about your backup strategies and any alternative solutions you’ve put in place to ensure data redundancy.

Besides S3? I would just take periodic backups weekly (or monthly) like normal, and store them either on my computer or on the cloud somewhere.

1 Like

I don’t have any firsthand experience yet, but I’m exploring my options. It seems odd to rely on a single provider without a secondary backup. Ideally, an off-site backup on my other Debian box. The question is how to do it when the uploads are automatically uploaded to CDN.

I suppose you’re using Discourse’s built-in backup feature for uploads. That’s not an option for us. I want to move uploads to a CDN, and there just isn’t enough room on the Discourse instance to host all of them (if there were, there’d be no point in using a CDN). I’d like to back up uploads off-site.

The point of s3 is that it’s safe and you don’t need to back it up. If you do want to pull it down to your local machine you can use a command line s3 client and cron.

The cdn is a content delivery network. It speeds up delivery of data that’s stored on s3, which is typically expensive and relatively slow.