Skip to content

How to pass additional arguments to mongodump / mongorestore command? #9

@MurzNN

Description

@MurzNN

Thanks for so useful tool, but I can't find the right way for pass additional custom arguments to mongodump command via utils.dumpDatabase(connectionString, dirName), can you give an example?

For example, I need to pass --archive --gzip arguments to generate a compressed dump in single file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions