How do I restore deleted files?

What happens if you accidently deleted something from your SEAS home directory? No need to worry, CETS has created backups for you. You can easily find them and restore then yourself from your SEAS home directory.

The Snapshot Directory

The .snapshot directory is a special directory that holds snapshots of your files made over the last couple of weeks. It doesn't show up when you run the ls or dir commands. To get to it, type the following in a command prompt:

cd .snapshot

Inside the .snapshot directory are directories named after the dates and times that the snapshots were taken. Pick one from just before you deleted your files and cd into it. You'll see your files as they were at that time. You can copy them back into your home directory from there. Please note: The snapshots do not count against your SEAS disk usage.

Accessing your snapshots via WS_FTP

You can access your snapshot directory using WS_FTP. Connection using these instructions, then add this in the address bar after your username:

/.snapshot

If what you deleted is no longer in your .snapshot directory, don't worry, there is still hope! CETS creates a monthly archive to tapes. If your lost files are important and cannot be recreated easily, send mail to CETS and request that your files be restored. Be sure to tell us the name and location of the file, and the date and time when the file was destroyed. Our backup tapes are reused each month, so we may not be able to restore a file that was removed more than a month ago.

Restoring a file from backup takes a CETS staff person about an hour, and you will have to wait about one business day, or possibly more, before the file is restored. For this reason, we try to limit each person to two restore requests per week, and three restore requests per semester. For this reason, please do not ask us to restore a file that can be easily recreated. For example, if you accidentally delete a file that you have saved off the web, just download another copy from the web rather than asking for us to restore it. But, if you accidentally delete the only copy of your term paper, we will be happy to restore it for you if we can.

© Computing and Educational Technology Services | Report a Problem
cets@seas.upenn.edu | 215.898.4707