Second try at the commands, possibly in better detail:
cd /tmp/Gene’sAreaToPlay
login as root # amrecover HAS to be run as root; it has
probably already told you that
(I use kerberos, so I just do “ksu root” …. your process may be
different? I’m not sure how well “su” will work???)
on the client node # coyote.coyote.den I presume
amrecover Daily
setdisk /lathe.coyote.den
setdate # if needed # error messages will tell you the correct format
ls
cd /home
ls # skip if you like
cd gene
ls # skip if you like
add linuxcnc
list # to see the tape name it wants
extract # when you know you have that tape mounted - and rewound, if
you tried this already
….. wait …… some more …..
Q> I’m gonna over write everything in /tmp ? yeah, that’s ok
Q> shall I set the permissions? I’ve never seen the answer make
any difference, so I say no
exit
Check file permissions (in case Joe Schmuck will later need to delete the
files).
Then
cp -pnv /tmp/home/gene/linuxcnc/* theRealDisk/home/gene/linuxcnc
# n is a “no-clobber” on my current version, but doesn’t work on my
prev version
# that’s in case my commands are wrong — don’t rely blindly on what
I’ve typed!!!
# And “n” may not work, so maybe take it out.
# v only cuz I like to see the files going where I told them to go;
maybe you don’t
Deb Baddorf
Fermilab
On May 6, 2015, at 5:05 PM, Gene Heskett <[email protected]> wrote:
> I have a 15 day expiry rule and the folder is empty, but MajorDomo says I
> am subscribed
>
> Where do I find the docs to setup an amanda-client.conf on one of my
> machines with a fresh install of late wheezy (debian 7.8) on it?
>
> The deb I installed was for wheezy, version 3.3.7-1 amanda-client.deb
> from the amanda site earlier this afternoon.
>
> I now have an "su amanda -c /usr/local/sbin/amcheck Daily" returning no
> errors.
>
> But I've never needed to do an amrecover, so all it does is hang forever
> when I fire that up on either client. Or do I have to do it from the
> server?
>
> That seems to work, but lpwd does not report the machine name that will
> be restored when I enter extract. How do I verify this?
>
> Better yet, a step by step to recover one directory
> in /lathe.coyote.den/home/gene (add linuxcnc) from this machine which is
> coyote.coyote.den would be ideal. I need the latest version of every
> file that was in that subdir at 2AM this morning when amanda last ran
> and backed it up.
>
> I am studying the manpage for amrecover, but when I look at the directory
> I am about to overwrite, I am looking at that same directory on this
> server machine. And that is totally different from the machine I need
> to recover.
>
> Thanks.
>
> 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)
> Genes Web page <http://geneslinuxbox.net:6309/gene>