School of Mathematics

Tape Backups

Home Directories

A full backup of the home directories is done every Sunday at 02:00
An incremental of the home directories are done every day at 02:00

E-mail

A full backup of e-mail is done evey day at 23:30

Twice a year, a full backup is done and is saved to an off-site facility

Tape restores are used when file(s) have been lost over a month.
Snapshots can be used to restore file(s) lost between an hour and one month.
The section below describes how to retrieve files saved in the snapshot directory.


Snapshots

Home Directories

A snapshot of your home directory is periodically taken.

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.
When you are finished, you can copy it to your current home directory by typing:
cp file /my/home/directory

E-mail


A snapshot of your e-mail is also taken periodically

At a terminal prompt, type:
cd /var/bak/mail
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.
The backup of your e-mail is in the form username.gz ,
where username is substituted with your username.
Search through the directories to find which e-mail backup you want to restore.

To compare the dates and sizes of the backups type:
find . -name username.gz -ls
To restore your e-mail:

cd into the directory you want to restore your mail from

Type:
cp username.gz /var/mail
gunzip /var/mail/username.gz
You will receive a warning:
gunzip: /var/mail/username already exists; do you wish to overwrite (y or n)?
Type y to accept.

Your e-mail has been restored.
Copyright ©2006 Institute for Advanced Study

1 Einstein Drive • Princeton, New Jersey • 08540 US

Tel: 609-734-8100 • Fax: 609-951-4459 • math@math.ias.edu

Powered by Website Baker Accessible Website Menu by Brothercake