Re: Amrecover Issue in 3.4

2016-10-31 Thread Steven Backus
Debra S Baddorf  wrote to me:

> When somebody in charge finally reads your notes, I'm sure
> they'll agree.

Not sure if that's what's slowing down amrecover but the 3.4
version is much slower than the 3.3.9 one I was using.  Maybe that
problem will go away when all my backups are done with 3.4.

> I've never seen those numbers. (I'm only at 3.3.8)   

There seems to be no auth = bsd (only auth = bsdtcp) in 3.4 so be
prepared to change that if you decide to upgrade.

Steve
-- 
Steven J. BackusComputer Systems Manager
University of Utah  E-Mail:  steven.bac...@utah.edu
Genetic EpidemiologyAlternate:  bac...@math.utah.edu
391 Chipeta Way -- Suite D  Office:  801.587.9308
Salt Lake City, UT 84108-1266   http://www.math.utah.edu/~backus


Re: Amrecover Issue in 3.4

2016-10-29 Thread Steven Backus
These numbers slow things down and don't provide information I
need.  An option to turn them off seems appropriate.

Steve
-- 
Steven J. BackusComputer Systems Manager
University of Utah  E-Mail:  steven.bac...@utah.edu
Genetic EpidemiologyAlternate:  bac...@math.utah.edu
391 Chipeta Way -- Suite D  Office:  801.587.9308
Salt Lake City, UT 84108-1266   http://www.math.utah.edu/~backus


Re: Amrecover Issue in 3.4

2016-10-28 Thread Steven Backus
The amrecover prompt returned at 595007296 kb, after 3 hours.

Steve
-- 
Steven J. BackusComputer Systems Manager
University of Utah  E-Mail:  steven.bac...@utah.edu
Genetic EpidemiologyAlternate:  bac...@math.utah.edu
391 Chipeta Way -- Suite D  Office:  801.587.9308
Salt Lake City, UT 84108-1266   http://www.math.utah.edu/~backus


Re: Amrecover Issue in 3.4

2016-10-28 Thread Steven Backus
On a test restore the numbers got to 67971072 kb before the file
restored, it took 20 minutes.  My concern is after the file
restored the numbers continued to grow without ending.  Prior
versions eventually gave me the amrecover prompt back.  Having to
^C out each time would be a pain.  This is an LTO6 drive with
e/sata interface.

Steve
-- 
Steven J. BackusComputer Systems Manager
University of Utah  E-Mail:  steven.bac...@utah.edu
Genetic EpidemiologyAlternate:  bac...@math.utah.edu
391 Chipeta Way -- Suite D  Office:  801.587.9308
Salt Lake City, UT 84108-1266   http://www.math.utah.edu/~backus


Re: Amrecover issue...

2009-01-05 Thread Dustin J. Mitchell
On Fri, Jan 2, 2009 at 4:59 AM, Christiaan de Vries  wrote:
> Hello again,
>
> Please find all the requested info, I am lost!

The amanda-auth(7) manpage may help to straighten all of this out.  See
  http://wiki.zmanda.com/man/amanda-auth.7.html

Dustin

-- 
Storage Software Engineer
http://www.zmanda.com


Re: Amrecover issue...

2009-01-02 Thread Christiaan de Vries

Hello again,

Please find all the requested info, I am lost!

r...@dub-amanda1:~# cat /etc/xinetd.d/amanda
=
# default: on
#
# description: Amanda services for Amanda server
#
service amanda
{
   only_from   = 10.100.100.0/24
   disable = no
   socket_type = dgram
   protocol= udp
   wait= yes
   user= backup
   group   = backup
   groups  = yes
   server  = /usr/lib/amanda/amandad
   server_args = -auth=bsd amdump amindexd amidxtaped
}
service amandaidx
{
   socket_type = stream
   protocol= tcp
   wait= no
   user= backup
   group   = backup
   groups  = yes
   server  = /usr/lib/amanda/amindexd
   disable = no
}
service amidxtape
{
   socket_type = stream
   protocol= tcp
   wait= no
   user= backup
   group   = backup
   groups  = yes
   server  = /usr/lib/amanda/amidxtaped
   disable = no
}
r...@dub-amanda1:~#

r...@dub-amanda1:~# cat 
/var/log/amanda/amandad/amandad.20081229174344.debug

=
amandad: debug 1 pid 1414 ruid 34 euid 34: start at Mon Dec 29 17:43:44 2008
Could not open conf file "/etc/amanda/amanda-client.conf": No such file 
or directory

amandad: time 0.000: security_getdriver(name=bsd) returns 0xb7f092e0
amandad: version 2.5.2p1
amandad: time 0.000: build: VERSION="Amanda-2.5.2p1"
amandad: time 0.000:BUILT_DATE="Fri Nov 9 01:06:28 GMT 2007"
amandad: time 0.000:BUILT_MACH="Linux palmer 2.6.15.7 #1 SMP Thu 
Sep 7 19:42:20 UTC 2006 i686 GNU/Linux"

amandad: time 0.000:CC="gcc"
amandad: time 0.000:CONFIGURE_COMMAND="'./configure' 
'--prefix=/usr' '--bindir=/usr/sbin' '--mandir=/usr/share/man' 
'--libexecdir=/usr/lib/amanda' '--enable-shared' '--sysconfdir=/etc' 
'--localstatedir=/var/lib' 
'--with-gnutar-listdir=/var/lib/amanda/gnutar-lists' 
'--with-index-server=localhost' '--with-user=backup' 
'--with-group=backup' '--with-bsd-security' '--with-amandahosts' 
'--with-smbclient=/usr/bin/smbclient' '--with-debugging=/var/log/amanda' 
'--with-dumperdir=/usr/lib/amanda/dumper.d' 
'--with-tcpportrange=5,50100' '--with-udpportrange=840,860' 
'--with-maxtapeblocksize=256' '--with-ssh-security'"

amandad: time 0.000: paths: bindir="/usr/sbin" sbindir="/usr/sbin"
amandad: time 0.000:libexecdir="/usr/lib/amanda" 
mandir="/usr/share/man"

amandad: time 0.000:AMANDA_TMPDIR="/tmp/amanda"
amandad: time 0.000:AMANDA_DBGDIR="/var/log/amanda" 
CONFIG_DIR="/etc/amanda"
amandad: time 0.000:DEV_PREFIX="/dev/" RDEV_PREFIX="/dev/" 
DUMP="/sbin/dump"
amandad: time 0.000:RESTORE="/sbin/restore" VDUMP=UNDEF 
VRESTORE=UNDEF
amandad: time 0.000:XFSDUMP="/sbin/xfsdump" 
XFSRESTORE="/sbin/xfsrestore"

amandad: time 0.000:VXDUMP=UNDEF VXRESTORE=UNDEF
amandad: time 0.000:SAMBA_CLIENT="/usr/bin/smbclient" 
GNUTAR="/bin/tar"
amandad: time 0.000:COMPRESS_PATH="/bin/gzip" 
UNCOMPRESS_PATH="/bin/gzip"

amandad: time 0.000:LPRCMD="/usr/bin/lpr" MAILER="/usr/bin/mail"
amandad: time 0.000:listed_incr_dir="/var/lib/amanda/gnutar-lists"
amandad: time 0.000: defs:  DEFAULT_SERVER="localhost" 
DEFAULT_CONFIG="DailySet1"
amandad: time 0.000:DEFAULT_TAPE_SERVER="localhost" HAVE_MMAP 
NEED_STRSTR
amandad: time 0.000:HAVE_SYSVSHM LOCKING=POSIX_FCNTL 
SETPGRP_VOID DEBUG_CODE
amandad: time 0.000:AMANDA_DEBUG_DAYS=4 BSD_SECURITY 
RSH_SECURITY USE_AMANDAHOSTS

amandad: time 0.000:CLIENT_LOGIN="backup" FORCE_USERID HAVE_GZIP
amandad: time 0.000:COMPRESS_SUFFIX=".gz" COMPRESS_FAST_OPT="--fast"
amandad: time 0.000:COMPRESS_BEST_OPT="--best" UNCOMPRESS_OPT="-dc"
amandad: time 0.000: dgram_recv(dgram=0xb7f0b284, timeout=0, 
fromaddr=0xb7f1b270)

amandad: time 0.000: (sockaddr_in *)0xb7f1b270 = { 2, 858, 10.100.100.160 }
amandad: time 0.000: security_handleinit(handle=0x80529a0, 
driver=0xb7f092e0 (BSD))

amandad: time 0.001: accept recv REQ pkt:
<
SERVICE amindexd
OPTIONS features=9ffe00;auth=bsd;
>
amandad: time 0.001: creating new service: amindexd
OPTIONS features=9ffe00;auth=bsd;

amandad: time 0.002: sending ACK pkt:
<
>
amandad: time 0.002: dgram_send_addr(addr=0x80529c0, dgram=0xb7f0b284)
amandad: time 0.002: (sockaddr_in *)0x80529c0 = { 2, 858, 10.100.100.160 }
amandad: time 0.002: dgram_send_addr: 0xb7f0b284->socket = 0
amandad: time 0.004: security_streaminit(stream=0x8063010, 
driver=0xb7f092e0 (BSD))

amandad: time 0.004: try_socksize: send buffer size is 65536
amandad: time 0.004: try_socksize: receive buffer size is 65536
amandad: time 0.005: bind_por

Re: Amrecover issue...

2008-12-30 Thread Jean-Louis Martineau

Christiaan de Vries wrote:

Hello Jean-Louis,

File Permissions:
==
bac...@dub-amanda1:~$ ls -al /usr/lib/amanda/amidxtaped
-rwxr-xr-x 1 root root 16248 2007-11-09 01:08 /usr/lib/amanda/amidxtaped

Xinetd.d conf:

r...@dub-amanda1:/etc/xinetd.d# cat /etc/xinetd.d/amidxtape
#default: on
# description: The amanda tape service
service amidxtape
{
#only_from= 
   socket_type= stream
   protocol= tcp
   wait= no
   user= backup
   group= backup
   groups= yes
   server= /usr/lib/amanda/amidxtaped
   server_args= -auth=bsd amdump amindexd amidxtaped
   disable= no
}

xinetd amindexd and amidxtaped are not use, you should disable them if 
you don't have older client.

Post /etc/xinetd.d/amanda
Post the amandad.*.debug file
Do /usr/lib/amanda/amidxtaped have the same permission as 
/usr/lib/amanda/amindexd?

Socket:

r...@dub-amanda1:/etc/xinetd.d# netstat -an | grep 10083
tcp0  0 0.0.0.0:10083   0.0.0.0:*   
LISTEN   

FYI: I have tried changing the file ownership to the backup user, but 
to no avail... I also tried to start the amixdtaped deamon with root, 
also no change, still the same error:


"amrecover - can't talk to tape server: NAK: execute access to 
"/usr/lib/amanda/amidxtaped" denied"


Kind regards again,
Christiaan de Vries

(Btw, where would I set the 'sethost' and 'settape' variables on the 
client machine permanently?)

Either when you configure amanda or in the amanda-client.conf file.

Jean-Louis




Re: Amrecover issue...

2008-12-30 Thread Christiaan de Vries

Hello Jean-Louis,

File Permissions:
==
bac...@dub-amanda1:~$ ls -al /usr/lib/amanda/amidxtaped
-rwxr-xr-x 1 root root 16248 2007-11-09 01:08 /usr/lib/amanda/amidxtaped

Xinetd.d conf:

r...@dub-amanda1:/etc/xinetd.d# cat /etc/xinetd.d/amidxtape
#default: on
# description: The amanda tape service
service amidxtape
{
#only_from= 
   socket_type= stream
   protocol= tcp
   wait= no
   user= backup
   group= backup
   groups= yes
   server= /usr/lib/amanda/amidxtaped
   server_args= -auth=bsd amdump amindexd amidxtaped
   disable= no
}

Socket:

r...@dub-amanda1:/etc/xinetd.d# netstat -an | grep 10083
tcp0  0 0.0.0.0:10083   0.0.0.0:*   
LISTEN



FYI: I have tried changing the file ownership to the backup user, but to 
no avail... I also tried to start the amixdtaped deamon with root, also 
no change, still the same error:


"amrecover - can't talk to tape server: NAK: execute access to 
"/usr/lib/amanda/amidxtaped" denied"


Kind regards again,
Christiaan de Vries

(Btw, where would I set the 'sethost' and 'settape' variables on the 
client machine permanently?)


Jean-Louis Martineau wrote:

Christiaan de Vries wrote:

Thanks for that Jean-Louis! That helped... !

Getting a bit closer to completion again. FYI: I am running the 
client now, and after some configuration issues (such as setting 
setdisk and sethost) I can finally list the back upped files on the 
server from a client connection


Unfortunately, when I try to extract the files, I receive the 
following error:

=
amrecover> add SweetSweetKisses_Final.mov
Added file /Documents/SweetSweetKisses_Final.mov
amrecover> extract

Extracting files using tape drive changer on host localhost.
The following tapes are needed: DailySet1-13

Restoring files into directory /var/log/amanda/client/DailySet1
Continue [?/Y/n]? y

Extracting files using tape drive changer on host localhost.
Load tape DailySet1-13 now
Continue [?/Y/n/s/t]? y
amrecover - can't talk to tape server: NAK: execute access to 
"/usr/lib/amanda/amidxtaped" denied

amrecover>

Why amandad can't execute? What is your xinetd config? What is the user?
What is the permission on /usr/lib/amanda/amidxtaped?








Jean-Louis




Re: Amrecover issue...

2008-12-29 Thread Jean-Louis Martineau

Christiaan de Vries wrote:

Hello all,

(After quite some time spent on initial configuration issues...)

It seems the dump works successfully, but when I try an amrecover from 
the client, I get the following error:

=
r...@chris-desktop:~# amrecover -s 10.100.100.150
AMRECOVER Version 2.5.2p1. Contacting server on 10.100.100.150 ...
NAK: user root from chris-desktop is not allowed to execute the 
service amindexd: Please add "amindexd amidxtaped" to the line in 
/var/backups/.amandahosts on the client
The message is not 100% correct, for amrecover, the line must be added 
to the .amandahosts on the server.

Add the following to the .amandahosts on the server:
 chris-desktop backup amindexd amidxtaped
The message is fixed in 2.6.1

Jean-Louis


My .amandahosts file contains:
=
r...@chris-desktop:~# cat /var/backups/.amandahosts
localhost root amindexd amidxtaped
localhost backup amdump
chris-desktop root amindexd amidxtaped
chris-desktop backup imindexd amidxtaped

The amrecover debug output:
=
amrecover: debug 1 pid 11618 ruid 0 euid 0: start at Mon Dec 29 
13:37:01 2008
Could not open conf file "/etc/amanda/amanda-client.conf": No such 
file or directory
Could not open conf file "/etc/amanda/DailySet1/amanda-client.conf": 
No such file or directory
amrecover: debug 1 pid 11618 ruid 0 euid 0: rename at Mon Dec 29 
13:37:01 2008

amrecover: time 0.000: security_getdriver(name=bsd) returns 0xb8033c00
amrecover: time 0.000: security_handleinit(handle=0x8c7ced0, 
driver=0xb8033c00 (BSD))
amrecover: time 0.001: bind_portrange2: Try  port 855: Available   - 
Success

amrecover: time 0.001: dgram_bind: socket 3 bound to ::.855
amrecover: time 0.001: dgram_send_addr(addr=0x8c7cef0, dgram=0xb8045a84)
amrecover: time 0.001: (sockaddr_in6 *)0x8c7cef0 = { 10, 10080, 
:::10.100.100.150 }

amrecover: time 0.001: dgram_send_addr: 0xb8045a84->socket = 3
amrecover: time 0.006: dgram_recv(dgram=0xb8045a84, timeout=0, 
fromaddr=0xb8055a70)
amrecover: time 0.007: (sockaddr_in6 *)0xb8055a70 = { 10, 10080, 
:::10.100.100.150 }
amrecover: time 0.007: security_close(handle=0x8c7ced0, 
driver=0xb8033c00 (BSD))


FYI: When I run a amcheck -c DailySet1 on the server, I receive the 
following output:

=
Amanda Backup Client Hosts Check

ERROR: NAK 10.100.100.160: user backup from 
dub-amanda1.dublinoffice.bfx is not allowed to execute the service 
noop: Please add "amdump" to the line in /var/backups/.amandahosts on 
the client

Client check: 1 host checked in 10.003 seconds, 1 problem found

(brought to you by Amanda 2.5.2p1)

Anybody have a clue/tips?

After the server gave me that pointer (add amdump to the .amandahosts 
file), the contents now look as follows:

=
r...@chris-desktop:~# cat  /var/backups/.amandahosts localhost root 
amindexd amidxtaped amdump

localhost backup amdump
chris-desktop root amindexd amidxtaped amdump
chris-desktop backup imindexd amidxtaped


The message clearly state that it is the host 
'dub-amanda1.dublinoffice.bfx' that try to connect, .amandahosts must be:

 dub-amanda1.dublinoffice.bfx backup amdump



Re: amrecover issue

2007-05-03 Thread anthonyh

Hi,

I'm abit confused in this part because as far as i know the amanda service
is using udp packet and the amindexd/amidxtaped are using tcp. can
everything be fitted into one context that primarily stating that its using
udp protocol?


/etc/xinit.d/amanda
 service amanda
 {
only_from   = x.com y.com
socket_type = dgram
protocol= udp
wait= yes
user= amanda
group   = disk
groups  = yes
server  = /usr/local/libexec/amandad
server_args = -auth=bsd amdump amindexd amidxtaped 
disable = no
} 
 

Thank you guys. Newbie here ...


Regards,
Anthony



Jean-Louis Martineau-2 wrote:
> 
> Check amrecover and amandad debug files.
> 
> anthonyh wrote:
>> The following are some of my config files
>> /etc/xinit.d/amanda
>> service amanda
>> {
>>only_from   = x.com y.com
>>socket_type = dgram
>>protocol= udp
>>wait= yes
>>user= amanda
>>group   = disk
>>groups  = yes
>>server  = /usr/local/libexec/amandad
>>server_args = -auth=bsd amdump amindexd
>>disable = no 
>> }
>>   
> You forgot amidxtaped
> server_args = -auth=bsd amdump amindexd amidxtaped
> You must also add an entry in .amandahosts
> 
> The following 2 services are not needed if all your client are 2.5.1.
>> /etc/xinit.d/amandaidx
>> service amandaidx
>> {   
>> only_from   = x.com y.com
>> socket_type = stream
>> protocol= tcp
>> wait= no
>> user= amanda
>> group   = disk
>> groups  = yes
>> server  = /usr/local/libexec/amindexd 
>> server_args = -auth=bsd amdump amindexd
>> disable = no
>> }
>>
>> service amidxtape
>> {   
>> only_from   = x.com y.com
>> socket_type = stream
>> protocol= tcp
>> wait= no
>> user= amanda
>> group   = disk
>> groups  = yes
>> server  = /usr/local/libexec/amidxtaped 
>> server_args = -auth=bsd amdump amidxtaped
>> disable = no
>> }
>>
>>
>> Any good Solution Guys? Thanks!
>>   
> 
> Also you tape device "/backup/amanda/dumps/tape01" is not correct,
> it should be "file:/backup/amanda/dumps/tape01"
> 
> use: setape x.com:file:/backup/amanda/dumps/tape0
> 
> Jean-Louis
> 
> 

-- 
View this message in context: 
http://www.nabble.com/amrecover-issue-tf3669327.html#a10309749
Sent from the Amanda - Users mailing list archive at Nabble.com.



Re: amrecover issue

2007-05-03 Thread dustin
On Thu, May 03, 2007 at 10:18:34AM -0700, anthonyh wrote:
> 
> Hi Guys,settape x:/backup/amanda/dumps/tape01 
> 
> Thank You for replying this mail. Well actually i'm a bit confused with the
> way the amanda recovers the data.
> 
> Is it true that the host in the command "settape
> :file:/backup/amanda/dumps/tape01" refers to the amanda tape server? 
> 
> Newbie here guys.

Yes -- that's correct.  If you're on the tape server itself, you should
use e.g.,

  localhost:file:/backup/amanda/dumps/tape01

Dustin

-- 
Dustin J. Mitchell
Storage Software Engineer, Zmanda, Inc.
http://www.zmanda.com/


Re: amrecover issue

2007-05-03 Thread anthonyh

Hi,

Actually yeah, i got it messed up a bit. Well the following is the
"Redefined output".  I'm not sure whether i did something wrong or have
forgotten some confgurations but the following is what i've done. by the way
guys is it the settape command is correct? 

settape sanback.mydomain.com:file:/backup/amanda/dumps/tape09

If i use this, the following is the error that had occur.


# amrecover DailySet1
AMRECOVER Version 2.5.1p3. Contacting server on sanback.mydomain.com ...
220 sanback AMANDA index server (2.5.1p3) ready.
Setting restore date to today (2007-05-04)
200 Working date set to 2007-05-04.
200 Config set to DailySet1.
501 Host sanback.mydomain.com is not in your disklist.
Trying host sanback.mydomain.com ...
501 Host sanback.mydomain.com is not in your disklist.
Trying host sanback ...
501 Host sanback is not in your disklist.
Use the sethost command to choose a host to recover

amrecover> sethost anthonyh.mydomain.com
200 Dump host set to anthonyh.mydomain.com.
amrecover> listdisk
200- List of disk for host anthonyh.mydomain.com
201- /boot
200 List of disk for host anthonyh.mydomain.com
amrecover> setdisk /boot
200 Disk set to /boot.
amrecover> list
amrecover> ls
2007-05-03-20-10-13 lost+found/
2007-05-03-20-10-13 grub/
2007-05-03-20-10-13 .
amrecover> add grub/
Added dir /grub/ at date 2007-05-03-20-10-13
amrecover> list
TAPE DailySet1-09:3 LEVEL 2 DATE 2007-05-03-20-10-13
/grub
amrecover> listtape
Invalid command: listtape
amrecover> listape
Invalid command: listape
amrecover> list
TAPE DailySet1-09:3 LEVEL 2 DATE 2007-05-03-20-10-13
/grub
amrecover> settape sanback.mydomain.com:file:/backup/amanda/dumps/tape09
Using tape "file:/backup/amanda/dumps/tape09" from server
sanback.mydomain.com.
amrecover> extract

Extracting files using tape drive file:/backup/amanda/dumps/tape09 on host
sanback.mydomain.com.
The following tapes are needed: DailySet1-09

Restoring files into directory /root
Continue [?/Y/n]? y

Extracting files using tape drive file:/backup/amanda/dumps/tape09 on host
sanback.mydomain.com.
Load tape DailySet1-09 now
Continue [?/Y/n/s/t]? y
warning: GNUTAR program not available.
amrecover couldn't exec: No such file or directory
 problem executing tar
Extractor child exited with status 1



Any ideas guys? Newbie here...

Regards,
Anthony



Paul Bijnens wrote:
> 
> On 2007-04-30 14:05, anthonyh wrote:
>> Hi Guys. This is my first post in this Forum. Currently i'm having some
>> issue
>> with the amrecover. Whenever i tried to execute the amrecover it executed
>> properly but till i started to extract the data it stated there "Can't
>> Talk
>> to Tape Server"
> 
> Well you edited the log to obfuscate the hostnames.
> Hoping you know what you did:
> 
> 
>> 
>> # amrecover DailySet1
>> AMRECOVER Version 2.5.1p3. Contacting server on y.com ...
>> 220 y.com AMANDA index server (2.5.1p3) ready.
> 
> So, y.com is the amanda index-server
> 
>> Setting restore date to today (2007-04-30)
>> 200 Working date set to 2007-04-30.
>> 200 Config set to DailySet1.
>> 501 Host y is not in your disklist.
>> Trying host y.com ...
> 
> And you are executing this command from y.com itself
> So client == server?
> 
>> 501 Host y.com is not in your disklist.
>> Trying host y.com ...
>> 501 Host y.com is not in your disklist.
>> Use the sethost command to choose a host to recover
>> amrecover> sethost x.com
> 
> And you want to restore something from a different host x.xom ?
> 
> 
>> 200 Dump host set to x.com
>> amrecover> setdisk /home/abamon
>> 200 Disk set to /home/abamon.
>> amrecover> list
>> amrecover> add *
>> Added file /libexec.tar.gz
>> Added file /.zshrc
>> Added file /.viminfo
>> Added dir /.ssh/ at date 2007-04-30-18-32-42
>> Added file /.mysql_history
>> Added file /.bashrc
>> Added file /.bash_profile
>> Added file /.bash_logout
>> Added file /.bash_history
>> amrecover> list
>> TAPE DailySet1-001:1 LEVEL 0 DATE 2007-04-30-18-32-42
>>/.bash_history
>>/.bash_logout
>>/.bash_profile
>>/.bashrc
>>/.mysql_history
>>/.ssh
>>/.viminfo
>>/.zshrc
>>/libexec.tar.gz
>> amrecover> settape x:/backup/amanda/dumps/tape01
>> Using tape "/backup/amanda/dumps/tape01" from server x.com
> 
> And here Amanda somehow believes that "x.com" is the tapeserver?
> I would expect "y.com" instead here.  Unless x.com is some
> tapeserver running amanda-server software too?
> 
> 
>> amrecover> extract
>> 
>> Extracting files using tape drive /backup/amanda/dumps/tape01 on host
>> x.com
>> The following tapes are needed: DailySet1-001
>> 
>> Restoring files into directory /tmp/amanda/client/DailySet1
>> Continue [?/Y/n]? y
>> 
>> Extracting files using tape drive /backup/amanda/dumps/tape01 on host
>> x.com
>> Load tape DailySet1-001 now
>> Continue [?/Y/n/s/t]? y
>> amrecover - can't talk to tape server
> 
> That's what I expect, yes.
> But I'm not 100% sure because you obfuscated the hostnames
> 
> 
> 
> -- 
> Paul Bij

Re: amrecover issue

2007-05-03 Thread anthonyh

Hi Guys,settape x:/backup/amanda/dumps/tape01 

Thank You for replying this mail. Well actually i'm a bit confused with the
way the amanda recovers the data.

Is it true that the host in the command "settape
:file:/backup/amanda/dumps/tape01" refers to the amanda tape server? 

Newbie here guys.

Regards,
Anthony


Olivier Nicole wrote:
> 
> Hi,
> 
>> Currently i'm having some issue with the amrecover. Whenever i tried
>> to execute the amrecover it executed properly but till i started to
>> extract the data it stated there "Can't Talk to Tape Server"
> 
> I would try in two directions:
> 
> 1) try to amrecover on the server itself, to some temporary directory
> 
> 2) check the firewall on your server
> 
> 
> best regards,
> 
> Olivier
> 
> 

-- 
View this message in context: 
http://www.nabble.com/amrecover-issue-tf3669327.html#a10309363
Sent from the Amanda - Users mailing list archive at Nabble.com.



Re: amrecover issue

2007-05-02 Thread Jean-Louis Martineau

Check amrecover and amandad debug files.

anthonyh wrote:

The following are some of my config files
/etc/xinit.d/amanda
service amanda
{
   only_from   = x.com y.com
   socket_type = dgram
   protocol= udp
   wait= yes
   user= amanda
   group   = disk
   groups  = yes
   server  = /usr/local/libexec/amandad
   server_args = -auth=bsd amdump amindexd
   disable = no 
}
  

You forgot amidxtaped
server_args = -auth=bsd amdump amindexd amidxtaped
You must also add an entry in .amandahosts

The following 2 services are not needed if all your client are 2.5.1.

/etc/xinit.d/amandaidx
service amandaidx
{   
only_from   = x.com y.com

socket_type = stream
protocol= tcp
wait= no
user= amanda
group   = disk
groups  = yes
server  = /usr/local/libexec/amindexd 
server_args = -auth=bsd amdump amindexd

disable = no
}

service amidxtape
{   
only_from   = x.com y.com

socket_type = stream
protocol= tcp
wait= no
user= amanda
group   = disk
groups  = yes
server  = /usr/local/libexec/amidxtaped 
server_args = -auth=bsd amdump amidxtaped

disable = no
}


Any good Solution Guys? Thanks!
  


Also you tape device "/backup/amanda/dumps/tape01" is not correct,
it should be "file:/backup/amanda/dumps/tape01"

use: setape x.com:file:/backup/amanda/dumps/tape0

Jean-Louis


Re: amrecover issue

2007-05-02 Thread Paul Bijnens
On 2007-04-30 14:05, anthonyh wrote:
> Hi Guys. This is my first post in this Forum. Currently i'm having some issue
> with the amrecover. Whenever i tried to execute the amrecover it executed
> properly but till i started to extract the data it stated there "Can't Talk
> to Tape Server"

Well you edited the log to obfuscate the hostnames.
Hoping you know what you did:


> 
> # amrecover DailySet1
> AMRECOVER Version 2.5.1p3. Contacting server on y.com ...
> 220 y.com AMANDA index server (2.5.1p3) ready.

So, y.com is the amanda index-server

> Setting restore date to today (2007-04-30)
> 200 Working date set to 2007-04-30.
> 200 Config set to DailySet1.
> 501 Host y is not in your disklist.
> Trying host y.com ...

And you are executing this command from y.com itself
So client == server?

> 501 Host y.com is not in your disklist.
> Trying host y.com ...
> 501 Host y.com is not in your disklist.
> Use the sethost command to choose a host to recover
> amrecover> sethost x.com

And you want to restore something from a different host x.xom ?


> 200 Dump host set to x.com
> amrecover> setdisk /home/abamon
> 200 Disk set to /home/abamon.
> amrecover> list
> amrecover> add *
> Added file /libexec.tar.gz
> Added file /.zshrc
> Added file /.viminfo
> Added dir /.ssh/ at date 2007-04-30-18-32-42
> Added file /.mysql_history
> Added file /.bashrc
> Added file /.bash_profile
> Added file /.bash_logout
> Added file /.bash_history
> amrecover> list
> TAPE DailySet1-001:1 LEVEL 0 DATE 2007-04-30-18-32-42
>/.bash_history
>/.bash_logout
>/.bash_profile
>/.bashrc
>/.mysql_history
>/.ssh
>/.viminfo
>/.zshrc
>/libexec.tar.gz
> amrecover> settape x:/backup/amanda/dumps/tape01
> Using tape "/backup/amanda/dumps/tape01" from server x.com

And here Amanda somehow believes that "x.com" is the tapeserver?
I would expect "y.com" instead here.  Unless x.com is some
tapeserver running amanda-server software too?


> amrecover> extract
> 
> Extracting files using tape drive /backup/amanda/dumps/tape01 on host x.com
> The following tapes are needed: DailySet1-001
> 
> Restoring files into directory /tmp/amanda/client/DailySet1
> Continue [?/Y/n]? y
> 
> Extracting files using tape drive /backup/amanda/dumps/tape01 on host x.com
> Load tape DailySet1-001 now
> Continue [?/Y/n/s/t]? y
> amrecover - can't talk to tape server

That's what I expect, yes.
But I'm not 100% sure because you obfuscated the hostnames



-- 
Paul Bijnens, xplanation Technology ServicesTel  +32 16 397.511
Technologielaan 21 bus 2, B-3001 Leuven, BELGIUMFax  +32 16 397.512
http://www.xplanation.com/  email:  [EMAIL PROTECTED]
***
* I think I've got the hang of it now:  exit, ^D, ^C, ^\, ^Z, ^Q, ^^, *
* F6, quit, ZZ, :q, :q!, M-Z, ^X^C, logoff, logout, close, bye, /bye, *
* stop, end, F3, ~., ^]c, +++ ATH, disconnect, halt,  abort,  hangup, *
* PF4, F20, ^X^X, :D::D, KJOB, F14-f-e, F8-e,  kill -1 $$,  shutdown, *
* init 0, kill -9 1, Alt-F4, Ctrl-Alt-Del, AltGr-NumLock, Stop-A, ... *
* ...  "Are you sure?"  ...   YES   ...   Phew ...   I'm out  *
***



Re: amrecover issue

2007-05-02 Thread Olivier Nicole
Hi,

> Currently i'm having some issue with the amrecover. Whenever i tried
> to execute the amrecover it executed properly but till i started to
> extract the data it stated there "Can't Talk to Tape Server"

I would try in two directions:

1) try to amrecover on the server itself, to some temporary directory

2) check the firewall on your server


best regards,

Olivier


Re: amrecover issue when I run ./configure that I believe causeing another issue down the line

2005-05-18 Thread Alexander Jolk
Chuck Amadi Systems Administrator wrote:
configure: WARNING: *** No terminal library, no history and command line
editing in amrecover!
A look into config.log is normally most appropriate in a case like this. 
 It gives you a precise indication of what it checked for, and why it 
failed.

Alex

--
Alexander Jolk / BUF Compagnie
tel +33-1 42 68 18 28 /  fax +33-1 42 68 18 29


Re: amrecover issue when I run ./configure that I believe causeing another issue down the line

2005-05-18 Thread Paul Bijnens
Chuck Amadi Systems Administrator wrote:
I have done make distclean every time I re run ./configure I am going to
pursue using the rpm's as I assume I want have an issue with readline
and readline-devel.
Fine with me.
But is there a file /usr/lib/libreadline.so.* installed?
If yes, in the file config.status (the result of ./configure) is
there a line saying:
s,@READLINE_LIBS@,-lreadline,;t t
(a sed command used to change the needed files)
--
Paul Bijnens, XplanationTel  +32 16 397.511
Technologielaan 21 bus 2, B-3001 Leuven, BELGIUMFax  +32 16 397.512
http://www.xplanation.com/  email:  [EMAIL PROTECTED]
***
* I think I've got the hang of it now:  exit, ^D, ^C, ^\, ^Z, ^Q, F6, *
* quit,  ZZ, :q, :q!,  M-Z, ^X^C,  logoff, logout, close, bye,  /bye, *
* stop, end, F3, ~., ^]c, +++ ATH, disconnect, halt,  abort,  hangup, *
* PF4, F20, ^X^X, :D::D, KJOB, F14-f-e, F8-e,  kill -1 $$,  shutdown, *
* kill -9 1,  Alt-F4,  Ctrl-Alt-Del,  AltGr-NumLock,  Stop-A,  ...*
* ...  "Are you sure?"  ...   YES   ...   Phew ...   I'm out  *
***



Re: amrecover issue when I run ./configure that I believe causeing another issue down the line

2005-05-18 Thread Chuck Amadi Systems Administrator
Hi Paul

I have done make distclean every time I re run ./configure I am going to
pursue using the rpm's as I assume I want have an issue with readline
and readline-devel.

Cheers


On Wed, 2005-05-18 at 11:05 +0200, Paul Bijnens wrote:
> Chuck Amadi Systems Administrator wrote:
> > But when I run ./configure I still get a warning about amrecover
> 
> Because configure still uses the old settings.
> Get rid of them by
> make distclean
> And then followed by a new
>./config --with-user=... ...
> 
> 



Re: amrecover issue when I run ./configure that I believe causeing another issue down the line

2005-05-18 Thread Paul Bijnens
Chuck Amadi Systems Administrator wrote:
But when I run ./configure I still get a warning about amrecover
Because configure still uses the old settings.
Get rid of them by
   make distclean
And then followed by a new
  ./config --with-user=... ...
--
Paul Bijnens, XplanationTel  +32 16 397.511
Technologielaan 21 bus 2, B-3001 Leuven, BELGIUMFax  +32 16 397.512
http://www.xplanation.com/  email:  [EMAIL PROTECTED]
***
* I think I've got the hang of it now:  exit, ^D, ^C, ^\, ^Z, ^Q, F6, *
* quit,  ZZ, :q, :q!,  M-Z, ^X^C,  logoff, logout, close, bye,  /bye, *
* stop, end, F3, ~., ^]c, +++ ATH, disconnect, halt,  abort,  hangup, *
* PF4, F20, ^X^X, :D::D, KJOB, F14-f-e, F8-e,  kill -1 $$,  shutdown, *
* kill -9 1,  Alt-F4,  Ctrl-Alt-Del,  AltGr-NumLock,  Stop-A,  ...*
* ...  "Are you sure?"  ...   YES   ...   Phew ...   I'm out  *
***



Re: amrecover issue

2001-08-06 Thread John R. Jackson

>...  I went ahead and verified the file
>in question was in the index file:
>
>[siteops@utl-atl-06 _export_home]$ zgrep sysedge.cf *
>20010731_0.gz:07330357423/./siteops/sysedge.cf
>20010805_0.gz:07331665340/./siteops/sysedge.cf
>
>ok, looks good to me!  ...

Stop right there.  Those big numbers ("07330357423") at the front of the
index files lines indicate you're using a broken version of GNU tar.
Either go back to 1.12 plus the Amanda patchs on the web page, or get
1.13.19 (or later) from alpha.gnu.org.

>Matt

John R. Jackson, Technical Software Specialist, [EMAIL PROTECTED]



Re: Amrecover issue

2001-01-13 Thread Alexandre Oliva

On Jan 10, 2001, Eric Helms <[EMAIL PROTECTED]> wrote:

> [EMAIL PROTECTED]

Wrong format.  This should be:

hostname username

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicampoliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist*Please* write to mailing lists, not to me



Re: Amrecover issue

2001-01-10 Thread John R. Jackson

>I gave up using the "default" configuration because it would always
>"default" to something that didn't exist and wouldn't change.  ...

Agreed.  I set mine during ./configure to one I know I'll never use so
I always have to explicitly enter it on commands.  Not that big a deal
since most commands require it anyway.

>DL

John R. Jackson, Technical Software Specialist, [EMAIL PROTECTED]



Re: Amrecover issue

2001-01-10 Thread David Lloyd


John et al:

> >/usr/local/amanda/sbin/amrecover -s amandaserver.mydomain.com
> 
> Are you certain the default configuration built into amrecover is the
> config you wanted to use?  Put a different way, try this:

I gave up using the "default" configuration because it would always
"default" to something that didn't exist and wouldn't change. And some
of the utilities pick it up and some of them don't. Furthermore, I don't
like to use it because in an emergency backup situation where you manage
to get AMANDA back onto the system, if you're used to typing "amdump
MYCONFIG" or wotever then you've got one less headache in the heat of
battle...

DL
-- 
The hate stands ready...
 Send forth your terror into HELL!



Re: Amrecover issue

2001-01-10 Thread John R. Jackson

>/usr/local/amanda/sbin/amrecover -s amandaserver.mydomain.com

Are you certain the default configuration built into amrecover is the
config you wanted to use?  Put a different way, try this:

  /usr/local/amanda/sbin/amrecover  -s amandaserver.mydomain.com

>I get
>AMRECOVER Version 2.4.1p1. Contacting server on
>amandaserver.mydomain.com ...
>amrecover: Unexpected server end of file.

This says amindexd quit early.  What's in /tmp/amanda/amindexd*debug
on amandaserver.mydomain.com?

>Eric Helms

John R. Jackson, Technical Software Specialist, [EMAIL PROTECTED]