Recovering Deleted files
Info | ||
---|---|---|
| ||
Imagine you have accidentally deleted
~/.profile
in your HOME directory. Can you get back the latest version?Expand title Solution 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 locationsImagine you have accidentally deleted a file in your PERM directory. Can you get back the latest version?
Expand title Solution 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
.Imagine you have accidentally deleted a file in your
SCRATCH
orHPCPERM
directories. Can you get back the latest version?Expand title Solution Unfortunately there are no snapshots or backups for those filesystems, so the data has been lost permanently.