Custom command options for MongoDB hook #837
Labels
No Label
bug
data loss
design finalized
good first issue
new feature area
question / support
security
waiting for response
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: borgmatic-collective/borgmatic#837
Loadingโฆ
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What I'd like to do and why
Implement two new configuration option for the existing MongoDB hook to run custom MongoDB command for each of dumping and restoring instead of the defaults (
mongodump
andmongorestore
, respectively).Broken off from #311.
Other notes / implementation ideas
Make sure to use
shlex
shell escaping to prevent shell injections attacks. See the other database hooks for an example.I can take care of this and #836 (unless you want me to save them for others ๐).
Nobody else has stepped up in the five hours since these tickets have existed, so as far as I'm concerned they're all yours if you want 'em. ๐