Restore a snapshot:
save snapshot with daemon mode, the output file in following command is out1-¡current date and time¿. Whenever the value of casavePV (oag:casave) is changed to 1, a new saving starts and data is written to a new output file with rootname of out1. (var1 is the input file contains PVs to be read)
The input file is an SDDS file with a string column. For saving snapshot, the input file contains at least one string column - ControlName. For restoring snapshot, the input file contains at least two string columns - ControlName and ValueString, where ValueString is the value of the PVs to be restored.
The output file only exists for saving snapshot. The output file contains everything in the input file, except that the ValueString column (if the input file has ValueString column) is update. And three more columns are created if they do not exist in the input file and their values are updated.