# Data Backup and Restore

Snapshots can be used to restore a file or folder after they were saved to our network file server. The section below describes how to retrieve files saved in the snapshot directory.

## Home Directories

A snapshot of your home directory is throughout the course of the day.

At a terminal prompt, type:

cd .snapshot

If you type:

ls

You will see a list of directories:

./         hourly.1/  hourly.4/   nightly.1/  nightly.4/  weekly.1/

../        hourly.2/  hourly.5/   nightly.2/  nightly.5/  weekly.2/

hourly.0/  hourly.3/  nightly.0/  nightly.3/  weekly.0/


hourly.0 contains the most recent backup.

Search through the directory to find your lost or deleted file(s) or folder(s).

When you are finished, you can copy it to your current home directory by typing:

cp file /my/home/directory

## E-mail

Contact the School of Math Help Desk at help@math.ias.edu if you need to retrieve previously deleted e-mail messages.