You are here

Data backup and restore(SAG)

All users of ENCS's computing resources can access on-line backup system, which creates 'snapshots' (read-only copies of your files) at regular intervals. Under Unix, every directory mounted from Netapp has a .snapshot subdirectory with a number of entries. The .snapshot directory doesn't appear in the output of ls unless you specify it explicitly. You can recover files that have been deleted or changed by copying files from the snapshot to your home directory.

[respect] [/home/u/username] > ls -la .snapshot 
total 3088 
drwx------ 58 username username 53248 Sep 27 17:03 hourly.0 
drwx------ 58 username username 53248 Sep 27 17:03 hourly.1 
.... 
drwx------ 57 username username 53248 Sep 23 17:24 hourly.27 
drwx------ 57 username username 53248 Sep 23 17:24 nightly.0 
drwx------ 57 username username 53248 Sep 23 17:24 nightly.1 
.... 
drwx------ 59 username username 53248 Sep 13 22:21 nightly.11 
drwx------ 57 username username 53248 Sep 23 17:24 weekly.0 
drwx------ 58 username username 53248 Sep 17 17:47 weekly.1 
.... 
drwx------ 59 username username 24576 Jun 6 23:23 weekly.16 

FAQ

Please see the Related Document for details.

You need to know:

  • The name of the file.
  • where was the file (the path).

To recover a lost file:

  • find all available versions (timestamp) of your lost file in .snapshot subfolder.
  • select the proper version of the file to be recovered, and copy it to an appropriate target directory.