1 .\" $XConsortium: bax.1 /main/2 1996/10/29 15:40:10 drk $
4 .\" AT&T Bell Laboratories
6 .\" @(#)bax.1 (gsf@research.att.com) 05/09/95
10 bax \- tw + pax delta backup
20 generates backup tapes using
25 is the name of the backup archive to be generated.
30 then a full backup is generated in
34 names a previous full backup against which a delta backup archive is
37 The backup starts at the directories
41 File system boundaries are not crossed; multiple file systems
42 must be specified as separate
46 Variables defined in the shell script
50 customize the files and directories to be backed up.
51 The variables and their default values are:
53 \fBarch_name\f5='arch'\fR
55 \fBarch_keep\f5='bin|fun|lib'\fR
56 Shell patterns that match the architecture specific root directories and files.
57 The architecture specific files that match
58 \f5*/${\fIarch_name\f5}/*/${\fIarch_keep\f5}\fR are retained;
59 all other architecture specific files are skipped.
61 \fBbig_size\f5=5000000\fR
63 \fBbig_magic_keep\f5='mail'\fR
64 Files larger than \f5${\fIbig_size\f5}\fR must have a magic file type
65 that matches \f5${\fIbig_magic_keep\f5}\fR.
67 \fBname_skip\f5'?(*.)(old|save|tmp)?(.*)|.*-cache'\fR
68 File base names that match \f5${\fIname_skip\f5}\fR are skipped.
70 \fBpath_skip\f5='/dev|/usr/local/ast/ship'\fR
71 File path names that match \f5${\fIpath_skip\f5}\fR are skipped.
73 \fBreg_magic_skip\f5='core|cql * index|history|TeX dvi'\fR
74 Regular files with a magic file type that matches \f5${\fIreg_magic_skip\f5}\fR
77 \fBsrc_name\f5='src'\fR
79 \fBsrc_magic_skip\f5='executable|object|(archive|shared) library'\fR
80 Files under \f5*/${\fIsrc_name\f5}/*\fR with a magic file type that
81 matches \f5${\fIreg_magic_skip\f5}\fR are skipped.
83 To generate a full backup on \f5/dev/st0\fP:
87 To generate a delta backup in \f5/tmp/delta.bax\fP for the full backup above:
89 bax /tmp/delta.bax /dev/st0
91 or if you have two tape drives:
93 mt /dev/st1 eod # to append the next delta
97 file(1), pax(1), tw(1), vdelta(3)