Body
This article explains how to access snapshots of your home directory while on a fully managed Red Hat computer.
Instructions
- Open a terminal and type
cd ~/.snapshot
- Type
ls -la
to get a list of the available directories with dates. They are formatted as below:
daily.YEAR-MO-DA_TIME
hourly_7to7.YEAR-MO-DA_TIME
monthly_1stday.YEAR-MO-DA_TIME
weekly.YEAR-MO-DA_TIME
cd
into the directory that contains the date from which you are looking to restore.
- After finding the file that you want to restore, you will want to copy the file back to your home drive.
Example: cp -i ./test.txt ~/testfromsnapshot.txt
For information on how to restore files within Windows, please visit the Related Articles list.