A Ministry of Justice spokesman said: "We treat the security of information very seriously and took immediate steps to recover the data as soon as the loss was reported to ensure that it went no further.
"These types of incidents are extremely rare but this does not mean that we are complacent.
"A thorough investigation was held by the prison who immediately altered their procedures, and further changes were implemented across the prison estate."
More top news
Victims as young as three were discovered on a secret stash of 1,100 images and video files hidden in Dr Lam Hoe Yeoh's home.
Watch as mother Freedom nurses her newborn triplets born at the Ouwehands wildlife park.
A dog that was stolen from Middlesex a year ago has been reunited with her owner after being found in Somerset.