Just something I’m curious about as I can totally imagine it happening in the real world.

Let’s say that Healthcorp is a medical services provider of some kind, and as such are required to keep certain records for a certain amount of time. They sign a contract with Archivetopia to keep safe all the records that they absolutely have to hold onto. However, the guy that used to work at GitLab got hired for Archivetopia, and he accidentally deletes a ton of entries from their database, which included Healcorp’s records, and there is no way to recover any of it. Then, Healthcorp gets subpoena’d, so they call up Archivetopia only to find out they can’t produce the records they need.

Who is liable in this case?