Fortimanager

Bulk retrieve config

  1. Create a script in FortiManager -> Device Manager -> Scripts -> Create New.

2.png

diagnose fdsm cfg-upload 'comment' <----- Any comment can be set, it  will be used to identify the retrieve in the revision history.

Note:

For FortiGates with VDOMs enabled, the script should be modified to this:

config global

diagnose fdsm cfg-upload 'comment'

 

3.png

  1. Running the script on all FortiGates:
 

4.png

 

5.png

run_now.png

<span class='highlight' style='background-color:yellow'>click</span>_ok.png

start_run.png

run_success.png

  1. Go to Device Manager and the configuration status of FortiGates should show synchronized. If any FortiGate is not showing synchronized, 'right-click' on the device and select 'Refresh Device'.

sunc.png

  1. In the Total Revisions for each FortiGate, there will be a 'Retrieve' entry with the 'comment' in the comments section.

11.png

Note 1:

Script Status/logs can also be checked from: System Settings -> Task Monitor:

TM.png

Note 2:

Bulk retrieval can also be done by selecting the notification icon on the top, but it only works if the devices are either in a 'conflict' or 'out-of-sync' state.

13.png