Use the following process to create an import source file that contains InterMapper database data so that it is present and accessible to the server during an import task.
Exporting of device data was introduced in InterMapper 4.3. You can use either of the following methods to export the InterMapper Map data in XML format:
Either method can be carried out on the computer hosting the InterMapper Console or any remote computer hosting InterMapper Remote. The command line interface (CLI) is ideal for automating the export/import process by using the operating systems scheduling utility (that is, Microsoft Windows Scheduler or Linux cron).
Log on to InterMapper using an account that has file export privileges.
If you are logging onto the InterMapper Console, you might not be asked for a username and password.
Run the following command on the computer that hosts the InterMapper Console to export all device tables from all maps to an XML file:
java -jar InterMapper_Console.jar --host 127.0.0.1 --export "format=xml table=devices fields=*" > filename.xml
filename.xml is the path and file name of the resulting XML file
Confirm the following requirements before running the InterMapper Remote command line export:
Use the following command if running on a remote computer hosting InterMapper Remote to export all device tables from all maps to an XML file:
java -jar InterMapper_Remote.jar --host host --user username --pass password --export "format=xml table=devices fields=*" > filename.xml