if you go to trainenquiry.com, old website and then look for find your train and then after getting the correct train you can mention upto previous few days, I think its 7 days or so ( correct me if I am wrong in number of days), you will find information. But beyond that its not available. But if there is algorithm to get such data on regular basis by bot then such information can be made available for all trains at least going forward.