How to automate backup configuration settings for MD Core? (API)

This article applies to all MetaDefender Core V4 and V5 releases deployed on Windows.

This article provides a simple Bash script template that allows users to automate the export of MetaDefender Core configuration using the /admin/export/v2 API endpoint. For reference: https://www.opswat.com/docs/mdcore/metadefender-core#adminexportv2

Prerequisites

Export settings:

Response example

Response example

Bash script template:

Import settings

Import request

Import request

Include the file

Include the file

Bash scripts template:

If you have followed all of the steps above but cannot set the desired RAM Drive security permissions, please follow these instructions on How to Create Support Package With Bundle Tools? before creating a support case or chatting with our support engineer.

Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard