Download Digital DEC/EDI Tru64 Unix
Transcript
The Retrieve Utility 13-17 The utility checks that it has the appropriate access rights to the directories that it requires. In particular, this includes write access to the /var/adm/decedi/backup directory. The utility then ensures that someone else is not already running a Secondary Archive or Retrieve. It also checks that either a customized script or Digital supplied Retrieve script is available. The utility restores the content of the archive to a temporary directory created under the /var/adm/decedi/backup directory by using the Digital supplied Retrieve script /usr/sbin/decedi_retr_script or, where you have provided a customised script in /usr/sbin/decedi_retr_syscript, selecting the latter. The utility then begins selecting documents, transmission files and mapper runs to retrieve depending on the selection criteria given. For each entry that it finds that matches the criteria, it adds the entry back into the Digital DEC/EDI Archive database and copies any of the associated files that were archived back into the storage directories. Different store directories are selected by the Retrieve utility to those that objects may have used when they were originally in the system, Once the requested objects have been restored, the utility removes the temporary directory and files and then exits. Retrieve Command Syntax The Retrieve utility is invoked by using the decedi_retr command. You must either have /usr/sbin as part of your path list, or prefix the command with the /usr/sbin/ directory name. The format of the command is decedi_retr -i inam [-v] [-d "docsel"] [-t "trfsel"] [-m "mapsel"] [-f "inflg"] SECONDARY ARCHIVE AND RETRIEVE