Did Pixar accidentally delete Toy Story 2 during production?: originally appeared on Quora: The best answer to any question. Ask a question, get a great answer. Learn from experts and access insider knowledge. You can follow Quora on Twitter, Facebook, and Google+.
Hi everyone, I'm the Oren Jacob in the video. Hopefully I can offer some first person color commentary about the video above that might serve to answer the questions here. Note, after 20 years at the studio I left Pixar last year to start ToyTalk (www.toytalk.com), so this answer hasn't gone through any PR filtering, it's straight from my foggy memory of those events back in the late 90's.
First, it wasn't multiple terabytes of information. Neither all the rendered frames, nor all the data necessary to render those frames in animation, model, shaders, set, and lighting data files was that size back then.
A week prior to driving across the bridge in a last ditch attempt to recover the show (depicted pretty accurately in the video above) we had restored the film from backups within 48 hours of the /bin/rm -r -f *, run some validation tests, rendered frames, somehow got good pictures back and no errors, and invited the crew back to start working. It took another several days of the entire crew working on that initial restoral to really understand that the restoral was, in fact, incomplete and corrupt. Ack. At that point, we sent everyone home again and had the come-to-Jesus meeting where we all collectively realized that our backup software wasn't dishing up errors properly (a full disk situation was masking them, if my memory serves), our validation software also wasn't dishing up errors properly (that was written very hastily, and without a clean state to start from, was missing several important error conditions), and several other factors were compounding our lack of concrete, verifiable information.
The only prospect then was to roll back about 2 months to the last full backup that we thought might work. In that meeting, Galyn mentioned she might have a copy at her house. So we went home to get that machine, and you can watch the video for how that went...
With Galyn's machine now back in the building, we dupe'd that data immediately, then set about the task of trying to verify and validate this tree, which we thought might be about 2 weeks old. We compared Galyn's restoral with a much older one (from 2 months prior) and couldn't determine a clear winner, there were too many inconsistencies. So, instead, we set about the task of assembling what effectively amounted to a new source tree, by hand, one file at a time. The total number of files involved was well into the six figures, but we'll round down to 100,000 for the sake of the rest of this discussion to make the math easier.
We identified the files that hadn't changed between the two, and took those straight away. Then there were the files that were on Galyn's but not on the older one; we took Galyn's and assumed they were new. Then there were files that were on the older one but not on Galyn's; we put those in the "hand check" pile, since it is unusual for files to be deleted within a production source tree, and we were suspicious of those deletions. Then there were the files that were different across the two backups, those also went into the "hand check" pile along with any files that were touched more recently than Galyn's version.
Given that, we had something like 70,000 files that we felt good about, and we poured those into a new source tree. For the remaining 30,000 files, it was all hands on deck.
We checked things across three partially complete, partially correct trees... the 2 month old full backup (A) , Galyn's (B, which we thought was the best one), and another cobbled together tree (C) from the stray files left around from failed renders, backup directories on animator's machines, some heads of source history that were left untouched, verbose test renders, and other random stuff we could find via NFS elsewhere in the building.
We invited a select few members of the crew back to work straight from Friday through Monday morning. We took rolling shifts to sleep and eat and kept plowing through, file by file, comparing each of the files in the "to be checked" list from A, B, and C, doing the best to verify and validate them, one at a time, by looking at them in xdiff.
In the end, human eyes scanned, read, understood, looked for weirdness, and made a decision on something like 30,000 files that weekend.
Having taken our best guesses at those suspect files, we assembled a new master of Toy Story 2. Many source histories were lost as a result, but we had the best version we could pull together. We invited the crew back, and started working again. Every shot went through a test render, and surprisingly, only a dozen or so failed.
I know full well that the following statement will likely blow people's heads up, but the truth is that more than several percentage points of the show (as measured in numbers of files) were never recovered at all. So how could Toy Story 2 work at all? We don't know. The frames were rendering (other than that dozen shots), so we just carried on, fixed those shots, and charged ahead. At that point, there was nothing more that could be done.
And then, some months later, Pixar rewrote the film from almost the ground up, and we made Toy Story 2 again. That rewritten film was the one you saw in theatres and that you can watch now on BluRay.