1DUMP(5)                       File Formats Manual                      DUMP(5)
2
3
4

NAME

6       dump, ddate - incremental dump format
7

SYNOPSIS

9       #include <sys/types.h>
10       #include <sys/ino.h>
11       # include <dumprestor.h>
12

DESCRIPTION

14       Tapes used by dump and restor(1) contain:
15
16              a header record
17              two groups of bit map records
18              a group of records describing directories
19              a group of records describing files
20
21       The  format  of  the  header  record  and  of  the first record of each
22       description as given in the include file <dumprestor.h> is:
23
24       NTREC is the number of 512 byte records in a physical tape block.  MLEN
25       is the number of bits in a bit map word.  MSIZ is the number of bit map
26       words.
27
28       The TS_ entries are used in the c_type field to indicate what  sort  of
29       header this is.  The types and their meanings are as follows:
30
31       TS_TAPE Tape volume label
32       TS_INODE
33               A  file  or directory follows.  The c_dinode field is a copy of
34               the disk inode and contains bits telling what sort of file this
35               is.
36       TS_BITS A  bit  map follows.  This bit map has a one bit for each inode
37               that was dumped.
38       TS_ADDR A subrecord of a file description.  See c_addr below.
39       TS_END  End of tape record.
40       TS_CLRI A bit map follows.  This bit map contains a zero  bit  for  all
41               inodes that were empty on the file system when dumped.
42       MAGIC   All header records have this number in c_magic.
43       CHECKSUM
44               Header records checksum to this value.
45
46       The fields of the header structure are as follows:
47
48       c_type   The type of the header.
49       c_date   The date the dump was taken.
50       c_ddate  The date the file system was dumped from.
51       c_volume The current volume number of the dump.
52       c_tapea  The current number of this (512-byte) record.
53       c_inumber
54                The  number  of  the  inode  being  dumped  if this is of type
55                TS_INODE.
56       c_magic  This contains the value MAGIC above, truncated as needed.
57       c_checksum
58                This contains whatever value is needed to make the record  sum
59                to CHECKSUM.
60       c_dinode This  is a copy of the inode as it appears on the file system;
61                see filsys(5).
62       c_count  The count of characters in c_addr.
63       c_addr   An array of characters describing the  blocks  of  the  dumped
64                file.   A  character is zero if the block associated with that
65                character was not present on the file  system,  otherwise  the
66                character  is  non-zero.   If the block was not present on the
67                file system, no block was dumped; the block will  be  restored
68                as  a  hole  in the file.  If there is not sufficient space in
69                this record to describe all of the blocks in a  file,  TS_ADDR
70                records  will  be scattered through the file, each one picking
71                up where the last left off.
72
73       Each volume except the last ends with a tapemark (read  as  an  end  of
74       file).   The  last  volume ends with a TS_END record and then the tape‐
75       mark.
76
77       The structure idates describes an entry of the  file  /etc/ddate  where
78       dump history is kept.  The fields of the structure are:
79
80       id_name  The dumped filesystem is `/dev/id_nam'.
81       id_incno The level number of the dump tape; see dump(1).
82       id_ddate The  date  of  the  incremental  dump  in  system  format  see
83                types(5).
84

FILES

86       /etc/ddate
87

SEE ALSO

89       dump(1), dumpdir(1), restor(1), filsys(5), types(5)
90
91
92
93                                                                       DUMP(5)
Impressum