Air Cleaner User Manual

sbwrite
Purpose
Writes raw data to backup media.
Syntax
 sbwrite -S
-P
-C
-a
-b size
-B backend
-c device
-d description
-e
-i file
-n contents
-p
-r read_access
-R
-s
-t type
-T file
-v
-x
device 
Description
The sbwrite command reads data from standard input, adds a backup header,
optional file list, and LVM information, and writes to single or multiple devices
either sequentially, in parallel, or by creating multiple copies. The device parameter
can be either a single tape drive, multiple tape drives, a virtual device, or one or
more disk image file names.
This command should be used only by the experienced user who wants to create
backups without using the SMIT menus, and who is knowledgeable in the use of
the sbfwd and sbread commands needed to restore data from backups made using
this command.
The sbwrite command will write data only to backup devices or directories to
which the local host and user have access, as defined by the or cfgremaccess
commands. When sbwrite is executed locally, the access permissions are checked
in the .local_access file. When executed by the sbclient command on a remote
host, the remote host and user access permissions are checked in the
.remote_access file.
Any command that produces a data stream to standard output can pipe that data
stream to the sbwrite command. The sbwrite program then stores the data on the
media, including the backup header, LVM information, and file list, if specified.
The data can later be read from the backup media by the sbread program, which
can then pipe the data stream to another command.
If the -i file option is specified, the data is read from the specified file, which can
also be a logical volume name (preceded with the /dev prefix), instead of from
standard input. If a dash (-) is specified for the output device name, the output is
sent to standard output (stdout) instead of to a device or file.
Appendix A. Commands A-85