Recovering Deleted files

Reference documentation

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

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

    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?

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

    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?

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

  • No labels