How do I restore deleted files?

CETS regularly backs up your SEAS home directory so you can restore files to an earlier state if they have been changed or accidentally deleted.

What is the .snapshot directory?

The .snapshot directory is a special directory that holds snapshots of your files made over the last few weeks. It is normally hidden to commands like ls or dir, unless you provide the directory name. To view the contents, type the following command in any directory:

ls .snapshot/

The .snapshot directory contains directories named after the dates and times that the snapshots were taken, based on this schedule:

Select the desired snapshot and list the files to see them as they were at that time. For example:

ls .snapshot/hourly.2019-04-17_0905/

You can copy files from the desired snapshot back to their original locations.

Please note: The snapshots do not count against your SEAS disk usage.

Can I access the .snapshot directory remotely?

The .snapshot directory is accessible in NFS/SMB/CIFS/SSHFS mounts or to remote file transfer clients, such as sftp, scp, rsync, etc., as long as it is explicitly accessed by name. It will not normally be included in recursive directory transfers or when copying files.

How do I restore a file that was deleted or changed before my oldest snapshot?

If the file 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, contact CETS and request that your files be restored. Be sure to provide:

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.

Locating and restoring files from backup tape is a time-consuming process, so expect to wait one or more business days before the file is restored. CETS limits 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, please download another copy instead of asking us to restore it from tape. 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