Installation guide
# restore -xs 3 ./working/old.file
11.4.3 Restoring Files Interactively
To ease the task of restoring multiple files, use the −i option to the
restore command. This option starts an interactive restore session. The
interactive mode has commands similar to shell commands.
To begin an interactive restore session, enter:
# restore -i
The system responds with the following prompt:
restore >
The following command-line options are available in the interactive restore
mode:
ls [
directory
] Lists files in the current or specified directory.
Directory entries end with a / (slash). Entries that
have been marked for reading begin with an *
(asterisk).
cd [
directory
] Changes the current directory to the directory
specified by
directory
.
pwd
Lists the pathname of the current directory.
add [
files
] Adds the files in the current directory or the files
specified by
files
to the list of files recovered from
the tape. Once they are specified to be read by the
add command, files are marked with an * (asterisk)
when they are listed with the ls command.
delete [
files
] Deletes all the files in the current directory or the
files specified by
files
from the list of files
recovered from the tape.
extract
Restores from the tape the files that are marked to
be read into the current working directory. The
extract command prompts you for the logical
volume that you want to mount (usually 1), and
whether the access modes of the dot (.) are affected;
11–20 Administering the Archiving Services