-
-
Notifications
You must be signed in to change notification settings - Fork 36
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
MongoDB Backups #1322
base: main
Are you sure you want to change the base?
MongoDB Backups #1322
Conversation
…irectly enable db backups by default
… is set, also allow customizing db_backups.schedule and db_backups.path
# daily under /db-backups | ||
db_backup: | ||
#storage: "default" | ||
#schedule: "26 0 * * *" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Interesting choice of time but why not :)
Should figure out encryption prior to merging/deploying this, so that we don't have an unencrypted copy of our database in an S3 bucket. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changing to Request changes until we figure out encryption
Probably the best option here is to make this optional by requiring the dump to be encrypted with openssl, by providing an optional private key for encryption.
or, can also provide the name of designated secret that can be managed externally (but requires more setup). |
Adds a CronJob which can be enabled via values, using one of the defined storages.
Backups run daily (by default) and store output of
mongodump ... --archive
to a timestamped file.