Skip to content

backup: run every 2 days; retain for 2 weeks - #296

Merged
suecarmol merged 1 commit into
masterfrom
Jsn.sherman/backup-schedule-retention
Nov 27, 2023
Merged

backup: run every 2 days; retain for 2 weeks#296
suecarmol merged 1 commit into
masterfrom
Jsn.sherman/backup-schedule-retention

Conversation

@jsnshrmn

Copy link
Copy Markdown
Member

Description

Reduce backup frequency and retention

Rationale

Our backups use too much disk space:

  • every other day still provides plenty of restore times within our one week of event stream data
  • backups older than two weeks are of limited utility because of the amount of data loss due to the event data stream only going back ~7 days

Phabricator Ticket

https://phabricator.wikimedia.org/T350295

How Has This Been Tested?

I tested this locally, and it seems to work fine.

Screenshots of your changes (if appropriate):

Types of changes

What types of changes does your code introduce? Add an x in all the boxes that apply:

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

@jsnshrmn
jsnshrmn requested a review from suecarmol November 27, 2023 20:05
@jsnshrmn
jsnshrmn force-pushed the Jsn.sherman/backup-schedule-retention branch from 5b1cf70 to 4e1ebe3 Compare November 27, 2023 20:25

@suecarmol suecarmol left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@suecarmol
suecarmol merged commit 01a0b0d into master Nov 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants