Automating Discourse Backup Download

Hi Team,

We are looking to implement a solution that triggers a backup and automatically downloads the latest backup. While exploring the API, I found that a secure token is required for the download, which is currently provided via email.

Is there any way to fully automate this process and bypass the email step for token retrieval? Please advise.

Just set up an S3 bucket as the backup target. You can then simply take the newest file from the bucket.

Make sure it is not public!

1 Like

You’re self-hosted? The best ways are an S3 bucket as recommended or to use scp/rsync.

What problem are you solving? Do you just want a backup in different place than the serverr?