Imported Upstream version 3.3.0
[debian/amanda] / man / amstar.8
1 '\" t
2 .\"     Title: amstar
3 .\"    Author: Jean-Louis Martineau <martineau@zmanda.com>
4 .\" Generator: DocBook XSL Stylesheets vsnapshot_8273 <http://docbook.sf.net/>
5 .\"      Date: 06/02/2011
6 .\"    Manual: System Administration Commands
7 .\"    Source: Amanda 3.3.0
8 .\"  Language: English
9 .\"
10 .TH "AMSTAR" "8" "06/02/2011" "Amanda 3\&.3\&.0" "System Administration Commands"
11 .\" -----------------------------------------------------------------
12 .\" * set default formatting
13 .\" -----------------------------------------------------------------
14 .\" disable hyphenation
15 .nh
16 .\" disable justification (adjust text to left margin only)
17 .ad l
18 .\" -----------------------------------------------------------------
19 .\" * MAIN CONTENT STARTS HERE *
20 .\" -----------------------------------------------------------------
21 .SH "NAME"
22 amstar \- Amanda Application to interface with star
23 .SH "DESCRIPTION"
24 .PP
25 Amstar is an Amanda Application API script\&. It should not be run by users directly\&. It uses star to backup and restore data\&.
26 .SH "INCLUDE - EXCLUDE"
27 .PP
28 amstar doesn\'t support include\&. Both \'exclude list\' and \'exclude file\' are supported\&. There is a maximum of 100 patterns (limit of star)\&.
29 .PP
30 Moving directories into and out of directories on the exclude list causes incremental backups to not contain the files in the moved directories until the next full backup unless the moved files are modified after the move\&.
31 .SH "PROPERTIES"
32 .PP
33 This section lists the properties that control amstar\'s functionality\&. See
34 \fBamanda-applications\fR(7)
35 for information on application properties and how they are configured\&.
36 .PP
37 ACL
38 .RS 4
39
40 If "YES" (the default), amstar will store files acl by passing the \fI\-acl\fR argument to star\&. If "NO", then the \fI\-acl\fR option is not given to star, and it will not try to backup the acl\&.
41 .RE
42 .PP
43 COMMAND\-OPTIONS
44 .RS 4
45 If set, theses options are passed asis to star\&. Each option must be a different value of the property\&. Some option can break how amanda do backup, use it with care\&.
46
47 Use:
48 .nf
49   property "COMMAND\-OPTIONS" "\-\-foo" "bar"
50 .fi
51
52 Do not use:
53 .nf
54   property "COMMAND\-OPTIONS" "\-\-foo bar"
55 .fi
56 .RE
57 .PP
58 DIRECTORY
59 .RS 4
60
61 If set, gnutar will backup from that directory instead of the \fIdiskdevice\fR set by the DLE\&. On restore, the data is restore in that directpory instead of the current working directory\&.
62 .RE
63 .PP
64 ONE\-FILE\-SYSTEM
65 .RS 4
66
67 The default is "YES"\&. This property is deprecated and the default value can\'t be changed\&. star requires it when it works in dump mode\&.  This corresponds to the \fI\-xdev\fR option of star\&.
68 .RE
69 .PP
70 SPARSE
71 .RS 4
72
73 If "YES" (the default), star will store sparse files efficiently\&. If "NO", then the \fI\-sparse\fR option is not given to star, and it will not try to detect sparse files\&.
74 .RE
75 .PP
76 STAR\-DLE\-TARDUMP
77 .RS 4
78
79 If "YES", amstar will use a different tardump file for each DLE\&. The default is "NO"\&.  This property is needed with older versions of star doing many dumps in parallel, because of a race condition in updating the tardump file\&.
80 .RE
81 .PP
82 STAR\-PATH
83 .RS 4
84
85 The path to the star binary\&. The default is set when Amanda is built by the
86 \-\-with\-star configure option\&.
87 .RE
88 .PP
89 STAR\-TARDUMP
90 .RS 4
91
92 The directory where star stores the database it uses to generate incremental
93 dumps\&.  The default is /etc/tardumps\&.
94 .RE
95 .PP
96 NORMAL
97 .RS 4
98
99 List all regex (POSIX Extended Regular Expression syntax) that are normal output from star\&. These output are in the "FAILED DUMP DETAILS" section of the email report if the dump result is STRANGE or FAILED\&. Default values:
100 .nf
101   "^could not open conf file"
102   "^Type of this level "
103   "^Date of this level "
104   "^Date of last level "
105   "^Dump record  level "
106   "^Throughput"
107   "^\&.*is sparse$"
108   "^star: dumped [0\-9][0\-9]* (tar )?files"
109   "^\&.*The following problems occurred during \&.* processing\&.*$"
110   "^\&.*Processed all possible files, despite earlier errors\&.*$"
111   "^\&.*not written due to problems during backup\&.*$"
112 .fi
113 To treat one of these default patterns differently, specify it explicitly in a different property\&.
114 .RE
115 .PP
116 IGNORE
117 .RS 4
118
119 List all regex (POSIX Extended Regular Expression syntax) that amanda ignore\&. These output are never in the email report\&. 
120 .RE
121 .PP
122 STRANGE
123 .RS 4
124
125 List all regex (POSIX Extended Regular Expression syntax) that are strange output from star\&. All star output that doesn\'t match a normal or ignore regex are strange by default\&. The result of the dump is STRANGE if star produce a strange output\&. These output are in the "FAILED DUMP DETAILS" section of the email report\&.
126 .nf
127   "^Perform a level 0 dump first\&.*$"
128 .fi
129 To treat one of these default patterns differently, specify it explicitly in a different property\&.
130 .RE
131 .SH "SEE ALSO"
132 .PP
133 \fBamanda\fR(8),
134 \fBamanda.conf\fR(5),
135 \fBamanda-applications\fR(7)
136 .PP
137 The Amanda Wiki:
138 : http://wiki.zmanda.com/
139 .SH "AUTHORS"
140 .PP
141 \fBJean\-Louis Martineau\fR <\&martineau@zmanda\&.com\&>
142 .RS 4
143 Zmanda, Inc\&. (http://www\&.zmanda\&.com)
144 .RE
145 .PP
146 \fBDustin J\&. Mitchell\fR <\&dustin@zmanda\&.com\&>
147 .RS 4
148 Zmanda, Inc\&. (http://www\&.zmanda\&.com)
149 .RE