File Restores on Edoras
Edoras uses EMC Legato to backup home directories daily. The Legato backup allows a user to recover files themselves! Backups are run once a day, starting at 10:00PM. Backups normally finish by 1AM. A deleted file can only be restored if it existed before 8 PM.The recover command will allow selection of file(s) to be recovered in the current directory. The most recent version of the file(s) will be recovered. Multiple files, directories, and wildcards may be used to select files (example: *.c readme Makefile) When a directory is recovered, the directory and all files within are recursively restored. A restore will normally finish in a minute or two.
Recovering a file deleted today, myfilename.c:
rohan ~ > recover
recover: Using sauron as server
recover: Current working directory is /home/un/joeuser/
recover> ls -l myfilename.c
-rw-r--r-- 66257 Sep 13 02:00 myfilename.c
recover> add myfilename.c
1 file(s) marked for recovery
recover> recover
Recovering 1 file into its original location
Volumes needed (all on-line):
sauron.001.R0 at E:\Raid\_AF_readonly
Total estimated disk space needed for recover is 66 KB.
Requesting 1 file(s), this may take a while...
./myfilename.c
Received 1 file(s) from NSR server `sauron'
Recover completion time: Thu Sep 13 12:22:06 2001
recover> quitThe ls command displays files that existed in your account yesterday. If the file that needs recovering was removed before yesterday, ls will not find that file. Reset recover for an earlier time, displaying the filesystem as it then existed. The changetime command is used to reset when to display the filesystem, as in changetime last week or as in changetime Sep 6
Recovering a file deleted a week ago from the public_html directory, index.html:
rohan ~ > cd public_html
rohan public_html > recover
recover: Using sauron as server
recover: Current working directory is /home/un/joeuser/public_html
recover> ls -l index.html
recover: index.html: not found
recover> changetime last week
time changed to Thu Sep 6 23:59:59 2001
recover> ls -l index.html
-rw-r--r-- 2345 Sep 6 02:00 index.html
recover> add index.html
1 file(s) marked for recovery
recover> recover
Recovering 1 file into its original location
Volumes needed (all on-line):
sauron.001.R0 at E:\Raid\_AF_readonly
Total estimated disk space needed for recover is 3 KB.
Requesting 1 file(s), this may take a while...
./index.html
Received 1 file(s) from NSR server `sauron'
Recover completion time: Thu Sep 13 12:32:15 2001
recover> quitNotes:
- Display prior versions of file(s) by "versions", ex: versions myfilename.c
- Select a prior version by "changetime date", ex: changetime Sep 11
- Type nsrwatch to view the status of the backup server
Type quit to exit from recover or nsrwatch When using recover, type help for help