OldFiles Backup Directory
OldFiles is a directory that points to a separate volume used to create a nightly backup of the complete contents of your AFS home directory. Because OldFiles is a different AFS volume than your AFS directory, it does not affect your quota.
If you want to recover a file that you accidently deleted or changed within the past day, you may be able to retrieve the older copy from the OldFiles directory. The OldFiles directory has the same protections as your home directory, except that it is read only. You can view and copy anything from your OldFiles that you can view and copy from your home directory.
Note: If more than 24 hours pass before you notice that you deleted the file, a copy of the file will no longer exist in OldFiles.
A new copy of OldFiles is made every night between approximately 6 p.m. and 4 a.m.
OldFiles is like any directory in that you can copy and list files in it, change to it with the cd command, and so forth. However, OldFiles is read-only, so you cannot make changes to any of its contents. This means you cannot use the move (mv) command to move a file from OldFiles into your home directory--you must copy it there by using the copy (cp) command.
Follow these steps to locate and copy a file from your OldFile directory to your home directory:
- From your home directory, type cd OldFiles and press Enter.
- To view a list of the files in OldFiles, type ls and press Enter or type ls -l to view a more detailed listing (including dates, etc).
- Locate the file that you want and use the cp command to copy it into your home directory. For example, to copy a file from the top level of the OldFiles directory into your home directory, type: cp OldFiles/notes ~
Last Updated: 12/1/11