Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Repo backups #37

Open
edmundmiller opened this issue Mar 15, 2024 · 0 comments · May be fixed by #38
Open

Repo backups #37

edmundmiller opened this issue Mar 15, 2024 · 0 comments · May be fixed by #38

Comments

@edmundmiller
Copy link
Contributor

edmundmiller commented Mar 15, 2024

From @ewels in slack

Ok, after thinking about this a bit more, I think I would like to totally ignore the fact that the vote just went 9:0 in one direction and do the other thing that no-one voted for 😆
😆

I think that the "back up everything" setup will be quite a lot more complicated to set up and more likely to break. I don't want to ever think about this again once it's done, I want it to be totally bombproof and reliable. The "back up everything" setup will likely be too complex to meet that criteria.

So my proposal is:

  • Have a GitHub action that does a matrix over all repos, clones the repo, tarballs it and uploads it to s3
  • Run weekly
  • Have an s3 retention policy that deletes files in this bucket after 1 year

The other setup was more complicated and I worry I'd never get around to it / it'd break over time.

I suggest that we do manual "full backups" periodically if we want, in addition to the above. For example as part of spring cleaning or something.

Or we can add that in as an additional monthly backup in the future if we want, for example

@edmundmiller edmundmiller linked a pull request Mar 15, 2024 that will close this issue
@edmundmiller edmundmiller added this to the Managing GitHub Repos milestone Jul 22, 2024
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 a pull request may close this issue.

1 participant