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

feat(backup): Adding support for backups. #1838

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from
Draft

Conversation

elliotcourant
Copy link
Member

This adds a backup utility to monetr that will take all of the data from
the database, and object store/filesystem. It will then write all of
that data to a single tar.gz file. This is intended to be done with as
little memory overhead as possible and allows the file to be streamed to
an object store.

This is a work in progress and is very much just a fun experiement. If
the design works though, the monetr will be able to create backups for
an entire production size dataset into a single file all with a minimal
memory overhead as well as limited disk space.

A restore utlity will also need to be created.

This adds a backup utility to monetr that will take all of the data from
the database, and object store/filesystem. It will then write all of
that data to a single tar.gz file. This is intended to be done with as
little memory overhead as possible and allows the file to be streamed to
an object store.

This is a work in progress and is very much just a fun experiement. If
the design works though, the monetr will be able to create backups for
an entire production size dataset into a single file all with a minimal
memory overhead as well as limited disk space.

A restore utlity will also need to be created.
@codecov-commenter
Copy link

codecov-commenter commented Oct 2, 2024

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 61.96%. Comparing base (9826f54) to head (a6472fd).

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1838      +/-   ##
==========================================
+ Coverage   61.95%   61.96%   +0.01%     
==========================================
  Files         287      287              
  Lines       17877    17877              
==========================================
+ Hits        11075    11077       +2     
+ Misses       6259     6257       -2     
  Partials      543      543              

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

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