Hi,
You can develop a small script to do the above export. Please use the below commands to get the host/group list from DFM1 and add the same in DFM2.
dfm report view -F perl controllers
dfm report view -F perl groups
dfm report view group-members-recursive
Please let me know if you need any help.
Thanks,
KJag