How to Recover a Checkpoint File


First, you should make sure that you are on the same machine where you were working on your EZ file.

Then, do the following:

cd /usr/tmp
ls
Then look for the file called: ##.CKP, where is the User ID number of the owner of the file, and is the full pathname of the checkpointed file with all / replaced by @ in the path. For example if you had a file called paper.ez in your home directory then the checkpoint file would be called:
/usr/tmp/#11306@mit@wdc@paper.ez#.CKP
In the above case the user wdc has the UID 11306. To find your UID type the following at the athena% prompt:
hesinfo your_username passwd
which will return something like this:
wdc:*:11306:101:Bill Cattey,Bill,E40-349M,0140,9265571:/mit/wdc:/bin/csh
The number between the second and third : is the UID.

Once you know the filename, then use the following command to bring it back:

cp filename.CKP ~/newfilename
This will copy it into your home directory as newfilename. You should look at it and check that it is the version you want, before copying over your old version.