Given any home, group, or software folder in the form:

/cds/<fsgroup>/<fs>/<folder>

You can automatically view backups of that folder by accessing:

/cds/<fsgroup>/<fs>/.snapshots/<time>/<folder>

Where <time> indicates when the snapshot of that folder was created. Note that these automatic backups are for your home, group, or software data, not for your science data. The latter are archived, rather than backed up, and need to be restored from tape to be accessible. 

The following sections provide examples of how to access data that you accidentally deleted.  

Example: accessing backups of your home folder

Steps involved in restoring data from $HOME for user omarq: 

  1. Access the Weka file-system  in question:

    cd /cds/home/o/omarq

    Note: the file system name of your home folder is the first letter of your username.

  2. Go to the backup directory and check the available snapshot times: 

    [omarq@psbimmer ~ 13:52 Tue Apr 20]$ cd /cds/home/o/.snapshots/
    [omarq@psbimmer .snapshots 14:05 Tue Apr 20]$ ls
    @GMT-2021.04.19-16.00.00  @GMT-2021.04.19-19.00.00  @GMT-2021.04.20-08.00.00  @GMT-2021.04.20-11.00.00  @GMT-2021.04.20-14.00.00
    @GMT-2021.04.19-17.00.00  @GMT-2021.04.19-20.00.00  @GMT-2021.04.20-09.00.00  @GMT-2021.04.20-12.00.00
    @GMT-2021.04.19-18.00.00  @GMT-2021.04.19-21.00.00  @GMT-2021.04.20-10.00.00  @GMT-2021.04.20-13.00.00
  3. Select the appropriate calendar date and time you are interested in. The time is formatted as @GMT-YYYY-.MM.DD-HH.MM.SS. For example, to access the backup for omarq dated April 19th, 2021 at 6:00PM:

    [omarq@psbimmer .snapshots 13:57 Tue Apr 20]$ cd @GMT-2021.04.19-18.00.00/omarq
  4. Browse for missing data and copy back to $HOME directory

Example: accessing backups of your group folder

To access backups of the xpp group:

psnx03:~> ls -a /cds/group/xpp/
data executables repo scripts .snapshots stuff xppcode

psnx03:~> ls -a /cds/group/xpp/.snapshots/
@GMT-2021.04.19-21.00.00 @GMT-2021.04.20-11.00.00 @GMT-2021.04.20-15.00.00
@GMT-2021.04.20-08.00.00 @GMT-2021.04.20-12.00.00 @GMT-2021.04.20-16.00.00
@GMT-2021.04.19-19.00.00 @GMT-2021.04.20-09.00.00 @GMT-2021.04.20-13.00.00 @GMT-2021.04.20-17.00.00
@GMT-2021.04.19-20.00.00 @GMT-2021.04.20-10.00.00 @GMT-2021.04.20-14.00.00

psnx03:~> ls -a /cds/group/xpp/.snapshots/\@GMT-2021.04.20-14.00.00/
data executables repo scripts stuff xppcode