Automated Data Recovery Using Python