Re: Initial test configuration

Scott Stadler <[email protected]> Sat, 8 Feb 2025 10:09:41 -0500
Newsgroups gmane.comp.archivers.amanda.user
Message-ID <CAF5BZ9op_0ruxeLBMCOEq5idfRYYHudH6zB223nEv28U8u1teQ@mail.gmail.com>
--000000000000fc4495062da2dd55
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Thanks for the reply. I got myself sorted thanks to an earlier reply. My
initial install was through the distro as you outlined below. I switched to
using the built in "backup" user and edited permissions accordingly rather
than use a custom defined user as noted on the zamanda site instructions.

Now I just need to configure my actual backups and learn how to get amanda
to interface with my library.





On Sat, Feb 8, 2025, 9:38=E2=80=AFAM Jose M Calhariz <
[email protected]> wrote:

> Hi,
>
> The documentation from zmanda follow decisions and options for their
> packages that is diferent for what is done by the distributions.  The
> first option is to choose the packages from zmanda or what is
> distributed with the Linux distributions.
>
> If you are using Debian or Ubuntu and want to use their packages maybe
> is easier to start over.  Undo your changes and start again with:
>
> apt-get install amanda-server amanda-client
>
> Read the file:
>
> /usr/share/doc/amanda-server/README.Debian.gz
>
> And follow the examples in
> /usr/share/doc/amanda-server/examples/quick/
>
> Please post any doubts you have with the documentation inside the
> packages so I can improve on next upload to Debian.
>
> Take notice that I prefer authentication by SSH and that is what I
> promote.
>
>
> Kind regards
> Jose M Calhariz
>
>
> On Fri, Feb 07, 2025 at 04:53:26PM -0500, Scott Stadler wrote:
> > Hello,
> >
> > I am attempting to run the initial configuration via the *"Getting
> Started
> > with Amanda"* instructions. (
> >
> https://docs.zmanda.com/amanda-community/getting-started-with-amanda/buil=
d-a-basic-configuration
> > )
> > Upon running the ->amcheck MyConfig
> >
> > *I get the below output with an error:*
> > ERROR: localhost: selfcheck request failed: error sending REQ: write
> error
> > to: Broken pipe
> >
> > Any help would be greatly appreciated. Please let me know if any
> > information is need in addition to the below:
> >
> >
> > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> > Full message output
> > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> > Amanda Tape Server Host Check
> > -----------------------------
> > NOTE: tapelist file does not exists
> >       it will be created on the next run
> > NOTE: Holding disk '/amanda/holding': 27860992 KB disk space available,
> > using 51200 KB as requested
> > amandad: must be executed as the "backup" user instead of the
> > "amandabackup" user
> > amcheck-device: Error: Owner of AMANDA_TMPDIR (/tmp/amanda) is not back=
up
> >
> > slot 1: contains an empty volume
> > Will write label 'MyData01' to new volume in slot 1.
> > NOTE: skipping tape-writable test
> > NOTE: host info dir '/amanda/state/curinfo/localhost' does not exist
> >       It will be created on the next run
> > NOTE: index dir '/amanda/state/index/localhost' does not exist
> >       it will be created on the next run
> > Server check took 0.168 seconds
> > Amanda Backup Client Hosts Check
> > --------------------------------
> > ERROR: localhost: selfcheck request failed: error sending REQ: write
> error
> > to: Broken pipe
> > Client check: 1 host checked in 1.019 seconds.  1 problem found.
> > (brought to you by Amanda 3.5.1)
> >
> >
> > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> > amanda.conf file
> > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> > org "MyConfig"
> > infofile "/amanda/state/curinfo"
> > logdir "/amanda/state/log"
> > indexdir "/amanda/state/index"
> > dumpuser "amandabackup"
> >
> >
> > tpchanger "chg-disk:/amanda/vtapes"
> > labelstr "MyData[0-9][0-9]"
> > autolabel "MyData%%" EMPTY VOLUME_ERROR
> > tapecycle 4
> > dumpcycle 3 days
> > amrecover_changer "changer"
> >
> > tapetype "TEST-TAPE"
> > define tapetype TEST-TAPE {
> >   length 100 mbytes
> >   filemark 4 kbytes
> > }
> >
> > define dumptype simple-gnutar-local {
> >     auth "local"
> >     compress none
> >     program "GNUTAR"
> > }
> >
> > holdingdisk hd1 {
> >     directory "/amanda/holding"
> >     use 50 mbytes
> >     chunksize 1 mbyte
> > }
> > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> >
> >
> > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> > disklist file
> > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> > localhost /etc simple-gnutar-local
> > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>
> --
> --
> O disco =C3=A9 r=C3=ADgido, mas a lei da inform=C3=A1tica =C3=A9 flex=C3=
=ADvel.
>

--000000000000fc4495062da2dd55
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"auto"><div>Thanks for the reply. I got myself sorted thanks to =
an earlier reply. My initial install was through the distro as you outlined=
 below. I switched to using the built in &quot;backup&quot; user and edited=
 permissions accordingly rather than use a custom defined user as noted on =
the zamanda site instructions.=C2=A0</div><div dir=3D"auto"><br></div><div =
dir=3D"auto">Now I just need to configure my actual backups and learn how t=
o get amanda to interface with my library.</div><div dir=3D"auto"><br></div=
><div dir=3D"auto"><br></div><div dir=3D"auto"><br></div><div dir=3D"auto">=
<br><br><div class=3D"gmail_quote gmail_quote_container" dir=3D"auto"><div =
dir=3D"ltr" class=3D"gmail_attr">On Sat, Feb 8, 2025, 9:38=E2=80=AFAM Jose =
M Calhariz &lt;<a href=3D"mailto:[email protected]">jose.cal=
[email protected]</a>&gt; wrote:<br></div><blockquote class=3D"gmail=
_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:=
1ex">Hi,<br>
<br>
The documentation from zmanda follow decisions and options for their<br>
packages that is diferent for what is done by the distributions.=C2=A0 The<=
br>
first option is to choose the packages from zmanda or what is<br>
distributed with the Linux distributions.<br>
<br>
If you are using Debian or Ubuntu and want to use their packages maybe<br>
is easier to start over.=C2=A0 Undo your changes and start again with:<br>
<br>
apt-get install amanda-server amanda-client<br>
<br>
Read the file:<br>
<br>
/usr/share/doc/amanda-server/README.Debian.gz<br>
<br>
And follow the examples in<br>
/usr/share/doc/amanda-server/examples/quick/<br>
<br>
Please post any doubts you have with the documentation inside the<br>
packages so I can improve on next upload to Debian.<br>
<br>
Take notice that I prefer authentication by SSH and that is what I<br>
promote.<br>
<br>
<br>
Kind regards<br>
Jose M Calhariz<br>
<br>
<br>
On Fri, Feb 07, 2025 at 04:53:26PM -0500, Scott Stadler wrote:<br>
&gt; Hello,<br>
&gt; <br>
&gt; I am attempting to run the initial configuration via the *&quot;Gettin=
g Started<br>
&gt; with Amanda&quot;* instructions. (<br>
&gt; <a href=3D"https://docs.zmanda.com/amanda-community/getting-started-wi=
th-amanda/build-a-basic-configuration" rel=3D"noreferrer noreferrer" target=
=3D"_blank">https://docs.zmanda.com/amanda-community/getting-started-with-a=
manda/build-a-basic-configuration</a><br>
&gt; )<br>
&gt; Upon running the -&gt;amcheck MyConfig<br>
&gt; <br>
&gt; *I get the below output with an error:*<br>
&gt; ERROR: localhost: selfcheck request failed: error sending REQ: write e=
rror<br>
&gt; to: Broken pipe<br>
&gt; <br>
&gt; Any help would be greatly appreciated. Please let me know if any<br>
&gt; information is need in addition to the below:<br>
&gt; <br>
&gt; <br>
&gt; =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<br>
&gt; Full message output<br>
&gt; =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<br>
&gt; Amanda Tape Server Host Check<br>
&gt; -----------------------------<br>
&gt; NOTE: tapelist file does not exists<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0it will be created on the next run<br>
&gt; NOTE: Holding disk &#39;/amanda/holding&#39;: 27860992 KB disk space a=
vailable,<br>
&gt; using 51200 KB as requested<br>
&gt; amandad: must be executed as the &quot;backup&quot; user instead of th=
e<br>
&gt; &quot;amandabackup&quot; user<br>
&gt; amcheck-device: Error: Owner of AMANDA_TMPDIR (/tmp/amanda) is not bac=
kup<br>
&gt; <br>
&gt; slot 1: contains an empty volume<br>
&gt; Will write label &#39;MyData01&#39; to new volume in slot 1.<br>
&gt; NOTE: skipping tape-writable test<br>
&gt; NOTE: host info dir &#39;/amanda/state/curinfo/localhost&#39; does not=
 exist<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0It will be created on the next run<br>
&gt; NOTE: index dir &#39;/amanda/state/index/localhost&#39; does not exist=
<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0it will be created on the next run<br>
&gt; Server check took 0.168 seconds<br>
&gt; Amanda Backup Client Hosts Check<br>
&gt; --------------------------------<br>
&gt; ERROR: localhost: selfcheck request failed: error sending REQ: write e=
rror<br>
&gt; to: Broken pipe<br>
&gt; Client check: 1 host checked in 1.019 seconds.=C2=A0 1 problem found.<=
br>
&gt; (brought to you by Amanda 3.5.1)<br>
&gt; <br>
&gt; <br>
&gt; =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<br>
&gt; amanda.conf file<br>
&gt; =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<br>
&gt; org &quot;MyConfig&quot;<br>
&gt; infofile &quot;/amanda/state/curinfo&quot;<br>
&gt; logdir &quot;/amanda/state/log&quot;<br>
&gt; indexdir &quot;/amanda/state/index&quot;<br>
&gt; dumpuser &quot;amandabackup&quot;<br>
&gt; <br>
&gt; <br>
&gt; tpchanger &quot;chg-disk:/amanda/vtapes&quot;<br>
&gt; labelstr &quot;MyData[0-9][0-9]&quot;<br>
&gt; autolabel &quot;MyData%%&quot; EMPTY VOLUME_ERROR<br>
&gt; tapecycle 4<br>
&gt; dumpcycle 3 days<br>
&gt; amrecover_changer &quot;changer&quot;<br>
&gt; <br>
&gt; tapetype &quot;TEST-TAPE&quot;<br>
&gt; define tapetype TEST-TAPE {<br>
&gt;=C2=A0 =C2=A0length 100 mbytes<br>
&gt;=C2=A0 =C2=A0filemark 4 kbytes<br>
&gt; }<br>
&gt; <br>
&gt; define dumptype simple-gnutar-local {<br>
&gt;=C2=A0 =C2=A0 =C2=A0auth &quot;local&quot;<br>
&gt;=C2=A0 =C2=A0 =C2=A0compress none<br>
&gt;=C2=A0 =C2=A0 =C2=A0program &quot;GNUTAR&quot;<br>
&gt; }<br>
&gt; <br>
&gt; holdingdisk hd1 {<br>
&gt;=C2=A0 =C2=A0 =C2=A0directory &quot;/amanda/holding&quot;<br>
&gt;=C2=A0 =C2=A0 =C2=A0use 50 mbytes<br>
&gt;=C2=A0 =C2=A0 =C2=A0chunksize 1 mbyte<br>
&gt; }<br>
&gt; =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<br>
&gt; =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<br>
&gt; <br>
&gt; <br>
&gt; =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<br>
&gt; disklist file<br>
&gt; =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<br>
&gt; localhost /etc simple-gnutar-local<br>
&gt; =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<br>
&gt; =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<br>
<br>
-- <br>
--<br>
O disco =C3=A9 r=C3=ADgido, mas a lei da inform=C3=A1tica =C3=A9 flex=C3=AD=
vel.<br>
</blockquote></div></div></div>

--000000000000fc4495062da2dd55--