![]() |
![]() |
||||
|
Restoring Files Lost From Your HOME DirectoryRestoring Files Lost From Your HOME DirectoryWe take snapshot backups of SSCC home directories each night. The previous night's snapshot is found in the Backup directory. In addition, we take snapshots on the following schedule: • Daily, at midnight, retained 7 days • Weekly, at 1 am on Sunday, retained 5 weeks • Monthly, at 2 am on the first of each month, retained 6 months if we have enough capacity. The snapshot backup of the home directory tree taken at midnight each day is stored in /sscc/backup, which makes it easy to retrieve a file as it was yesterday. The first section of this web page, Restoring Files From Your Backup Directory, explains how to do just that. The section Restoring Files from Other Snapshots explains how to restore a file from older snapshots. And, if you're still having problems restoring a file, see Further Help Restoring Files.
The daily SSCC backup directory tree is organized in a manner that parallels
the directory tree for SSCC home directories. That makes it easy to restore
a file from yesterday's backup directory.
Snapshots of /sscc are stored in the directory /sscc/.snapshot. Each snapshot directory is named in such a way that explains the date when it was taken and whether it is a Daily, Weekly or Monthly snapshot. Here is an example: [bef@seldon ~]$ cd /sscc/.snapshot The directories named Backup, Monthly and Weekly are the most recent snapshot in each category (Backup being the most current Daily snapshot. The name Backup is used to remain consistent with previous practices that predate our current file server). The snapshots are also named in such a manner that their role (Daily, Weekly and Monthly) and the date they were taken is obvious. Note that each snapshot is taken of the very large directory tree that starts at /sscc. The following example shows how to retrieve the same ~bef/statistics/diskuse.dat file from the September 19th snapshot:
The method to use is to first change directories to /sscc/.snapshot and then to determine the path to your home directory with the command echo $HOME. Then change directories to the snapshot of your choice, using that directory name in place of the /sscc at the beginning of the path to your home directory. Make sure that you do so using the relative path, without the leading /. Then follow the example above to copy diskuse.dat from the September 19th snapshot to your home directory.
If you need assistance to restore a file from a snapshot directory, send
email to action@hardin or action@seldon to make your request.
Be sure to specify the full path to your file, including all of the subdirectories
along the way. And indicate the most recent date when the contents of
the file were correct. That will enable the system administrator to select
the correct snapshot directory from which to restore the file. |
|||||||||||
![]() |
Services |
Get Connected |
Support |
Educational Resources |
NUIT
|
|