The possibility of importing and exporting the billing data (accounts, financial documents, hosting plans) in/from Parallels Business Automation - Standard can considerably facilitate migration of customer's data and reduce cost. If you provide Virtuozzo Containers or/and Plesk domains to your customers and feel like it is the right time to automate your business, or in case you want to merge two Parallels Business Automation - Standard databases, you can import the customer billing data in Parallels Business Automation - Standard (or export data from Parallels Business Automation - Standard) without the need to use special plug-ins or other complex tools.
In addition, to control and bill traffic usage on dedicated servers, it is possible to import a special configuration of traffic classes and after this, import traffic statistics collected internally.
All you need is to represent the data as an XML structure and then run the import script with this XML file as a parameter. The script processes one XML file per one run. To convert the billing data containing in Parallels Business Automation - Standard database into XML, the Export script is provided. If you need to import the data into Parallels Business Automation - Standard from some other, non Parallels Business Automation - Standard database, you need to represent this data in the form of XML file manually or using some other tools. Examples of XML files are provided at the end of this chapter.
Note: Parallels Business Automation - Standard provides web-based tools for XML data import/export (Import-Export Manager in Provider Control Center). If you would like to, you can use this tool (please refer to the Parallels Business Automation - Standard Provider's guide fo more information or go to Provider Control Center and click Help link for detailed HTML help).
After the Parallels Business Automation - Standard installation, both import and export scripts location on your Management Node is /usr/sbin/hspc-import and .pl/usr/sbin/hspc- respectively.export.pl