In order to import policies from one instance of Bitdefender GravityZone appliance to another one, this app will use GZ API to export the required policies from the GZ appliance and will import it to new instance.
- Make sure you have created an API key on both Instance of GZ Appliances. Read Official Documentation for creating API Key
- Download Policy Migration tools:
- Linux:
- Windows:
- macOS: amd64 architecture
- Create a file called
config.json
and use the below template and place your own here:
{
"SRC": {
"SERVER": "192.168.1.1",
"API_KEY": "928eb517ef0cc0f84c910c38f14f1bb4b5fac87af099e704b40d71c1cf61ac24",
"POLICIES": [
"Policy1",
"Policy2",
"Policy3"
]
},
"DST": {
"SERVER": "192.168.1.2",
"API_KEY": "d6c812141b354aed5a04cc69cbde132385c05437c17a6e33bb8dcf7060d393d0"
}
}
- Run the following command to migrate from SRC server to DST server.
- ON Linux & macOS
chmod +x -v policy-migration
- Linux:
$ policy-migration -config /path/to/config.json
- Windows:
C:\ > policy-migration.exe -config \path\to\config.json
- macOS:
$ policy-migration -config /path/to/config.json
- ON Linux & macOS
5- If all the requirements are met, policies would be migrated from old server to new one.