Created on
10-22-2024
07:55 AM
Edited on
11-03-2024
11:56 PM
By
Anthony_E
Description | This article describes how to export metadata variables from an old configuration/FortiManager and import them to the new configuration/FortiManager from CLI. |
Scope | FortiManager. |
Solution |
Metadata variables can be exported from a previous configuration or FortiManager and imported to a new configuration or FortiManager from the CLI. Create a script and run it on a Policy Package or ADOM Database to create them on the new configuration/FortiManager.
Steps:
For example, the ADOM ID is 4997 and the category name is 'fmg variable'. So it can be used as follows:
execute fmpolicy print-adom-object 4997 "fmg variable" +all
Alternatively, category ID can be used as follows:
|