Ability to only backup uploaded data

To make backup management easier and more consistent with the rest of our infrastructure we’re using an external PostgreSQL instance. This server has automatic backups separately from Discourse’s own, and the server is a newer version than the pg_dump binary version in the docker containers, so Discourse currently fails to dump the database, causing the Discourse backups to break.

Since we already have automatic DB backups we don’t need Discourse to take care of it, but we would still like to be able to have Discourse automatically back up just the uploaded data to S3 instead.

This already exists, set your uploads to go to s3 in the site settings.

I don’t see any way to disable the DB backups there though?

Since you’re already backing up the database and the uploads are in s3 you don’t need backups. Just disable them.

3 Likes