I want to use a relative path to ignition installation folder in SQLite Connect URL, so when I backup and restore my gateway from a windows OS to Linux the URL still working for me.
What is the correct syntax for it?
For example:
C:/Program Files/Inductive Automation/Ignition/data/projects/HMI.db
to some thing like that:
./data/projects/HMI.db
There’s supposed to be functionality to do this using a placeholder in the connect URL, but it isn’t working in 8.1.0 - we’ll provide this in an upcoming version.
It will likely be a placeholder in the URL you provide at the database connection - something like ${data}/path/to/file.db, where ${data} automatically resolves to the local gateway’s data directory.