HP B2355-92068 Administration Manual page 241

System administration commands
Table of Contents

Advertisement

fbackup(1M)
NAME
fbackup - selectively back up files
SYNOPSIS
/usr/sbin/fbackup -f
[
graph ] [
-g
-d
/usr/sbin/fbackup -f
[
path ] [
config ]
-V
-c
DESCRIPTION
fbackup
combines features of
mechanism (see dump(1M) and ftio(1)).
file transferred, the file's contents and all the relevant information necessary to restore it to an equivalent
state are copied to the output device. The output device can be a raw magnetic tape drive (for example, a
DLT tape drive), the standard output, a rewritable magneto-optical disk, or a file.
The selection of files to back up is done by explicitly specifying trees of files to be included or excluded from
an
session. The user can construct an arbitrary graph of files by using the
fbackup
the command line, or by using the
the
option provides an easier interface for controlling the backup graph.
-g
graph, and attempts to transfer them to the output device. The selectivity depends on the mode (full or
incremental) in which
When doing full backups, all files in the graph are selected. When doing incremental backups, only files in
the graph that have been modified since a previous backup of that graph are selected. If an incremental
backup is being done at level 4 and the
previous backup at levels 0-3. If a file's modification time is before the time when the last appropriate ses-
sion began and the i-node change time is before the time that same session ended, the file is not backed up.
All directories lying on the path to a file that qualifies for the incremental backup will also be on the backup
media, even if the directories do not qualify on their own status.
If
fbackup
is used for incremental backups, a database of past backups must be kept.
tains this data in the text file
/var/adm/fbackupfiles
backups. The
-d
option can be used to specify an alternate database file. The user can specify to update
this file when an
fbackup
separate pairs of lines. The following four items appear on the first line of each pair: the graph file name,
backup level, starting time, and ending time (both in time(2) format). The second line of each pair contains
the same two times, but in strftime(3C) format. These lines contain the local equivalent of
start time, the local equivalent of
the dates file more readable;
file names are compared character-by-character when checking the previous-backup database file to ascer-
tain when a previous session was run for that graph. Caution must be exercised to ensure that, for exam-
ple,
and
graph
./graph
two different graph files.
The general structure of an
are some small specific differences due to differing capabilities of devices. The general structure is as fol-
lows:
• reserved space for ASCII tape label (1024 bytes)
volume header (2048 bytes)
fbackup
• session index (size in field of volume header)
• data
Each file entry in the index contains the file size, the volume number and the pathname of the file. At the
beginning of every volume,
an erroneous assumption for all but the last volume. Indices are accurate only for the previous volumes in
the same set. Hence, the index on the last volume may indicate that a file resides on that volume, but it
may not have actually been backed up (for example, if it was removed after the index was created, but
before
fbackup
attempted to back it up). The only index guaranteed to be correct in all cases is the on-
line index (
option), which is produced after the last volume has been written.
-I
Specific differences in the structure of
HP-UX 11i Version 2: December 2007 Update
device [
-f
device ] ...
path ] [
path ] [
path ] [
-I
-V
device [
-f
device ] ...
dump
and
ftio
fbackup
-g
option with a graph file. For backups being done on a regular basis,
is being used.
fbackup
option is used, the database file is searched for the most recent
-g
/var/adm/fbackupfiles/dates
must be created prior to the first time
session completes successfully. Entries for each session are recorded on
ENDED:
, and the ending time. These second lines serve only to make
does not use them. All fields are separated by white space. Graph
fbackup
are not used to specify the same graph file because
volume is the same, no matter what type of device is used. There
fbackup
assumes that all files not already backed up will fit on that volume,
fbackup
volumes are listed below:
fbackup
− 1 −
[
-0
-
9
] [
-nsuvyAEl
] [
config ]
-c
[
-R
restart ] [
-nsuvyAEl
to provide a flexible, high-speed file system backup
selectively transfers files to an output device. For each
fbackup
, by default. Note that the directory
fbackup
Hewlett-Packard Company
fbackup(1M)
-i
path ] [
-e
path ]
] [
-d
path ] [
-I
path ]
or
options on
-i
-e
selects files in this
fbackup
main-
is used for incremental
, the
STARTED:
treats them as
fbackup
241
f

Advertisement

Table of Contents
loading

This manual is also suitable for:

Hp-ux 11i

Table of Contents