> For the complete documentation index, see [llms.txt](https://help.qtech.co.nz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.qtech.co.nz/datran/datran-vi-scada/datran-database-import-utility.md).

# DATRAN Database Import Utility

Windows utility that imports XL4 Plus RTU logs and CSV data from other data loggers into the DATRAN SQL database, for Trending and Reporting.

The DATRAN Database Import Utility allows third party data logs and the historical data log from an XL4-Plus RTU to be collected and imported into the DATRAN database. Once there, the data can be analysed using existing DATRAN tools such as DATRAN Trending or DATRAN Reporting.

It does two jobs:

* **Recover RTU logs.** Collect information from the RTU in the event that communications to DATRAN are compromised for long periods: retrieve the log using the QTech Workbench utility, then import it into the DATRAN SQL database using the import utility. See [Import an XL4 Plus RTU log](https://help.qtech.co.nz/datran/datran-vi-scada/datran-database-import-utility/import-rtu-log.md).
* **Import data from other data loggers.** Collect data from measurement systems that are not integrated with DATRAN, from comma separated value (CSV) files. This allows a single database to be used for both the DATRAN SCADA system and third-party products. See [Import CSV data from other data loggers](https://help.qtech.co.nz/datran/datran-vi-scada/datran-database-import-utility/import-csv.md).

The utility can also re-export the data as a CSV file, suitable for opening in Microsoft Excel or a text editor. This is commonly undertaken to check the data or prune unrequired records from the log.

![Recovering an XL4 Plus RTU log: retrieve it with Workbench, import it with the utility, and check it in DATRAN Trending](https://3621580088-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fa5hMAUl7E1cWeN5Rghg0%2Fuploads%2FwAGzgsyPFDwZ6VtSeIaA%2Fdiu-recovery-process.png?alt=media)

{% hint style="info" %}
These pages are for the Database Import Utility V1.04 (shown in some places as V1.4), released June 2026, and its user guide (version 05). Where earlier versions differ, the page says so.
{% endhint %}

## What it needs

| Item         | Requirement                                                                                                                                                                    |
| ------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| PC           | A PC running Microsoft Windows 10 or later. Recommended minimum 8 GB RAM, 5 GB hard drive.                                                                                     |
| .NET         | .NET Framework 4.8 (enabled in Windows Control Panel **Programs and Features**)                                                                                                |
| Database     | A valid user account configured within your SQL database. The user account must have rights to add records to the database. Currently Windows Authentication is not supported. |
| For RTU logs | QTech Workbench V2.16 or later to retrieve the RTU log, or XL4-Connect for the archive log, and DATRAN Browser to export the site's nodes                                      |
| Licence      | V1.1: The licensing of the Database Import application is linked to the machine that it is installed on.                                                                       |

The user guide is for systems administrators of DATRAN SCADA systems installations. It assumes that you have been trained on and are familiar with QTech DATRAN products, their configuration and their terminology. Users are also expected to have a working knowledge of spreadsheet applications such as Microsoft Excel.

## What it can import

| Log                                                                         | Retrieved with                             | Import with the utility?              |
| --------------------------------------------------------------------------- | ------------------------------------------ | ------------------------------------- |
| RTU log, collected by DATRAN's HDI over the normal comms                    | DATRAN, automatically                      | Not needed                            |
| RTU log, via USB cable                                                      | QTech Workbench                            | Yes                                   |
| RTU log, copied to a USB memory stick in the RTU (firmware V7.18 and later) | QTech Workbench                            | Yes                                   |
| RTU log and archive log (firmware V7.19), over a LAN                        | XL4-Connect                                | Yes. Archive logs need utility V1.04. |
| CSV files from third-party data loggers                                     | Any application that can export CSV format | Yes                                   |

XL4-Connect is not currently designed for use over the Internet with HTTPS.

## Start here

* [Install and connect the Database Import Utility](https://help.qtech.co.nz/datran/datran-vi-scada/datran-database-import-utility/install.md)

## Use it

* [Import an XL4 Plus RTU log](https://help.qtech.co.nz/datran/datran-vi-scada/datran-database-import-utility/import-rtu-log.md)
* [Import CSV data from other data loggers](https://help.qtech.co.nz/datran/datran-vi-scada/datran-database-import-utility/import-csv.md)

## Fix a problem

* [Troubleshooting](https://help.qtech.co.nz/datran/datran-vi-scada/datran-database-import-utility/troubleshooting.md)
* [Add-ons: common questions](https://help.qtech.co.nz/datran/datran-vi-scada/add-ons-common-questions.md#datran-database-import-utility)

## Reference

* [Release notes](https://help.qtech.co.nz/datran/datran-vi-scada/datran-database-import-utility/release-notes.md)
* [Downloads](https://help.qtech.co.nz/datran/datran-vi-scada/datran-database-import-utility/downloads.md)

## Related

* [Recover logged data manually](https://help.qtech.co.nz/datran/datran-telemetry/datran-xl4-plus-rtu/data-logging/recover-logged-data.md): retrieving the log from the XL4 Plus
* [Data logging and the archive log](https://help.qtech.co.nz/datran/datran-telemetry/datran-xl4-plus-rtu/data-logging.md): what the RTU log and archive log hold
* [RTU data logging (HDI)](https://help.qtech.co.nz/datran/datran-vi-scada/datran-vi/rtu-data-logging.md): how DATRAN normally collects RTU logs
