skip to primary navigationskip to content

Department of Computer Science and Technology

Filespace

 

Retrieving lost data

For every directory that is maintained on the filer, data about old files is maintained, with new data compiled every 5 minutes. The data is organised as directories which contain your files as they were at the time the snapshot was taken. Each directory on the file server therefore contains a directory whose name is .snapshot (under Unix), or as "previous versions" (under Windows).

Using snapshots

You have to navigate to snapshot directories manually as they do not appear in directory listings, and do not respond to filename completion (under Unix). In Windows Explorer, snapshots will be visible under the "Restore previous versions" menu. Under Unix, using ls -lut in the .snapshot directory will return a list similar to this one:

drwxr-xr-x 119 maj1 maj1 24576 Nov 20 11:35 vserverdr.1.d2fe4ff4-c98b-11e9-964b-00a098fb3649.2019-11-20_113500
drwxr-xr-x 119 maj1 maj1 24576 Nov 20 11:35 5min.2019-11-20_1135
drwxr-xr-x 119 maj1 maj1 24576 Nov 20 11:30 5min.2019-11-20_1130
drwxr-xr-x 119 maj1 maj1 24576 Nov 20 11:25 5min.2019-11-20_1125
drwxr-xr-x 119 maj1 maj1 24576 Nov 20 11:20 5min.2019-11-20_1120
drwxr-xr-x 119 maj1 maj1 24576 Nov 20 11:15 5min.2019-11-20_1115
drwxr-xr-x 119 maj1 maj1 24576 Nov 20 11:10 5min.2019-11-20_1110
drwxr-xr-x 119 maj1 maj1 24576 Nov 20 11:05 hourly.2019-11-20_1105
drwxr-xr-x 119 maj1 maj1 24576 Nov 20 11:05 5min.2019-11-20_1105
drwxr-xr-x 119 maj1 maj1 24576 Nov 20 11:00 5min.2019-11-20_1100
drwxr-xr-x 119 maj1 maj1 24576 Nov 20 10:55 5min.2019-11-20_1055
drwxr-xr-x 119 maj1 maj1 24576 Nov 20 10:50 5min.2019-11-20_1050
drwxr-xr-x 119 maj1 maj1 24576 Nov 20 10:05 hourly.2019-11-20_1005
...

You should ignore any snapshots with names beginning "vserverdr" - these relate to the automatic offsite replication system. Other snapshots are named in an obvious manner with a timestamp indication when the snapshot was taken.

Older snapshots are gradually weeded out but we aim to keep some snapshots going back up to 5 years. However the snapshots readily available only date back to the introduction of the current filer in October 2019. Historic snapshots from the previous filer have been preserved elsewhere; contact the sys-admin for advice if you need to access them.

Even though you own the snapshot directories, you can't write to them or mv (under Unix)/cut and paste (under Windows) files from them. Because of that, retrieving files from a snapshot must always be a "copy" operation.

System backup

The main file server has an off-site replica which is currently updated every 10 minutes.