1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85
|
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd"
[
<!-- entities files to use -->
<!ENTITY % global_entities SYSTEM '../entities/global.entities'>
%global_entities;
]>
<refentry id='amraw.8'>
<refmeta>
<refentrytitle>amraw</refentrytitle>
<manvolnum>8</manvolnum>
&rmi.source;
&rmi.version;
&rmi.manual.8;
</refmeta>
<refnamediv>
<refname>amraw</refname>
<refpurpose>Amanda Application open and read data</refpurpose>
</refnamediv>
<refentryinfo>
&author.jlm;
</refentryinfo>
<!-- body begins here -->
<refsect1><title>DESCRIPTION</title>
<para>Amraw is an Amanda Application API script. It should not be run
by users directly. It uses dd to backup and restore data.</para>
<para>Amraw can backup only one directory entry, it can be a single file, a raw device, anything that amanda can open and read.</para>
<para>The <emphasis remap='B'>diskdevice</emphasis> in the disklist (DLE)
must be the filename amraw open and read.</para>
<para>Restore is done in place, an open is done and the data is written to it. A file owned by root and permission 0600 is create if the directory entry doesn't exist before the restore.</para>
<para>Only full backup is allowed</para>
</refsect1>
<refsect1><title>PROPERTIES</title>
<para>This section lists the properties that control amgtar's functionality.
See <manref name="amanda-applications" vol="7"/>
for information on application properties and how they are configured.</para>
<!-- PLEASE KEEP THIS LIST IN ALPHABETICAL ORDER -->
<variablelist>
<!-- ==== -->
<varlistentry><term>DIRECTORY</term><listitem>
Used only for restore command, can be a device name or file, the data will be restored to it.
</listitem></varlistentry>
</variablelist>
</refsect1>
<refsect1><title>EXAMPLE</title>
<para>
<programlisting>
define application-tool app_amraw {
plugin "amraw"
}
</programlisting>
A dumptype using this application might look like:
<programlisting>
define dumptype amraw {
global
program "APPLICATION"
application "app_amraw"
}
</programlisting>
Note that the <emphasis>program</emphasis> parameter must be set to
<emphasis>"APPLICATION"</emphasis> to use the <emphasis>application</emphasis>
parameter.
</para>
</refsect1>
<seealso>
<manref name="amanda.conf" vol="5"/>,
<manref name="amanda-applications" vol="7"/>
</seealso>
</refentry>
|