# Automatische back-up naar S3 gebeurt niet - Back-up wordt uitgevoerd, maar wordt niet geüpload, tenzij handmatig uitgevoerd via Admin UI

**URL:** <https://meta.discourse.org/t/automatic-backup-to-s3-not-happening-backup-runs-but-doesnt-upload-unless-performed-manually-via-admin-ui/259735>\
**Category:** Self-hosting\
**Created:** [28 maart 2023 om 17:04 UTC](https://meta.discourse.org/t/automatic-backup-to-s3-not-happening-backup-runs-but-doesnt-upload-unless-performed-manually-via-admin-ui/259735 "2023-03-28T17:04:46Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![stevejr](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stevejr/32/292622_2.png) [@stevejr](https://meta.discourse.org/u/stevejr)\
**Post date:** [28 maart 2023 om 17:46 UTC](https://meta.discourse.org/t/automatic-backup-to-s3-not-happening-backup-runs-but-doesnt-upload-unless-performed-manually-via-admin-ui/259735/3 "2023-03-28T17:46:14Z")

</div>

Hi Jay,

Everything looks fine. The pod logs show the automatic backup completing successfully and ending ok. It looks like the check on whether remote is enabled is returning false incorrectly.

We are running v3.0.1 which was built from this commit - [Commits · discourse/discourse · GitHub](https://github.com/discourse/discourse/commits/4571b10ee5a3c46249271b2870d6eaf37994460f)

Looking at the code this is the line that is returning - [discourse/lib/backup\_restore/backuper.rb at 4571b10ee5a3c46249271b2870d6eaf37994460f · discourse/discourse · GitHub](https://github.com/discourse/discourse/blob/4571b10ee5a3c46249271b2870d6eaf37994460f/lib/backup_restore/backuper.rb#L340)

Have found 2 interesting things:

1 - When I run the backup manually in the admin UI it completes successfully and the compressed gzip file is uploaded to S3.  
2- It looks like the line of code above has changed since v3.0.1 - the line has gone from `return unless @store.remote?` to `return unless store.remote?` - my Ruby is not great but Google tells me an `@variable` is an instance variable of self so is there another setting I need to make to get this to work with v3.0.1 or should I upgrade to v3.0.2?

Thanks again.

---

_[View the full topic](https://meta.discourse.org/t/automatic-backup-to-s3-not-happening-backup-runs-but-doesnt-upload-unless-performed-manually-via-admin-ui/259735)._
