Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Recovering Deleted files

Info
titleReference documentation

HPC2020: Filesystems

  1. Imagine you have accidentally deleted ~/.profile in your HOME directory. Can you get back the latest version?

    Expand
    titleSolution

    You can use the snapshots . You can list all the versions available with:

    No Format
    ls -l ~/.snapshot/*/.profile

    To recover, you would just need to copy the file back into place. 

    For longer time spans, use the utility home_snap to get the locations


  2. Imagine you have accidentally deleted a file in your PERM directory. Can you get back the latest version?

    Expand
    titleSolution

    You can use the snapshots . You can list all the versions available with:

    No Format
    perm_snap

    Note that the snapshots are less frequent in PERM.


  3. Imagine you have accidentally deleted a file in your SCRATCH or HPCPERM directories. Can you get back the latest version?

    Expand
    titleSolution

    Unfortunately there are no snapshots or backups for those filesystems, so the data has been lost permanently.