Add a comment about the ignored return value.
Use a more concise error return syntax.
Add missing doc comments.
Use a more concise error return syntax.
Store backups data/metadata in a separate mongo database.
Use a DB info struct with information about which databases to dump.
Build the backup dump info from juju state.
Explicitly identify the auth DB.
Factor out the mongodump command to be more versatile.
Dump each database separately.
Dump everything and clean up afterward.
Use the backups database.
Drop a superfluous comment.
Use sets for the DB targets.
Return an error instead of panic.
Return an error instead of panic.
Use set.Strings for targets.
Flesh out the dump-then-strip implementation.
Fix lingering typos, etc.
Remove -> RemoveAll.