Knowledge Base
v5.17.1
Search this version
Knowledge Base
Knowledge Base
Configuration and Settings
Errors and Troubleshooting
Features and Functionality
Licensing, Setup and Deployment
Updates, Patches and Bug Fixes
Version Upgrades
Title
Message
Create new category
What is the title of your new category?
Edit page index title
What is the title of the page index?
Edit category
What is the new title of your category?
Edit link
What is the new title and URL of your link?
How to automate backup configuration settings for MD Core? (API)
Copy Markdown
Open in ChatGPT
Open in Claude
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: GET - Export configurationAPI
Prerequisites
- A valid MetaDefender Core API key (
session_id), which the user has received from the post request for Login POST - LoginAPI
Export settings:

Response example

Bash script template:

Import settings
- The prerequisites for this also required the login
session_idto make the API call. For reference: POST - Import configurationAPI

Import request

Include the file
Bash scripts template:

Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard
Last updated on
Was this page helpful?
Next to read:
Why I can't push configuration due to password storage?Discard Changes
Do you want to discard your current changes and overwrite with the template?
Archive Synced Block
Message
Create new Template
What is this template's title?
Delete Template
Message