Posts: 53
Threads: 20
Joined: Apr 2017
Reputation:
1
Hello,
I want to create >100 trend logs (each about 0.4mb). So where these logs are stored on LM and is it possible I run out of storage by doing this?
As I noticed, when I create logs System Status -> Memory increases, which is total of 122mb. Can I store those logs in other place, for example System Status -> Partitions -> /dev/mmcblk0p3, there are free 3.5gb space.
Leonidas.
Posts: 7769
Threads: 42
Joined: Jun 2015
Reputation:
447
Trends and main db is stored in RAM and is copied to SD every 30 minutes. This is a must to prolong SD card lifetime. The maximum number of space that trends can use is limited in the current RC firmware.
Posts: 53
Threads: 20
Joined: Apr 2017
Reputation:
1
OK, thanks. Seems like I will run out of space with 100 trends..
Posts: 4653
Threads: 24
Joined: Aug 2017
Reputation:
208
(18.03.2019, 13:30)Kai-Roger Wrote: (17.05.2017, 08:05)admin Wrote: ~30MB
Hi.
Why is there so little storage for the trend logs? Becouse of total available RAM?
BR
Kai-Roger
30MB was on hardware without SPI and yes this limit was due to RAM. On hardware with SPI the limit is around 21MB due to SPI size.
------------------------------
Ctrl+F5
Posts: 4653
Threads: 24
Joined: Aug 2017
Reputation:
208
(18.03.2019, 14:12)Kai-Roger Wrote: (18.03.2019, 13:56)Daniel. Wrote: (18.03.2019, 13:30)Kai-Roger Wrote: (17.05.2017, 08:05)admin Wrote: ~30MB
Hi.
Why is there so little storage for the trend logs? Becouse of total available RAM?
BR
Kai-Roger
30MB was on hardware without SPI and yes this limit was due to RAM. On hardware with SPI the limit is around 21MB due to SPI size.
Is it the same limit on the newest LM5?
yes
------------------------------
Ctrl+F5
Posts: 133
Threads: 19
Joined: Apr 2018
Reputation:
0
20.05.2019, 15:02
(This post was last modified: 20.05.2019, 15:02 by manos@dynamitec.)
Hello All,
Are the trend logs overwritten in case of a project restore? If yes is there a way I could download the data and re-upload them after the project upload?
Thank you in advance
Posts: 7769
Threads: 42
Joined: Jun 2015
Reputation:
447
Trend logs are part of whole backup. There's no built-in way to do partial backup restore. For trends this is not trivial because each trend log is stored as a separate file and there are also main database entries.
Posts: 4653
Threads: 24
Joined: Aug 2017
Reputation:
208
It depend of what changes you want to make. If you want to update just scripts or visu then this you can backup separately and restore on site.
------------------------------
Ctrl+F5