Custom Site export

Hi
Is it possible to export a custom site (including its content) and import it to the other IEM server ?

Yes, but not via the “air-gap” tool. It can only airgap “External” sites. There was a BigFix Labs tool written called “Synchronization (Demo)” which was supposed to do exactly that, but I never could get it to work.

To export the site, just select all content and right-click “Export”

1 Like

It is possible to do this with the REST API.

It is also possible to do it with the sync dashboard @sinucus mentions. You do have to create the custom site name on the server you are syncing it to for it to work. It won’t do that step for you.

There is also a BigFixMe sync dashboard that can be used to sync content from BigFixMe to your server, but it is very buggy and does not work very well at the moment. I was able to get it to work, but not without some odd issues.

Thx.
Could I find anywhere an example how create a site using api and standard PUT/POST method (LWP) in Perl ?

Probably not in Perl but you could adapt it from other examples. If you come up with some stuff in Perl, you can add it to the github examples.

Yesterday I tried to create a site using https://github.com/bigfix/restapi-examples/tree/master/create-site on BigFix 9.5.5

always I got the error
<! DOCTYPE html>Error

405 – Method Not Allowed

I used curl curl -k -X POST --data-binary @site.xml --user : https://192.168.1.23:52311/bes/sites
Common errors using iem.exe too

Any idea what I did wrong ?