Hi jarurlaj,
To change the archive directories, all you should need to do is update the connection string parameter in the PPA historian instance.
- Launch openHistorian Manager
- Navigate to
Outputs > Historian Instances - Select the
PPArecord from the list of historian instances - Add
ArchiveDirectories=C:\path\to\archive\folderto the connection string. I recommend against specifying the root of a drive as the location for archive directories. Always add a subfolder, such asArchiveDirectories=F:\Archiveinstead of.ArchiveDirectories=F:\ - Click the
Savebutton - Click the
Initializebutton and selectYeswhen prompted
The openHistorian web interface and Grafana both read data from the openHistorian’s local archival adapter, which handles both reading and writing. You shouldn’t need to do anything else to read data once the archive location has been moved.
If you have existing data in the old location that you want to keep, you can simply move the files from the old location to the new location. If you do not want to have to move your data to the new location, you also having the option of adding AttachedPaths=C:\path\to\old\archive to the connection string. By default, the application writes archive files to C:\Program Files\openHistorian\Archive.
Thanks,
Stephen