> On Sep 29, 2020, at 5:13 PM, Gene Heskett <ghesk...@shentel.net> wrote:
> 
> On Tuesday 29 September 2020 17:36:48 you wrote:
> CC:back on list so its archived.
> 
>> On Tue, 29 Sep 2020 16:45:15 -0400
>> 
>> Gene Heskett <ghesk...@shentel.net> wrote:
>>> But the install did not generate a /home/gene/linuxcnc directory
>>> which is the base of its config and data trees.
>> 
>> Can't help you with that....
>> 
>>> So I go to "sudo amrecover" in order to recover that whole tree.
>>> But, amrecover won't run because it can't find ambind, a utility I
>>> am not aware of.  So, start me up from square one to bring amanda
>>> back online in a new install please. I have not yet created an
>>> amandahosts file or anything else the installer didn't set up.
>> 
>> On Debian 10 (buster) as updated:
>> 
>> charles@hawk:~$ locate ambind
>> /usr/lib/amanda/ambind
>> charles@hawk:~$ apt-file search ambind
>> amanda-server: /usr/lib/amanda/ambind
> 
> This is a pure client, thats in amanda-server. I don't think any of the 
> other clients have the server installed.
> 
> This is a clue I think.  Thanks.
> 
>> charles@hawk:~$$ pre amanda
>> amanda-client        1:3.5.1-2+b2            amd64
>> amanda-common        1:3.5.1-2+b2            amd64
>> amanda-server        1:3.5.1-2+b2            amd64
>> charles@hawk:~$
> 
> printed so I can check it the next time I go up the hill, probably 
> tomorrow now.  Thank you Charles.
> 
> Cheers, Gene Heskett
> -- 
> "There are four boxes to be used in defense of liberty:
> soap, ballot, jury, and ammo. Please use in that order."
> -Ed Howdershelt (Author)
> If we desire respect for the law, we must first make the law respectable.
> - Louis D. Brandeis
> Genes Web page 
> <https://urldefense.proofpoint.com/v2/url?u=http-3A__geneslinuxbox.net-3A6309_gene&d=DwICAw&c=gRgGjJ3BkIsb5y6s49QqsA&r=HMrKaRiCv4jddln9fLPIOw&m=odWsH0En_6OMHz87UUwrPRANKTiw_6zmK0v4Uhorqqc&s=sHb0yVWbxQsLZwj_2CKudBeseQnBVUw1p7FyoYoAiAA&e=
>  >



There is also file/tree recovery without getting amanda working first.
If you have listings from the last amanda run previously,  look at list file to 
see # of the correct DLE on (v)tape.
If not, do it the hard way.

I suggest being in a temp area when you do all this.

use your correct device spec below:
mf -f /dev/nst0    rewind     # repeat from here
mt -f /dev/nst0   fsf 1         #  then try 2, then 3, etc
dd  if=/dev/nst0    count=1    bs=512k     #count=1== get first block, with DLE 
name     #bs  keep trying till you remember what you used. My LT05 tapes 
required this size.
#  read DLE.     If wrong,  go back to start and try again

If it’s the right DLE,      (first two steps might not be needed)
mt -f /dev/nst0  rewind
mt -f /dev/nst0  fsf  CORRECT-NUM
dd if=/dev/nst0   of=/spool-or-temp-area/MY-DLE   bs=512k

Then feed this resulting file into RESTORE (for dump)  or TAR.
Some of the correct flags  were show in the bit where we read the correct DLE.

RESTORE acts like amrecover  - ls ;  cd ;  to the right spot;  ADD the tree you 
want  ;  EXTRACT  

Then copy files to where you want them to be.


Just in case this is any easier …

Deb Baddorf
Fermilab

Reply via email to