Menu

#3356 imm: introduce new option for immcfg that allow overwrite when load from xml file

5.27.01
accepted
None
enhancement
imm
tools
major
False
2026-02-27
2024-07-26
No

Current behavior of import from xml:
immcfg -f <xml file>
If an item already exists, the command will be validated and skipped if the result is acceptable.
There is no ability to update objects from an xml file in the present behavior.

So, this ticket to introduce new option --overwrite, it's only applicable with -f option.
That allows users to update objects that already exist in IMM.
The option --overwrite is disabled by default.

immcfg --overwrite -f <xml file>
immcfg will replace attribute value if the object already exits

Discussion

  • Gary Lee

    Gary Lee - 2025-03-29
    • Milestone: 5.25.03 --> 5.25.09
     
  • Gary Lee

    Gary Lee - 2026-02-27
    • Milestone: 5.26.02 --> 5.27.01
     

Log in to post a comment.

MongoDB Logo MongoDB