Custom command options for MongoDB hook #837

Open
opened 2024-03-03 22:42:11 +00:00 by witten ยท 2 comments
Owner

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 and mongorestore, 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.

### 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` and `mongorestore`, 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.
witten added the
good first issue
label 2024-03-03 22:42:18 +00:00

I can take care of this and #836 (unless you want me to save them for others ๐Ÿ˜„).

I can take care of this and #836 (unless you want me to save them for others ๐Ÿ˜„).
Author
Owner

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. ๐Ÿ˜„

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. ๐Ÿ˜„
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: borgmatic-collective/borgmatic#837
No description provided.