Skip to content

dump MySQL to AWS S3 #688

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

Merged
merged 10 commits into from
Jun 20, 2025
Merged

dump MySQL to AWS S3 #688

merged 10 commits into from
Jun 20, 2025

Conversation

simsong
Copy link
Member

@simsong simsong commented Apr 8, 2025

This dumps all of the MySQL databases to AWS S3.
It will be called from a cron job on a daily basis in the production environment.

Copy link
Member

@sbarber2 sbarber2 left a comment

Choose a reason for hiding this comment

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

I think given that the test runs are failing that at least one change to the repo is needed!

@sbarber2
Copy link
Member

sbarber2 commented Apr 11, 2025 via email

@simsong
Copy link
Member Author

simsong commented Apr 11, 2025

If you think that adding and else would be more clear, we can do that.

Copy link

codecov bot commented Apr 14, 2025

Codecov Report

Attention: Patch coverage is 72.00000% with 7 lines in your changes missing coverage. Please review.

Project coverage is 74.80%. Comparing base (29b3693) to head (7ae27a1).
Report is 64 commits behind head on main.

Files with missing lines Patch % Lines
deploy/app/dbmaint.py 56.25% 7 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #688      +/-   ##
==========================================
+ Coverage   70.37%   74.80%   +4.42%     
==========================================
  Files          36       37       +1     
  Lines        3885     4564     +679     
  Branches       64       68       +4     
==========================================
+ Hits         2734     3414     +680     
+ Misses       1126     1125       -1     
  Partials       25       25              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Member

@sbarber2 sbarber2 left a comment

Choose a reason for hiding this comment

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

typo in latest comment: arts vs args; see comment

@simsong
Copy link
Member Author

simsong commented Jun 19, 2025

@sbarber2 ready for you.

Copy link
Member

@sbarber2 sbarber2 left a comment

Choose a reason for hiding this comment

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

OK, thanks. This all looks good.

@sbarber2 sbarber2 merged commit 6faa877 into main Jun 20, 2025
7 of 8 checks passed
@sbarber2 sbarber2 deleted the dev-dump-to-s3 branch June 20, 2025 11:11
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