Imported Upstream version 3.3.0
[debian/amanda] / man / xml-source / amstar.8.xml
1 <?xml version="1.0" encoding="ISO-8859-1"?>
2 <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
3                    "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd"
4 [
5   <!-- entities files to use -->
6   <!ENTITY % global_entities SYSTEM 'global.entities'>
7   %global_entities;
8 ]>
9
10 <refentry id='amstar.8'>
11
12 <refmeta>
13 <refentrytitle>amstar</refentrytitle>
14 <manvolnum>8</manvolnum>
15 &rmi.source;
16 &rmi.version;
17 &rmi.manual.8;
18 </refmeta>
19 <refnamediv>
20 <refname>amstar</refname>
21 <refpurpose>Amanda Application to interface with star</refpurpose>
22 </refnamediv>
23 <refentryinfo>
24 &author.jlm;
25 &author.dustin;
26 </refentryinfo>
27 <!-- body begins here -->
28
29 <refsect1><title>DESCRIPTION</title>
30
31 <para>Amstar is an Amanda Application API script.  It should not be run
32 by users directly.  It uses star to backup and restore data.</para>
33
34 </refsect1>
35
36 <refsect1><title>INCLUDE - EXCLUDE</title>
37
38 <para>amstar doesn't support include. Both 'exclude list' and 'exclude file' are supported. There is a maximum of 100 patterns (limit of star).</para>
39
40 <para>Moving directories into and out of directories on the exclude list
41 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.</para>
42 </refsect1>
43
44 <refsect1><title>PROPERTIES</title>
45
46 <para>This section lists the properties that control amstar's functionality.
47 See <manref name="amanda-applications" vol="7"/>
48 for information on application properties and how they are configured.</para>
49
50 <!-- PLEASE KEEP THIS LIST IN ALPHABETICAL ORDER -->
51 <variablelist>
52  <!-- ==== -->
53  <varlistentry><term>ACL</term><listitem>
54 If "YES" (the default), amstar will store files acl by passing the <emphasis>-acl</emphasis> argument to star. If "NO", then the <emphasis>-acl</emphasis> option is not given to star, and it will not try to backup the acl.
55 </listitem></varlistentry>
56  <!-- ==== -->
57  <varlistentry><term>COMMAND-OPTIONS</term><listitem>
58 <para>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.</para>
59 Use:
60 <programlisting>
61   property "COMMAND-OPTIONS" "--foo" "bar"
62 </programlisting>
63 Do not use:
64 <programlisting>
65   property "COMMAND-OPTIONS" "--foo bar"
66 </programlisting>
67 </listitem></varlistentry>
68  <!-- ==== -->
69  <varlistentry><term>DIRECTORY</term><listitem>
70 If set, gnutar will backup from that directory instead of the <emphasis>diskdevice</emphasis> set by the DLE. On restore, the data is restore in that directpory instead of the current working directory.
71 </listitem></varlistentry>
72  <!-- ==== -->
73  <varlistentry><term>ONE-FILE-SYSTEM</term><listitem>
74 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 <emphasis>-xdev</emphasis> option of star.
75 </listitem></varlistentry>
76  <!-- ==== -->
77  <varlistentry><term>SPARSE</term><listitem>
78 If "YES" (the default), star will store sparse files efficiently. If "NO", then the <emphasis>-sparse</emphasis> option is not given to star, and it will not try to detect sparse files.
79 </listitem></varlistentry>
80  <!-- ==== -->
81  <varlistentry><term>STAR-DLE-TARDUMP</term><listitem>
82 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.
83 </listitem></varlistentry>
84  <!-- ==== -->
85  <varlistentry><term>STAR-PATH</term><listitem>
86 The path to the star binary. The default is set when Amanda is built by the
87 --with-star configure option.
88 </listitem></varlistentry>
89  <!-- ==== -->
90  <varlistentry><term>STAR-TARDUMP</term><listitem>
91 The directory where star stores the database it uses to generate incremental
92 dumps.  The default is /etc/tardumps.
93 </listitem></varlistentry>
94  <!-- ==== -->
95  <varlistentry><term>NORMAL</term><listitem>
96 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:
97 <programlisting>
98   "^could not open conf file"
99   "^Type of this level "
100   "^Date of this level "
101   "^Date of last level "
102   "^Dump record  level "
103   "^Throughput"
104   "^.*is sparse$"
105   "^star: dumped [0-9][0-9]* (tar )?files"
106   "^.*The following problems occurred during .* processing.*$"
107   "^.*Processed all possible files, despite earlier errors.*$"
108   "^.*not written due to problems during backup.*$"
109 </programlisting>
110 <para>To treat one of these default patterns differently, specify it explicitly in a different property.</para>
111 </listitem></varlistentry>
112  <!-- ==== -->
113  <varlistentry><term>IGNORE</term><listitem>
114 List all regex (POSIX Extended Regular Expression syntax) that amanda ignore. These output are never in the email report. 
115 </listitem></varlistentry>
116  <!-- ==== -->
117  <varlistentry><term>STRANGE</term><listitem>
118 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.
119 <programlisting>
120   "^Perform a level 0 dump first.*$"
121 </programlisting>
122 <para>To treat one of these default patterns differently, specify it explicitly in a different property.</para>
123 </listitem></varlistentry>
124
125 </variablelist>
126
127 </refsect1>
128
129 <seealso>
130 <manref name="amanda.conf" vol="5"/>,
131 <manref name="amanda-applications" vol="7"/>
132 </seealso>
133
134 </refentry>