Glenn Fowler
AT&T Bell Laboratories

@(#)bax.1 (gsf@research.att.com) 05/09/95

.fp 5 CW
BAX 1
NAME
bax - tw + pax delta backup
SYNOPSIS
bax file base [ "dir ..." ]
DESCRIPTION
bax generates backup tapes using tw and pax . file is the name of the backup archive to be generated. If base is .L - then a full backup is generated in file . Otherwise base names a previous full backup against which a delta backup archive is generated in file . The backup starts at the directories "dir ..." , .L / by default. File system boundaries are not crossed; multiple file systems must be specified as separate dir arguments.

Variables defined in the shell script .L ../lib/bax/init located on .L $PATH customize the files and directories to be backed up. The variables and their default values are:

arch_name\f5='arch'

arch_keep\f5='bin|fun|lib' Shell patterns that match the architecture specific root directories and files. The architecture specific files that match \f5*/${arch_name\f5}/*/${arch_keep\f5} are retained; all other architecture specific files are skipped.

big_size\f5=5000000

big_magic_keep\f5='mail' Files larger than \f5${big_size\f5} must have a magic file type that matches \f5${big_magic_keep\f5}.

name_skip\f5'?(*.)(old|save|tmp)?(.*)|.*-cache' File base names that match \f5${name_skip\f5} are skipped.

path_skip\f5='/dev|/usr/local/ast/ship' File path names that match \f5${path_skip\f5} are skipped.

reg_magic_skip\f5='core|cql * index|history|TeX dvi' Regular files with a magic file type that matches \f5${reg_magic_skip\f5} are skipped.

src_name\f5='src'

src_magic_skip\f5='executable|object|(archive|shared) library' Files under \f5*/${src_name\f5}/* with a magic file type that matches \f5${reg_magic_skip\f5} are skipped.

EXAMPLES
To generate a full backup on \f5/dev/st0: .EX bax /dev/st0 - To generate a delta backup in \f5/tmp/delta.bax for the full backup above: .EX bax /tmp/delta.bax /dev/st0 or if you have two tape drives: .EX mt /dev/st1 eod # to append the next delta bax /dev/st1 /dev/st0
"SEE ALSO"
file(1), pax(1), tw(1), vdelta(3)