# Maximum backups setting ignored

**URL:** <https://meta.discourse.org/t/maximum-backups-setting-ignored/102076>\
**Category:** Product Support\
**Created:** [November 15, 2018, 12:50am UTC](https://meta.discourse.org/t/maximum-backups-setting-ignored/102076 "2018-11-15T00:50:53Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![sebastien](https://avatars.discourse-cdn.com/v4/letter/s/f475e1/32.png) [@sebastien](https://meta.discourse.org/u/sebastien)\
**Post date:** [November 15, 2018, 12:50am UTC](https://meta.discourse.org/t/maximum-backups-setting-ignored/102076/1 "2018-11-15T00:50:53Z")

</div>

Hi,

We are currently taking a full backup of our discourse instance once a day. This backup is then pushed to S3.

Our S3 bucket is configured to expire files after 30 days.  
Discourse is configured to keep two backups locally and to skip S3 removal when removing a local backup.

However i have noticed that

- Removing a backup from the console also removes it from s3
- Even with the 2 backup max option, I see we are keeping more than 2 backups locally.

Config:

 ![image](https://global.discourse-cdn.com/meta/original/3X/c/0/c0d8ba91aecd2fbf0d9420bd6ae8e2676002cdc9.png)

Result:

 ![image](https://global.discourse-cdn.com/meta/original/3X/b/5/b5beff24db34e8cc3e6ca547eb8e4e8126b73030.png)

Is this the expected behavior? Did I miss something?

We are using [v2.2.0.beta4 +19]

Thx  
Seb

---

_[View the full topic](https://meta.discourse.org/t/maximum-backups-setting-ignored/102076)._
