hello every one,
i'm running node-red with influxdb2 opcua connect to Siemen Plc, everything working good, but now i need to change the path to save my influxdb data, i installed influxdb using powershell, i don't know nothing about coding, i'm an electrician so please can someone write a config file and show where to put it
What exactly do you mean by that? Do you mean how to configure influxdb to tell it where the database files should be? If so then why do you want to change it from the default?
If that is not what you mean then please explain in more detail.
Which node are you using to write to the db? Possibly node-red-contrib-influxdb.
That isn't a node red question, it is influxdb. On linux systems the config file is /etc/influxdb/influxdb.conf, and the locations for the various file components can be found there. I don't use windows so don't know where it is on Windows, but no doubt googling for something like
Where is the influxdb configuration file on windows
will help you.
sorry i tried every thing but nothing working i know i'mthe biggest problem
i'm searching for 1 week on internet but i don't know how to use what i found
Which tells me that it has all changed with v2 of Influxdb, so you will have to follow the instructions linked there. I don't use v2, I am waiting for the next major release when they are hopefully reverting to sql type queries again.
I see you have now posted another question. If that means you have found the solution to the problem here then please select one of the answers as the solution, or add another post so that we know the thread is complete.
hello Colin
this night i tried this but i'm not sure that i completly working
.\influxd.exe --engine-path "F://InfluxData"
because now i see data stored in my external drive but i'm not sure that is not saving on C becausei still see Data on C....like i say i'm good to write code i will perfom some test and see what happen
InfluxDB uses "sharding" so you may well find older shards still on your C: drive I would imagine. I've never looked into it though myself so I'm not certain.