-
-
Notifications
You must be signed in to change notification settings - Fork 51
MongoDB Backups #1322
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
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). |
Closing this for now, as its fairly low priority after 11 months, and can possibly be implemented outside Browsertrix itself. If using an externally managed MongoDB as we do, it may have its own backups, so this is less of a priority. |
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.