msr-consulting / exscalabar_server

Repository for the EXSCALABAR server.
http://www.msrconsults.com/ukmet-gh/exscalabar
0 stars 1 forks source link

Write server files to data directory at startup #166

Closed lo-co closed 7 years ago

lo-co commented 7 years ago

We have the possibility of losing the INI either through a rebuild or accident. Add ability to write regularly to the data file these important files.

lo-co commented 7 years ago

Works now - will write to the two places defined under the section MainFile in the ini. The format of the name is the date_time similar to the data files with no prefix and a .ini extension. If either of the top level locations does not exist, it will not attempt to copy the file to that location.