Python tool for exporting types of objects from the management server

Document created by Inbar Moskovich Employee on Oct 13, 2016Last modified by Inbar Moskovich Employee on Jul 11, 2017
Version 1Show Document
  • View in full screen mode


This tool enables you to export all objects from a certain type,

which can be imported later into any management server.

This tool can be used for backups, database transfers, testing and more.




First, make sure you have [2.7.9 <= python < 3.0] installed on the machine running the script.

A typical run of the script to export all hosts will be along the lines of:

 -m [management server IP] -o hosts.csv



You can replace hosts with the name of the type you wish to export (given there is a file for it).

It will ask you for a username and a password to log in to the management server.

A lot more details can of course be accessed with the '-h' option.


Code Version

Code version 1.0


Tested on version

R80, API version 1.0


NOTICE: By using this sample code you agree to terms and conditions in this Terms and Conditions