Skip to content

No option for backing up from primary #192

@acheccuc

Description

@acheccuc

We have a use case where backup needs to be taken on the data center hosting the replica set primaries, while the secondaries are geographically another continents.
I read through the documents, but I didn't find any option to specify primary reads. Apparently this option is statically passed to mongodump:

mongodump_flags.extend(["--readPreference=secondary"])

in MongodumpThread.py, along with a secondary hostname.

Any plan to add flexibility on this aspect?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions