Technological advances help scholars and archivists do a better job of preserving historical records — but it’s not always easy.