Scheduled Purging and Archiving of Data
Hi Developers,
I have a use case where i have to purge sensor data for a certain time period as well as have to take backup of the same data before its purged.
I have gone through the community and support portal and got an idea on the following activities which will be automated through a Scheduler at the end of each day.
How to programmatically take backup of Data
One challenge i see here is that the service have to purge the data only after it gets a confirmation that the same have been taken backup.
So when i run the API for taking backup of data i get a message stating as given below. But it doesn't really give the actual status of the backup activity (like the deployment status available for the SCM module of the TWX Utilities). I have to manually check it up in the logs.
Data Export submitted for processing. Please check the log for completion status of Task-<some number>
I want to know if there is a better way to know about the actual status of the task or I can consider that the data export will be successful if I get the above response from the invoked export API.
Thanks and Regards,
Saran

