ftio.1 (2010 09)

f
ftio(1) ftio(1)
(TO BE OBSOLETED)
To pass one or more metacharacters to
ftio without having the shell expand them, protect them either
by preceding each of them with a backslash (as in
/usr\*), or enclosing them in protective single quotes
(as in
’/usr*’).
cpio Compatibility
ftio uses the same archive format as
cpio. However, by default ftio creates tape headers and uses
a tape block size of 16KB.
cpio
by default uses 512-byte blocks. When used with the -B option,
cpio uses 5120 byte blocks. To achieve full compatibility with
cpio in either input or output mode, the
user should specify the
M modifier.
ftio -oM creates a single- or multi-tape archive that has no tape
headers, and, by default, the same block size as
cpio -[oi]B. An archive created by a cpio -oB
command can be restored using ftio -iM
. If the M modifier of ftio is combined with a -B 512
block-size specification, full compatibility with
cpio -[oi
] (no -B)isachieved.
EXTERNAL INFLUENCES
Environment Variables
LC_COLLATE determines the collating sequence used in evaluating pattern matching notation for file
name generation.
LC_CTYPE determines the characters matched by character class expressions in pattern matching nota-
tion.
LC_TIME determines the format and contents of date and time strings.
LANG determines the language in which messages are displayed.
If
LC_COLLATE, LC_CTYPE,orLC_TIME is not specified in the environment or is set to the empty
string, the value of LANG is used as a default for each unspecified or empty variable. If
LANG is not
specified or is set to the empty string, a default of C (see lang (5)) is used instead of
LANG. If any interna-
tionalization variable contains an invalid setting,
ftio behaves as if all internationalization variables
are set to C. See environ (5).
International Code Set Support
Single-byte character code sets are supported.
EXAMPLES
Copy the entire contents of the file system (including special files) onto tape drive
/dev/rtape/tape4QIC150
:
ftio -ox /dev/rtape/tape4QIC150 /
Restore all the files on /dev/rtape/tape4QIC150
, relative to the current directory:
ftio -idxE /dev/rtape/tape4QIC150
List the contents of a backup set created using ftio -o. Note that use of the
v modifier gives a more
detailed listing, and displays the contents of tape headers.
ftio -itv /dev/rtape/tape4QIC150
Show how to use the .ftiorc file:
Assume a
.ftiorc file exists in the user’s home directory and contains the following:
# Sample .ftiorc file.
I= cdmuvEpp -B 16k -S /usr/local/bin/ftio.change
O= cavEpp -Z 8 -B 16k -S /usr/local/bin/ftio.change
Invoke ftio with the following command line to back up the user’s home directory and the operat-
ing system commands directory:
ftio -O /dev/rtape/tape4QIC150 /home/my_home /usr/sbin
Specifying the -O option causes ftio to check the .ftiorc file for additional options. In this
case, character headers are generated, access times are reset, a listing of the files copied are printed
to standard output, all file names are copied to /dev/rtape/tape4QIC150 with path names
relative to /, performance data is printed when the backup is complete (and at every tape change),
and, if the backup goes beyond one media the script, /usr/local/bin/ftio.change is
invoked by ftio after each media is completed.
4 Hewlett-Packard Company 4 HP-UX 11i Version 3: September 2010