This page is for administrators or expert users who need to move items from one PhixFlow instance to another.
Overview
Exporting items from a PhixFlow instance produces a zip file that you can download; see Export Pane and Configuring the Download Area. You can then import the zip to another PhixFlow instance.
How to Import an Exported Zip
- In the Administration, select Import → Import Configuration.
- PhixFlow opens the Import Configuration window, then immediately opens a file manager window, where you can browse for the zip file.
- Select the zip file and click Upload File.
- If your zip file was created with encrypted fields, PhixFlow requires the file's security password; see Passwords, below.
- PhixFlow prompts you to enter the password.
- Optionally, untick Publish Streams, if you do not want PhixFlow to automatically publish stream data to its database; see Import and Updates to the PhixFlow Database, below.
- Click .
- PhixFlow imports the selected zip file.
When the import is complete, the console reports log messages that list the imported items. If the import fails, the console reports the errors; see Import Errors, below.
Import and Updates to the PhixFlow Database
If Publish Streams is ticked, at the end of the import process, PhixFlow publishes imported data to the database. This means that changes to streams and stream attributes will be applied to the stream data tables in the database. If publishing fails, the import will still complete successfully, and the publishing errors will appear in the console. See also Publishing Streams.
PhixFlow automatically rebuilds its database cache when the import completes. We recommend that you run large import processes during periods of low system usage, for example overnight. This gives PhixFlow time to complete the import and rebuild the caches without affecting the performance seen by users.
Import Errors
Large Imports
Very large imports can fail if they exceed limits on the server. If this happens, PhixFlow reports an Upload too large error. Consider splitting the items into several export zip files.
Missing Items
An import will fail if there is a reference to an item that does not exist:
- either in the import file
- or in the target system.
When you export items from one PhixFlow instance, it is important to ensure all items are present in the zip. For example, if items refer to other items in a package, ensure the package is included in the export.
If an import fails due to missing items, the console will log the following error message:
Error 612 messages - one message for each missing item. The message reports the item with the reference, and the item that is missing at the start, in the form
item-type "name" (reference) refers to item-type (reference)
Error 618 message - this message includes the reference for all the missing items.
How to Find Missing Items
- In the console, find the Error 618 message.
- Copy the references for the missing items to a text file.
- Go back to the PhixFlow instance where the import file was generated.
- Go to Administration → Other → Show in Repository,
- Paste one missing item reference into the field.
- PhixFlow opens the repository with the missing item highlighted.
Repeat this process to find all the missing items. Re-export all items you require; see Export Pane. If you have may items, consider adding them to a Package.
Ignoring References
In very rare circumstances, there may be a problem with references between types of item. In this case, you can configure PhixFlow to "null" any relationship from one type of item to a missing instance of another type. For example, items from one instance can refer to users. As different instances will have different users, the import will always fail. In this case, you can set PhixFlow to ignore (null) any references to missing users during an import.
Before deciding to ignore references, please discuss with PhixFlow support if there is another way to resolve your issue.
To configure PhixFlow to ignore specific references,
- In the console, find the Error 612 message from the failed import process.
- Copy the <from object>.<to object> string from the message.
- Go to System Configuration and paste the string into the Allow Missing on Import field.
- Save the configuration change.
- Re-import the zip file.
All log messages have a ? that goes to the system console help YOu need a link to troubleshooting import to here.