
Chapter 6 489
Command Definitions P-R
RESTORE
@n Restore all files ending with the character n.
n##...# Restore all files starting with character n followed by up to
seven digits (useful for storing all EDIT/3000 temporary
files).
n@x Restore all files starting with the character n and ending
with the character x.
?n@ Restore all files whose second character is n.
n? store all two-character files starting with the character n.
?n Restore all two-character files ending with the character n.
Also, character sets may be specified in the following syntax:
[ct] specifies letter c or t.
[c-t] specifies any letter from range c to t.
[e-g1] specifies any letter range e to g or digit 1.
Examples of using character sets are:
[A-C]@ Restore all files that begin with the letters A, B, or C.
myset[e-g1] Restore all files that begin with the name myset and end
in e, f, or g, or 1.
myset
[d-e1-6] Restore all files that begin with the name myset and end
in d or e, or 1, 2, 3, 4, 5, or 6.
You may specify up to a maximum of sixteen characters for each character
set and you may not nest brackets.
A character set specifies a range for only one (1) ASCII character. The
range [a-d]@ gets all files that begin with the letter a through the letter
d. The ranged [ad-de] may cause unpredictable results.
Since the hyphen (-) is a valid character for HFS syntax file names, it is
allowed inside a character set, immediately following a left bracket ([) or
preceding a right bracket (]). When specified between two characters, the
hyphen implies a range of characters.
Specifying Database Files
When specifying TurboIMAGE and ALLBASE/SQL databases to be
restored, only the root file or DBCon file needs to be specified. RESTORE
will determine which other files belong to that database, and will restore
all of them. If dataset file(s) are specified without specifying a root file,
then a warning will be printed for each file, and they will not be restored.
Individual database files can be restored without the root file by specifying
the ;PARTIALDB option on the RESTORE command line.