We have a day and a half gap for 2800 tags. I was asked to read the data from PHD and write to PI. I am using a Python script to get the data for each tag (iterate through list of tags) then write it to PI. The data writes successfully to PI but after a system reboot (more like a crash) all the data inserted with the script was gone. My insert was done with
INSERT INTO piarchive..picomp2 (tag, time, value) VALUES (then the variables).