Recover Lost Files
If you accidentally removed a file, this is how you get it back. All of your files are backed up nightly to tape. You can use the recover(8) command in Unix to restore your file. To recover a lost file:
- Log into your panther account.
- {0}:panther:/gsu99/stu/70/gs00xxx/> recover
- You will see: recover: Current working directory is /gsu99/stu/gs00xxx/ recover>
- recover> add filename
- recover> recover
Be patient; the restore may take a few minutes because the tape has to be mounted in the tape drive and your file has to be found on the tape. The file should be recovered. It has also been recommended that users not recover files between 8 p.m. and 4 a.m. because of regular backup schedules.
Use the "changetime" command within recover(1) to browse last week, or the week before that, etc. If you're not sure of when you last modified that file:
- recover> versions filename
- You will see: 2 drwxr-xr-x 3 hcsjkp hcs 1536 Mar 3 09:28 public_html/
save time: Sat Mar 13 08:31:33 1999 location: AA0131 - Then, if you want an earlier version enter: recover> changetime mon/day/year
- recover> recover filename
Here's an example. You inadvertently deleted your homepage. This is how you would recover it. The file name is index.html. You want to recover the version from the latest back-up.
- Log into your Panther account.
- Because the file you want to recover is in another directory, type: {0}:panther:/gsu99/stu/70/gs00xxx/> cd public_html
- {0}:panther:/gsu99/stu/70/gs00xxx/public_html> recover
- recover> add index.html
- recover> recover
Remember: The file should be recovered. It has also been recommended that users not recover files between 8 p.m. and 4 a.m. because of regular backup schedules.








