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 "backup" 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 <<a href=3D"mailto:[email protected]">jose.cal= [email protected]</a>> 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> > Hello,<br> > <br> > I am attempting to run the initial configuration via the *"Gettin= g Started<br> > with Amanda"* instructions. (<br> > <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> > )<br> > Upon running the ->amcheck MyConfig<br> > <br> > *I get the below output with an error:*<br> > ERROR: localhost: selfcheck request failed: error sending REQ: write e= rror<br> > to: Broken pipe<br> > <br> > Any help would be greatly appreciated. Please let me know if any<br> > information is need in addition to the below:<br> > <br> > <br> > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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> > Full message output<br> > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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> > Amanda Tape Server Host Check<br> > -----------------------------<br> > NOTE: tapelist file does not exists<br> >=C2=A0 =C2=A0 =C2=A0 =C2=A0it will be created on the next run<br> > NOTE: Holding disk '/amanda/holding': 27860992 KB disk space a= vailable,<br> > using 51200 KB as requested<br> > amandad: must be executed as the "backup" user instead of th= e<br> > "amandabackup" user<br> > amcheck-device: Error: Owner of AMANDA_TMPDIR (/tmp/amanda) is not bac= kup<br> > <br> > slot 1: contains an empty volume<br> > Will write label 'MyData01' to new volume in slot 1.<br> > NOTE: skipping tape-writable test<br> > NOTE: host info dir '/amanda/state/curinfo/localhost' does not= exist<br> >=C2=A0 =C2=A0 =C2=A0 =C2=A0It will be created on the next run<br> > NOTE: index dir '/amanda/state/index/localhost' does not exist= <br> >=C2=A0 =C2=A0 =C2=A0 =C2=A0it will be created on the next run<br> > Server check took 0.168 seconds<br> > Amanda Backup Client Hosts Check<br> > --------------------------------<br> > ERROR: localhost: selfcheck request failed: error sending REQ: write e= rror<br> > to: Broken pipe<br> > Client check: 1 host checked in 1.019 seconds.=C2=A0 1 problem found.<= br> > (brought to you by Amanda 3.5.1)<br> > <br> > <br> > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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> > amanda.conf file<br> > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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> > org "MyConfig"<br> > infofile "/amanda/state/curinfo"<br> > logdir "/amanda/state/log"<br> > indexdir "/amanda/state/index"<br> > dumpuser "amandabackup"<br> > <br> > <br> > tpchanger "chg-disk:/amanda/vtapes"<br> > labelstr "MyData[0-9][0-9]"<br> > autolabel "MyData%%" EMPTY VOLUME_ERROR<br> > tapecycle 4<br> > dumpcycle 3 days<br> > amrecover_changer "changer"<br> > <br> > tapetype "TEST-TAPE"<br> > define tapetype TEST-TAPE {<br> >=C2=A0 =C2=A0length 100 mbytes<br> >=C2=A0 =C2=A0filemark 4 kbytes<br> > }<br> > <br> > define dumptype simple-gnutar-local {<br> >=C2=A0 =C2=A0 =C2=A0auth "local"<br> >=C2=A0 =C2=A0 =C2=A0compress none<br> >=C2=A0 =C2=A0 =C2=A0program "GNUTAR"<br> > }<br> > <br> > holdingdisk hd1 {<br> >=C2=A0 =C2=A0 =C2=A0directory "/amanda/holding"<br> >=C2=A0 =C2=A0 =C2=A0use 50 mbytes<br> >=C2=A0 =C2=A0 =C2=A0chunksize 1 mbyte<br> > }<br> > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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> > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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> > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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> > disklist file<br> > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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> > localhost /etc simple-gnutar-local<br> > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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> > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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--