This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Restore value on power loss
#1
Hi!

Please advice how to save some values to memory, to be able to restore them after power-loss and reboot?
Does values in storage saved? How to sync storage to disk?
Reply
#2
Storage and main database are saved to the SD card every 30 minutes. Normal reboot via UI performs saving before the system is restarted. If a power loss happens then the latest values might be lost. You should install a UPS if there are frequent power outages.
Reply
#3
(02.02.2024, 07:06)admin Wrote: Storage and main database are saved to the SD card every 30 minutes. Normal reboot via UI performs saving before the system is restarted. If a power loss happens then the latest values might be lost. You should install a UPS if there are frequent power outages.

Is there a command to manually save storage to SD card?
Reply
#4
You can do this manually from the main UI by clicking "Sync project data". Using this too often is not recommended as it can degrade the internal SD card quickly.
Reply
#5
(02.02.2024, 10:28)admin Wrote: You can do this manually from the main UI by clicking "Sync project data". Using this too often is not recommended as it can degrade the internal SD card quickly.

Hi! Is there a way to save data via script command, not via UI?
Reply
#6
Why? The default save interval is there for a reason…
Reply


Forum Jump: