-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6425 from dimagi/gh/backup-retention/changelog
Create changelog entry for #6420
- Loading branch information
Showing
3 changed files
with
58 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
title: Database Backup Retention Change | ||
key: database_backup_retention_change | ||
date: 2024-10-25 | ||
optional_per_env: yes | ||
min_commcare_version: | ||
max_commcare_version: | ||
context: | | ||
The logic used to retain database backups has been modified to better respect the settings that specify | ||
how many days to keep backups. | ||
details: | | ||
No action is needed. This is just to inform you that the logic determining which backups to | ||
keep has been modified. This impacts the values set for services like [couchdb](https://github.com/dimagi/commcare-cloud/blob/c3abda48758fb337ca87e8039f1b97e333129351/src/commcare_cloud/ansible/roles/couchdb2/defaults/main.yml#L9-L10), | ||
[postgres](https://github.com/dimagi/commcare-cloud/blob/c3abda48758fb337ca87e8039f1b97e333129351/src/commcare_cloud/ansible/roles/pg_backup/defaults/main.yml#L9-L10), | ||
and [blob](https://github.com/dimagi/commcare-cloud/blob/c3abda48758fb337ca87e8039f1b97e333129351/src/commcare_cloud/ansible/roles/backups/defaults/main.yml#L5-L6). | ||
Put simply, if the <service>_backup_days value was set to 2, 4 daily backups would exist on your | ||
machine at any given time. This change reduces that value to 3 which is more in line with what | ||
it means to keep backups for 2 days. | ||
update_steps: | | ||
No action needed. |
29 changes: 29 additions & 0 deletions
29
docs/source/changelog/0083-database_backup_retention_change.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<!--THIS FILE IS AUTOGENERATED: DO NOT EDIT--> | ||
<!--See https://github.com/dimagi/commcare-cloud/blob/master/changelog/README.md for instructions--> | ||
# 83. Database Backup Retention Change | ||
|
||
**Date:** 2024-10-25 | ||
|
||
**Optional per env:** _only required on some environments_ | ||
|
||
|
||
## CommCare Version Dependency | ||
This change is not known to be dependent on any particular version of CommCare. | ||
|
||
|
||
## Change Context | ||
The logic used to retain database backups has been modified to better respect the settings that specify | ||
how many days to keep backups. | ||
|
||
## Details | ||
No action is needed. This is just to inform you that the logic determining which backups to | ||
keep has been modified. This impacts the values set for services like [couchdb](https://github.com/dimagi/commcare-cloud/blob/c3abda48758fb337ca87e8039f1b97e333129351/src/commcare_cloud/ansible/roles/couchdb2/defaults/main.yml#L9-L10), | ||
[postgres](https://github.com/dimagi/commcare-cloud/blob/c3abda48758fb337ca87e8039f1b97e333129351/src/commcare_cloud/ansible/roles/pg_backup/defaults/main.yml#L9-L10), | ||
and [blob](https://github.com/dimagi/commcare-cloud/blob/c3abda48758fb337ca87e8039f1b97e333129351/src/commcare_cloud/ansible/roles/backups/defaults/main.yml#L5-L6). | ||
|
||
Put simply, if the <service>_backup_days value was set to 2, 4 daily backups would exist on your | ||
machine at any given time. This change reduces that value to 3 which is more in line with what | ||
it means to keep backups for 2 days. | ||
|
||
## Steps to update | ||
No action needed. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters