Use this Techsupport with a periodicle trigger to your need. This will create a zip file in the sdk flash space. with a timestampe in the filename. You can download the file via scp. now = localtime(time()); timestamp = strftime("%Y%m%d%H%M%S", now); printf("%s",timestamp); file_copy("/host/various/techsupport",sprintf("ts_%s.zip",timestamp));