You can easily recover your own files, as far back as four weeks ago, simply by copying an earlier version from the snapshot to the original directory. If you need a file restored from tape please fill out this form to submit your request for DECS to restore your file(s) from backup tapes.
The following example shows how to recover a file located in a specific folder.
Note: This directory does not appear with "ls" using any options, but is accessible with "cd".
<71 scully:~ >cd .snapshot
<72 scully:~/.snapshot >pwd
/home/username/.snapshot
Note: If you are unsure of the location of the file(s) you are attempting to recover, keep in mind that you can first change into the .snapshot directory then move into the .snapshot directory/folder where the file you want to recover is stored.
Type ls
you will see the hourly, nightly and weekly snapshot archives.
To see the timestamps associated with the creation of each of the snapshots, type ls -lu.
The timestamps will help you select the appropriate snapshot to use to recover your file(s).
Note: These timestamps are an approximation. If there have not been any modification to file(s) in your directory a new snapshot is not created.
If you type "pwd", you will see that you are two directory levels below the directory in the active file system.
<73 scully:~/.snapshot/hourly.2 >pwd
/home/username/.snapshot/hourly.2
<74 scully:~/.snapshot/hourly.2 >ls -a
... file1 file2 file3
<75 scully:~/.snapshot/hourly.2 >cp file2 ~/.
To save the recovered file to a different file name, to distinguish it from the current active file, use as follows:
<75 scully:~/.snapshot/hourly.2 >cp file2 ~/file2.R
<76 scully:~/.snapshot/hourly.2 >cd ~
<77 scully:~ >pwd
/home/username
<78 scully:~/path >ls -a
... file1 file2 file3