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.
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. |
tw4l
left a comment
There was a problem hiding this comment.
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 ... --archiveto a timestamped file.