feat(backup): Adding support for backups. #1838
Draft
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.