Legato Networker ClientPak for MPE/iX Users Guide
Chapter 3: Recovering Files
45
3
Recovering and Relocating Files
You can recover files into a different directory from where they were originally
stored by using the NetWorker relocate command. When you relocate files,
they will retain the same name and file attributes. Marking a group of files to
relocate to another directory is the same as recovering a group of files. For
example, if you want to relocate three files starting with the letter r, you can
mark the three files at once by entering the minimum number of characters
that form a pattern and substituting an asterisk for the different characters.
The following rules apply to relocating files in groups and accounts.
• Rule 1: If a file or directory is not in a group or account, you can relocate it
to anywhere.
• Rule2: If a file or directory is in an account, you can relocate it to any other
account.
• Rule 3: If a file or directory is in a group, you can relocate it to any group
in any account.
• Rule 4: If a file is in a directory in an account, you can relocate that file to
any directory in any account.
• Rule 5: If a file is in a directory in a group you can relocate to a directory
in any gorup.
This section assumes that you have started the NSRRECOV program.
To recover and relocate files, follow these steps:
1. Change to the saveset directory where the files are currently located, for
example:
recover> cd
documents
2. List the files in the saveset directory as follows:
recover> ls
doc1 doc2 doc3 doc4 doc5 doc6 rep6 rep7
3. Mark the files in the directory by entering the NetWorker add command,
enter the characters that create a common pattern in the filenames of the
files you want to relocate, and substitute an asterisk for the different
characters in the filenames. For example, mark the files that start with the
letter r as follows:
recover> add r*
2 file(s) marked for recovery