Re: amrecover question tape drive

2007-08-31 Thread Jon LaBadie
On Fri, Aug 31, 2007 at 01:44:31PM -0400, McGraw, Robert P wrote:
 I am running amanda 2.5.2p1 on a Solaris sparc host.
 
 Below is output from an amrecover run.
 
   amrecover add tidyview-1.13.tar.gz
   Added file /rmcgraw/tidyview-1.13.tar.gz
   amrecover extract
 
   Extracting files using tape drive /dev/rmt/1bn on host zorn.
 
   The following tapes are needed: D00011
 
   Restoring files into directory /local/Amanda/amanda-2.5.2p1
   Continue [?/Y/n]?
 
 In the above line it shows tape drive/dev/rmt/1bn as my tape drive yet my
 amanda.conf has tapedev /dev/rmt/1cbn. Should the tape drive show as what
 is in amanda.conf? If not where is the tape drive value retrieved from?
 

Though the question is still relevant, it should not make any difference
in this situation.  In my experience, the various device densities
(l, m, h, c, u) affect the drive only when writing.  During read the
drive senses the density and compression and adjusts itself.

-- 
Jon H. LaBadie  [EMAIL PROTECTED]
 JG Computing
 4455 Province Line Road(609) 252-0159
 Princeton, NJ  08540-4322  (609) 683-7220 (fax)


Re: amrecover question tape drive

2007-08-31 Thread Jean-Francois Malouin
* McGraw, Robert P [EMAIL PROTECTED] [20070831 14:07]:
 I am running amanda 2.5.2p1 on a Solaris sparc host.
 
 Below is output from an amrecover run.
 
   amrecover add tidyview-1.13.tar.gz
   Added file /rmcgraw/tidyview-1.13.tar.gz
   amrecover extract
 
   Extracting files using tape drive /dev/rmt/1bn on host zorn.
 
   The following tapes are needed: D00011
 
   Restoring files into directory /local/Amanda/amanda-2.5.2p1
   Continue [?/Y/n]?
 
 In the above line it shows tape drive/dev/rmt/1bn as my tape drive yet my
 amanda.conf has tapedev /dev/rmt/1cbn. Should the tape drive show as what
 is in amanda.conf? If not where is the tape drive value retrieved from?

I believe the client's amanda-client.conf will bypasses the default value
on the server's amanda.conf. Otherwize you have to specify the tapedev
on the command line when invoking amrecover.

hth
jf

 
 Thanks
 
 Robert
 
 
 
 _
 Robert P. McGraw, Jr.
 Manager, Computer System EMAIL: [EMAIL PROTECTED]
 Purdue University ROOM: MATH-807
 Department of MathematicsPHONE: (765) 494-6055
 150 N. University Street   FAX: (419) 821-0540
 West Lafayette, IN 47907-2067
 
 



-- 
° 


RE: amrecover question.

2006-09-26 Thread Lee, Raymond
Sometimes the files you're recovering are on a tape that's no longer in
the changer, so you must manually insert it into the changer and mount
it to a drive before telling amrecover to continue.

I think it would be nice if Amanda could mount the tape automatically
without asking you, if it knows that the required tape is already in the
changer.  Can it already do this, or will it be a feature in a future
release?

Ray

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of McGraw, Robert P.
Sent: Tuesday, September 26, 2006 2:55 PM
To: amanda-users@amanda.org
Subject: amrecover question.


I am running amanda-2.5.1 on a Sparc Solaris 10

When I run amrecover and do the extract, it tells me what tape needs to
be
mounted. I then have to go to another window and run amtape to mount the
tape. Since it knows what tape to mount, what is the reason to go to
another
window to run amtape to mount the tape? Am I not doing it correctly? Am
I
missing something?

Thanks

Robert


_
Robert P. McGraw, Jr.
Manager, Computer System EMAIL: [EMAIL PROTECTED]
Purdue University ROOM: MATH-807
Department of MathematicsPHONE: (765) 494-6055
150 N. University Street   FAX: (419) 821-0540
West Lafayette, IN 47907-2067



This communication is the property of Qwest and may contain confidential or
privileged information. Unauthorized use of this communication is strictly 
prohibited and may be unlawful.  If you have received this communication 
in error, please immediately notify the sender by reply e-mail and destroy 
all copies of the communication and any attachments.



Re: amrecover question.

2006-09-26 Thread Jean-Francois Malouin
* Lee, Raymond [EMAIL PROTECTED] [20060926 16:02]:
 Sometimes the files you're recovering are on a tape that's no longer in
 the changer, so you must manually insert it into the changer and mount
 it to a drive before telling amrecover to continue.
 
 I think it would be nice if Amanda could mount the tape automatically
 without asking you, if it knows that the required tape is already in the
 changer.  Can it already do this, or will it be a feature in a future
 release?

Please stop the top-replies and properly indent what you are replying
to as otherwize it screws up attribution and makes it hard to sift
through the archives afterwards.

To get back to your question, in the amanda manpage:

amrecover_changer  string
  Default:  ''. Amrecover will use the changer if you
  use 'settape string' and that string is the  same
  as the amrecover_changer setting.

As been available since 2.4.3 but I might be mistaken...

HTH
jf

 
 Ray
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of McGraw, Robert P.
 Sent: Tuesday, September 26, 2006 2:55 PM
 To: amanda-users@amanda.org
 Subject: amrecover question.
 
 
 I am running amanda-2.5.1 on a Sparc Solaris 10
 
 When I run amrecover and do the extract, it tells me what tape needs to
 be
 mounted. I then have to go to another window and run amtape to mount the
 tape. Since it knows what tape to mount, what is the reason to go to
 another
 window to run amtape to mount the tape? Am I not doing it correctly? Am
 I
 missing something?
 
 Thanks
 
 Robert
 
 
 _
 Robert P. McGraw, Jr.
 Manager, Computer System EMAIL: [EMAIL PROTECTED]
 Purdue University ROOM: MATH-807
 Department of MathematicsPHONE: (765) 494-6055
 150 N. University Street   FAX: (419) 821-0540
 West Lafayette, IN 47907-2067
 
 
 
 This communication is the property of Qwest and may contain confidential or
 privileged information. Unauthorized use of this communication is strictly 
 prohibited and may be unlawful.  If you have received this communication 
 in error, please immediately notify the sender by reply e-mail and destroy 
 all copies of the communication and any attachments.

-- 
° 


Re: amrecover question

2006-09-22 Thread Jean-Francois Malouin
* McGraw, Robert P. [EMAIL PROTECTED] [20060922 10:58]:
 
 I have upgraded to amanda 2.5.1. 
 
 I need to restore a file and when I run amrecover I get the following
 
 AMRECOVER Version 2.5.1. Contacting server on zorn ...
 NAK: user root from zorn.math.purdue.edu is not allowed to execute the
 service amindexd: Please add amindexd amidxtaped to the line in
 /local/Amanda/amanda/.amandahosts
 
 I did not get this under 2.4.5p1.
 
 Is this a new check under 2.5.1?

http://wiki.zmanda.com/index.php/Configuring_bsd/bsdudp/bsdtcp_authentication

I suggest that you have a close look at the doc on the wiki for the
new features introduced with 2.5.1

jf

 
 Robert
 
 
 _
 Robert P. McGraw, Jr.
 Manager, Computer System EMAIL: [EMAIL PROTECTED]
 Purdue University ROOM: MATH-807
 Department of MathematicsPHONE: (765) 494-6055
 150 N. University Street   FAX: (419) 821-0540
 West Lafayette, IN 47907-2067
 
 


RE: amrecover question

2006-09-22 Thread McGraw, Robert P.
I want to thank everyone slapping my hand for not reading the manual pages 
first.

After I sent the email I did go to the doc and found
the information about the new .amandahosts. I corrected my .amandahosts file
that fixed this error.

Now when I try to run amrecover I get the following

##R##-zorn-[206] ## !178
sbin/amrecover -C daily
AMRECOVER Version 2.5.1. Contacting server on zorn ...
NAK: amindexd: invalid service

I have tried to look for the error on google and in the zmanda documents but I 
do not see anything.

I am running Solaris 10 which does not use inetd.conf file. Here is the info 
from inetadm

SCOPENAME=VALUE
 name=amandaidx
 endpoint_type=stream
 proto=tcp
 isrpc=FALSE
 wait=FALSE
 exec=/local/Amanda/amanda/libexec/amindexd
 user=amanda
default  bind_addr=
default  bind_fail_max=-1
default  bind_fail_interval=-1
default  max_con_rate=-1
default  max_copies=-1
default  con_rate_offline=-1
default  failrate_cnt=40
default  failrate_interval=60
default  inherit_env=TRUE
default  tcp_trace=FALSE
default  tcp_wrappers=FALSE




Thanks

Robert


From the degug file:


amandad: (sockaddr_in *)68060 = { 0, 0, 0.0.0.0 }
security_handleinit(handle=a6c40, driver=43494 (BSD))
amandad: time 0.001: accept recv REQ pkt:

SERVICE amindexd
OPTIONS features=feff9ffeff7f;auth=bsd;

amandad: time 0.001: amindexd: invalid service
amandad: time 0.001: sending NAK pkt:

ERROR amindexd: invalid service

amandad: dgram_send_addr(addr=ffbff790, dgram=58074)




 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
 On Behalf Of Jean-Francois Malouin
 Sent: Friday, September 22, 2006 11:05 AM
 To: amanda-users@amanda.org
 Subject: Re: amrecover question


 * McGraw, Robert P. [EMAIL PROTECTED] [20060922 10:58]:
 
  I have upgraded to amanda 2.5.1.
 
  I need to restore a file and when I run amrecover I get the following
 
  AMRECOVER Version 2.5.1. Contacting server on zorn ...
  NAK: user root from zorn.math.purdue.edu is not allowed to execute the
  service amindexd: Please add amindexd amidxtaped to the line in
  /local/Amanda/amanda/.amandahosts
 
  I did not get this under 2.4.5p1.
 
  Is this a new check under 2.5.1?

 http://wiki.zmanda.com/index.php/Configuring_bsd/bsdudp/bsdtcp_authenticat
 ion

 I suggest that you have a close look at the doc on the wiki for the
 new features introduced with 2.5.1

 jf

 
  Robert
 
 
  _
  Robert P. McGraw, Jr.
  Manager, Computer System EMAIL: [EMAIL PROTECTED]
  Purdue University ROOM: MATH-807
  Department of MathematicsPHONE: (765) 494-6055
  150 N. University Street   FAX: (419) 821-0540
  West Lafayette, IN 47907-2067
 
 


smime.p7s
Description: S/MIME cryptographic signature


Re: amrecover question

2006-09-22 Thread Kevin Till

McGraw, Robert P. wrote:
I have upgraded to amanda 2.5.1. 


I need to restore a file and when I run amrecover I get the following

AMRECOVER Version 2.5.1. Contacting server on zorn ...
NAK: user root from zorn.math.purdue.edu is not allowed to execute the
service amindexd: Please add amindexd amidxtaped to the line in
/local/Amanda/amanda/.amandahosts

I did not get this under 2.4.5p1.

Is this a new check under 2.5.1?

In Amanda 2.5.1, amrecover uses Security API. Changes to xinetd configuration and 
.amandahosts files are required. Please see the following wiki page for detail:


http://wiki.zmanda.com/index.php/Configuring_bsd/bsdudp/bsdtcp_authentication



--
Thank you!
Kevin Till

Amanda documentation: http://wiki.zmanda.com
Amanda forums:http://forums.zmanda.com


Re: amrecover question

2006-07-28 Thread Jon LaBadie
On Sat, Jul 29, 2006 at 12:49:26AM +1000, Jeff Allison wrote:
 I have just upgraded my client using the binarys at zmanda.com and when 
 I try a recover I get
 
 [EMAIL PROTECTED] xinetd.d]# amrecover homes -s dalston.blackshaw.dyn.dhs.org
 AMRECOVER Version 2.5.1b1. Contacting server on 
 dalston.blackshaw.dyn.dhs.org ...
 NAK: amindexd: invalid service
 
 any ideas

I'd guess your xinted configuration on dalston is not allowing
the index service (amindexd) to start up.  Improper installation
and settings of xinetd config files is most likely reason.

-- 
Jon H. LaBadie  [EMAIL PROTECTED]
 JG Computing
 4455 Province Line Road(609) 252-0159
 Princeton, NJ  08540-4322  (609) 683-7220 (fax)


Re: amrecover question

2006-07-28 Thread Frank Smith
Jeff Allison wrote:
 I have just upgraded my client using the binarys at zmanda.com and when 
 I try a recover I get
 
 [EMAIL PROTECTED] xinetd.d]# amrecover homes -s dalston.blackshaw.dyn.dhs.org
 AMRECOVER Version 2.5.1b1. Contacting server on 
 dalston.blackshaw.dyn.dhs.org ...
 NAK: amindexd: invalid service

Do you add the amindexd service into xinetd?  And if so, did you
remember to restart xinetd after you added it (I think a kill -HUP
doesn't work on xinetd, it needs a -USR2 signal on the boxes I've
used, but a stop/start will always work)?

Frank

 
 any ideas
 
 TIA
 
 Jeff


-- 
Frank Smith  [EMAIL PROTECTED]
Sr. Systems Administrator   Voice: 512-374-4673
Hoover's Online   Fax: 512-374-4501


Re: amrecover question

2006-07-28 Thread Jeff Allison

Jon LaBadie wrote:

On Sat, Jul 29, 2006 at 12:49:26AM +1000, Jeff Allison wrote:

I have just upgraded my client using the binarys at zmanda.com and when 
I try a recover I get


[EMAIL PROTECTED] xinetd.d]# amrecover homes -s dalston.blackshaw.dyn.dhs.org
AMRECOVER Version 2.5.1b1. Contacting server on 
dalston.blackshaw.dyn.dhs.org ...

NAK: amindexd: invalid service

any ideas



I'd guess your xinted configuration on dalston is not allowing
the index service (amindexd) to start up.  Improper installation
and settings of xinetd config files is most likely reason.

The strange thing is I've only changed the config on the client the 
server dalston has been touched and all work well earlier today using 
the 2.4.5 client on leyton???




Re: amrecover question

2006-07-28 Thread Pavel Pragin

Hello,
These directions are assuming that you are still running 2.5.0 on the 
server side:
1. As root run amoldrecover homes -s dalston.blackshaw.dyn.dhs.org -t  
dalston.blackshaw.dyn.dhs.org
2. Also if this desn't work please post the amanda file from 
/etc/xinetd.d on the server so i can look at it

Thanks


I have just upgraded my client using the binarys at zmanda.com and 
when I try a recover I get


[EMAIL PROTECTED] xinetd.d]# amrecover homes -s dalston.blackshaw.dyn.dhs.org
AMRECOVER Version 2.5.1b1. Contacting server on 
dalston.blackshaw.dyn.dhs.org ...

NAK: amindexd: invalid service

any ideas

TIA

Jeff





Re: amrecover question

2006-07-28 Thread Paddy Sreenivasan

Jeff,

Please check if .amandahosts and xinetd service files are set up
correctly. Please
note that upgrading from 2.5.0 to 2.5.1 requires changes to
.amandahosts and xinetd files.
This is required if you are using bsd authentication.

See 
http://wiki.zmanda.com/index.php/Configuring_bsd/bsdudp/bsdtcp_authentication

For compatibility with old protocol and configurations, amoldrecover
command is available.

Thanks,
Paddy

On 7/28/06, Jeff Allison [EMAIL PROTECTED] wrote:

I have just upgraded my client using the binarys at zmanda.com and when
I try a recover I get

[EMAIL PROTECTED] xinetd.d]# amrecover homes -s dalston.blackshaw.dyn.dhs.org
AMRECOVER Version 2.5.1b1. Contacting server on
dalston.blackshaw.dyn.dhs.org ...
NAK: amindexd: invalid service

any ideas

TIA

Jeff




--

Amanda documentation: http://wiki.zmanda.com
Amanda forums: http://forums.zmanda.com


RE: amrecover question

2004-04-02 Thread Dege, Robert C.

I know that I can specify the tape device via CLI, or with settape in amrecover.  I 
was curious why it's default value isn't set to /dev/st0, when:

1) it is listed in the man page as such 
2) was compiled with that value when I passed the --with-tape-device=/dev/st0 
parameter to ./configure

-Rob

 -Original Message-
 From: Stefan G. Weichinger [mailto:[EMAIL PROTECTED]
 Sent: Thursday, April 01, 2004 2:48 PM
 To: '[EMAIL PROTECTED]'
 Subject: Re: amrecover question
 
 
 Hi, Robert,
 
 on Donnerstag, 01. April 2004 at 21:21 you wrote to amanda-users:
 
 DRC What can I do to correctly set the default settape 
 variable in amrecover to /dev/st0?
 
 My amrecover tells me:
 
 Usage: amrecover [[-C] config] [-s index-server] [-t 
 tape-server] [-d tape-device]
 
 So it would work with:
 
 amrecover -d /dev/st0 
 
 If you roll your own binaries, you could configure your sources with
 
 configure --with-tape-device= /dev/st0
 
 
 -- 
 best regards,
 Stefan
 
 Stefan G. Weichinger
 mailto:[EMAIL PROTECTED]
 
 
 
 
 


Re: amrecover question

2004-04-01 Thread Stefan G. Weichinger
Hi, Robert,

on Donnerstag, 01. April 2004 at 21:21 you wrote to amanda-users:

DRC What can I do to correctly set the default settape variable in amrecover to 
/dev/st0?

My amrecover tells me:

Usage: amrecover [[-C] config] [-s index-server] [-t tape-server] [-d 
tape-device]

So it would work with:

amrecover -d /dev/st0 

If you roll your own binaries, you could configure your sources with

configure --with-tape-device= /dev/st0


-- 
best regards,
Stefan

Stefan G. Weichinger
mailto:[EMAIL PROTECTED]







Re: amrecover question

2003-08-14 Thread vlad f halilow
 Does /export/home/local on 'exper' use dump or gtar to do the backup?
gtar

 If the latter, is it a known, amanda compatible, version (1.13.19 or
 1.13.25). Find out with the --version option.

version is 1.13 with no subversion.. i try to install latest version.

vlad.



Re: amrecover question

2003-08-14 Thread Jon LaBadie
On Thu, Aug 07, 2003 at 12:01:40PM +0400, vlad f halilow wrote:
 hello. i have installed amanda 2.4.4 on sparc system, under solaris8. today, i 
 try to restore dump monthly old. oops :) i found full dump by amadmin find 
 directive:
 
 2003-07-05 exper /export/home/local   0 servers08  28 OK
 2003-07-09 exper /export/home/local   1 servers09  13 OK
 
 (exper is a amanda-server too)
 so, a'm run amrecover by 'amrecover cfgname -s host -t host'
 after that setdate 2003-07-05, sethost exper, setdisk /export/home/local and 
 type the 'ls' command that return one line:
 
 -
 mrecover ls
 2003-07-05 nagios/
 -
 
 but directory really contain a lot of subdirs! a'm restore the file 28 from 
 tape by amrestore program, and file have the normal size (about 400mb) and 
 contain full dump of selected partioton. after that, i set date by 
 different full dump:
 

Does /export/home/local on 'exper' use dump or gtar to do the backup?
If the latter, is it a known, amanda compatible, version (1.13.19 or 1.13.25).
Find out with the --version option.

-- 
Jon H. LaBadie  [EMAIL PROTECTED]
 JG Computing
 4455 Province Line Road(609) 252-0159
 Princeton, NJ  08540-4322  (609) 683-7220 (fax)


Re: amrecover question

2003-08-08 Thread Jon LaBadie
On Thu, Aug 07, 2003 at 04:34:19PM +0400, vlad f halilow wrote:
  Does /export/home/local on 'exper' use dump or gtar to do the backup?
 gtar
 
  If the latter, is it a known, amanda compatible, version (1.13.19 or
  1.13.25). Find out with the --version option.
 
 version is 1.13 with no subversion.. i try to install latest version.
 

Highly likely that is your problem.
The bad tar's generally create bad indexes.

-- 
Jon H. LaBadie  [EMAIL PROTECTED]
 JG Computing
 4455 Province Line Road(609) 252-0159
 Princeton, NJ  08540-4322  (609) 683-7220 (fax)