Amanda-Users

amrecover issue

2007-05-02 05:41:54
Subject: amrecover issue
From: anthonyh <jyho AT abamon DOT com>
To: amanda-users AT amanda DOT org
Date: Mon, 30 Apr 2007 05:05:59 -0700 (PDT)
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"

# amrecover DailySet1
AMRECOVER Version 2.5.1p3. Contacting server on y.com ...
220 y.com AMANDA index server (2.5.1p3) ready.
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 ...
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
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
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




the following is the debug file
amrecover.xxx.debug file

amrecover: debug 1 pid 2307 ruid 0 euid 0: start at Mon Apr 30 19:00:32 2007
Reading conf file "/usr/local/etc/amanda/amanda-client.conf".
Reading conf file "/usr/local/etc/amanda/DailySet1/amanda-client.conf".
amrecover: debug 1 pid 2307 ruid 0 euid 0: rename at Mon Apr 30 19:00:32
2007
security_getdriver(name=bsd) returns 0xa380e0
security_handleinit(handle=0x9af3a28, driver=0xa380e0 (BSD))
amrecover: bind_portrange2: Try  port 709: Available   - Success
amrecover: dgram_bind: socket bound to 0.0.0.0.709
amrecover: dgram_send_addr(addr=0xbff86bf0, dgram=0xa39024)
amrecover: (sockaddr_in *)0xbff86bf0 = { 2, 10080, 10.10.10.20 }
amrecover: dgram_send_addr: 0xa39024->socket = 3
amrecover: dgram_recv(dgram=0xa39024, timeout=0, fromaddr=0xa49010)
amrecover: (sockaddr_in *)0xa49010 = { 2, 10080, 10.10.10.20 }
amrecover: dgram_recv(dgram=0xa39024, timeout=0, fromaddr=0xa49010)
amrecover: (sockaddr_in *)0xa49010 = { 2, 10080, 10.10.10.20 }
amrecover: dgram_send_addr(addr=0xbff86920, dgram=0xa39024)
amrecover: (sockaddr_in *)0xbff86920 = { 2, 10080, 10.10.10.20 }
amrecover: dgram_send_addr: 0xa39024->socket = 3
security_streaminit(stream=0x9af51f8, driver=0xa380e0 (BSD))
amrecover: connect_port: Try  port 50000: Available   - 
amrecover: connected to 10.10.10.20.50036
amrecover: our side is 0.0.0.0.50000
amrecover: try_socksize: send buffer size is 65536
amrecover: try_socksize: receive buffer size is 65536
security_close(handle=0x9af3a28, driver=0xa380e0 (BSD))
add_dir_list_item: Adding "2007-04-30-18-32-42" "0" "DailySet1-001:1" "1"
"/."
add_dir_list_item: Adding "2007-04-30-18-32-42" "0" "DailySet1-001:1" "1"
"/.bash_history"
add_dir_list_item: Adding "2007-04-30-18-32-42" "0" "DailySet1-001:1" "1"
"/.bash_logout"
add_dir_list_item: Adding "2007-04-30-18-32-42" "0" "DailySet1-001:1" "1"
"/.bash_profile"
add_dir_list_item: Adding "2007-04-30-18-32-42" "0" "DailySet1-001:1" "1"
"/.bashrc"
add_dir_list_item: Adding "2007-04-30-18-32-42" "0" "DailySet1-001:1" "1"
"/.mysql_history"
add_dir_list_item: Adding "2007-04-30-18-32-42" "0" "DailySet1-001:1" "1"
"/.ssh/"
add_dir_list_item: Adding "2007-04-30-18-32-42" "0" "DailySet1-001:1" "1"
"/.viminfo"
add_dir_list_item: Adding "2007-04-30-18-32-42" "0" "DailySet1-001:1" "1"
"/.zshrc"
add_dir_list_item: Adding "2007-04-30-18-32-42" "0" "DailySet1-001:1" "1"
"/libexec.tar.gz"
add_glob (*) -> ^[^/]*$
add_file: Looking for "[^/]*[/]*$"
add_file: Converted path="([^/.]|\.[^/]+|[^/.][^/]*)[/]*$" to
path_on_disk="/([^/.]|\.[^/]+|[^/.][^/]*)[/]*$"
add_file: Pondering ditem->path=/libexec.tar.gz
add_file: (Successful) Added /libexec.tar.gz
add_file: Pondering ditem->path=/.zshrc
add_file: (Successful) Added /.zshrc
add_file: Pondering ditem->path=/.viminfo
add_file: (Successful) Added /.viminfo
add_file: Pondering ditem->path=/.ssh/
add_file: (Successful) Added dir /.ssh/ at date 2007-04-30-18-32-42
add_file: Pondering ditem->path=/.mysql_history
add_file: (Successful) Added /.mysql_history
add_file: Pondering ditem->path=/.bashrc
add_file: (Successful) Added /.bashrc
add_file: Pondering ditem->path=/.bash_profile
add_file: (Successful) Added /.bash_profile
add_file: Pondering ditem->path=/.bash_logout
add_file: (Successful) Added /.bash_logout
add_file: Pondering ditem->path=/.bash_history
add_file: (Successful) Added /.bash_history
add_file: Pondering ditem->path=/.
append_to_tapelist(tapelist=(nil), label='DailySet1-001', , file=-1,
isafile=0)
dump_tapelist(0x9b02948):
  0x9b02948->next     = (nil)
  0x9b02948->label    = DailySet1-001
  0x9b02948->isafile  = 0
  0x9b02948->numfiles = 0
  0x9b02948 count     = 1
append_to_tapelist(tapelist=0x9b02948, label='DailySet1-001', , file=1,
isafile=0)
dump_tapelist(0x9b02948):
  0x9b02948->next     = (nil)
  0x9b02948->label    = DailySet1-001
  0x9b02948->isafile  = 0
  0x9b02948->numfiles = 1
  0x9b02948->files[0] = 1
  0x9b02948 count     = 1
append_to_tapelist(tapelist=(nil), label='DailySet1-001', , file=-1,
isafile=0)
dump_tapelist(0x9b0a708):
  0x9b0a708->next     = (nil)
  0x9b0a708->label    = DailySet1-001
  0x9b0a708->isafile  = 0
  0x9b0a708->numfiles = 0
  0x9b0a708 count     = 1
append_to_tapelist(tapelist=0x9b0a708, label='DailySet1-001', , file=1,
isafile=0)
dump_tapelist(0x9b0a708):
  0x9b0a708->next     = (nil)
  0x9b0a708->label    = DailySet1-001
  0x9b0a708->isafile  = 0
  0x9b0a708->numfiles = 1
  0x9b0a708->files[0] = 1
  0x9b0a708 count     = 1
security_getdriver(name=bsd) returns 0xa380e0
security_handleinit(handle=0x9b0a738, driver=0xa380e0 (BSD))
amrecover: dgram_send_addr(addr=0xbff84250, dgram=0xa39024)
amrecover: (sockaddr_in *)0xbff84250 = { 2, 10080, 69.20.122.33 }
amrecover: dgram_send_addr: 0xa39024->socket = 3
amrecover: dgram_recv(dgram=0xa39024, timeout=0, fromaddr=0xa49010)
amrecover: (sockaddr_in *)0xa49010 = { 2, 10080, 69.20.122.33 }
security_close(handle=0x9b0a738, driver=0xa380e0 (BSD)

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 
}

/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!
-- 
View this message in context: 
http://www.nabble.com/amrecover-issue-tf3669327.html#a10252427
Sent from the Amanda - Users mailing list archive at Nabble.com.


<Prev in Thread] Current Thread [Next in Thread>