NetWare SALVAGE UtilityOne of NetWares most useful utilities is the Salvage utility, which is kind of atrade secret. One day a user will delete a couple of files or a completedirectory accidentally, of course, and it will be the job of the LANadministrator to save the day because the files were the company’s financialstatements and they are due in a meeting yesterday. The NetWare 3.12 and 4.XSALVAGE utility is the extremely useful and sophisticated tool to recover thesefiles.
NetWare retains deleted files in the volume were the files originally resided.
There they continue to pile up until the deleted files completely saturate thisvolume. When the volume becomes full with these images of the deleted files,the system begins purging, starting with the files that have been deleted forthe longest period of time. The only exception to this, is files or directoriesthat have been tagged with the purge attribute. As you can imagine these hiddendeleted files can quickly eat up the space on a hard drive and the administratorwill need to keep an eye on these so that the system is not unduly slowed downby the system purging to make room for saved and working files. These deletedfiles can also be purged manually with the SALVAGE utility, which is a great wayto make sure that a file you don’t want others to see is completely removed fromthe system!!!For a user or administrator to retrieve a file using SALVAGE, the create right(right to edit and read a directory area or file) must be assigned to thedirectory in which the file resides. If the directory still exists, the filesare put back into the directory from which they were deleted. If the file beingsalvaged has the same name as a file that already exists, then a prompt will bepresented to rename the file being salvaged. Since NetWare keeps track of thefiles by date and time several versions of the file may accumulate.
When a directory is deleted, the method for recovery is a bit different.
NetWare does not keep track of the directories, only the files. These files arestored in a hidden directory called DELETED.SAV. This directory exist in everyvolume on a network. The supervisor must go to this directory where the desiredfiles can be copied to other directories to be completely recovered.
Now that you have a simple explanation of the way the system works, lets look atthe actual graphic user interface (GUI) that comes up when you type SALVAGE atthe network DOS prompt. The main menu is below.
As you can see, this simple menu is extremely user-friendly. Like all NetWareutilities, the only keys used are the Delete, Insert, F5, Escape and Enter.
When you select the View/Recover Deleted Files option, a new menu appearsprompting for the file string to locate. Like DOS, wild cards can be used oryou can type the file name. The GUI is presented on the following page.
The default for the search string is “*” ,the all wild card , and will displayall the files deleted in the chosen directory. An example of this listing ispresented below which shows the files that were deleted in a particulardirectory. You can very simply undelete one of these files by highlighting thefile, marking multiples with the F5 key, and pressing the Enter key. A messagebox then appears prompting you to verify the file(s) to be recovered. Selectingthe YES command button will recover the file. It is as simple as that.
If the you need to change to a different directory all you have to do is selectthe Select Current Directory option from the main menu. This will bring up acurrent path display window and a network directory window in which to make thechanges to the path. As you look at the example below, you will see that allyou need to do is highlight the Network Directories window option and press theEnter key until the path window displays the path you want. Once at thedesired path, press the Escape key to go back to the main menu and select theView/Recover Deleted Files option and do the same as before.
Well, this is all there is to recovering a file from a network using NetWare.
It also is another great example of how things that are deleted from a networkdrive are still accessible, so if you want a very important company document tobe purged, you will have to delete it from SALVAGE or mark it with the purgeattribute.