Extend built-in backup remote destination options

It would be fantastic if Discourse could natively support a range of backup to remote location options beyond just to Amazon S3, without relying on very old and (apparently) partially broken plugins that are no longer maintained.

Smaller hobbyist forums in particular tend to be run by people with no budget and minimal skills, so the fewer hurdles in terms of knowledge requirements, configuration steps and 3rd party dependencies to maintain between Discourse and the remote destination the better.

I would like to be able to sync the latest 5 backups to my local NAS device via sftp for example (it sits behind a fixed IP address).

Also to paid backup service destinations that a standard ‘civilian’ might already have a basic subscription to, for their family - such as Idrive & Backblaze (cheapest tier)

Also to the standard free cloud destinations obviously.

Is anything like this on the Discourse development roadmap?

2 Likes

In this specific case, wouldn’t running a rsync starting from your NAS to the Discourse server backup folder work very well for you?

Have you checked the guides like

2 Likes

Hi, Falco and thanks for the suggestions.

For a couple of months I actually rsync running, but it stopped working for no reason I could ever identify. No errors in logs, no changes I knew of to router, no shortage of hard drive space. Power cycling NAS and router had no effect. Possibly something changed with Digital Ocean, or Discourse software updates - but I am no IT boffin, and my continued attempts at getting to the bottom of this issue just kept being put off by other life priorities.

I have since reformatted and reconfigured the NAS device (due to an unrelated issue), but when confronted with the task of re-learning everything that I had had to research the first time, and all the trial and error involved in trying to get remote backups working the first time, found myself wondering why this should even be necessary.

Delving in to crontabs seems like a similar problem (whatever these are - I assume something like the cron jobs that I once used for backing up from my web host - until they too stopped working for reasons I could never explain or solve).

A good backup system is one that the user is willing and able to sustain.

One that requires knowledge and skills in 3rd party systems that are otherwise not part of the user’s normal range of activities just seems like a weak point, adding more variables and risks than necessary.

By following the guides, I am simply repeating instructions by rote, but with no understanding, and am completely lost if and when things encountered inevitably are not quite as they were for whoever authored the guides.

Any system relying on 3rd party plugins that are no longer even actively maintained, and that are already partially broken also seems like bad idea.

A system where configuration is done all in one familiar place within software designed with this specific task in mind and maintained by people who know a lot more about what is required to achieve the task than I ever will just seems like a better idea to me.

1 Like

I just stumbled on it today but IDrive actually supports the API of Amazon S3, it means you theoretically can use Discourse backup to S3, just with a very cheap “e2” and your Discourse won’t know the difference.
see https://www.idrive.com/e2/

1 Like

Thanks Alon.

I mentioned Idrive because I already happen to have have a standard home backup subscription with them, but this does not include their S3 service.

The main aim of this development wish was to add destination options for small unpaid forum users that don’t require further paid subscriptions.

The other option I hoped to use was to my local NAS device.

Cheers

1 Like

6 posts were split to a new topic: Adding idrive as S3 service