der2of6
February 12th, 2007, 01:18 PM
Hello,
I'm using amanda to backup a CentOS 4.4 fileserver for windows clients.
(Amanda Version 2.5.1p3-1)
Today I tested the recovery and found a problem.
I can't resore folders with a space.
Here a example:
###
#amrecover weekly
#amrecover> setdisk /archiv
# ls
...
2007-02-11 "My Pictures/"
...
#cd "My Pictures"
Invalid directory - "My Pictures"
#####
Where is the problem?
With amanda version 2.4 it works fine.
I hope someone can help me.
thy
der2of6
martineau
February 12th, 2007, 03:28 PM
Could you post the complete amrecover.<timestamp>.debug file
der2of6
February 13th, 2007, 02:00 AM
amrecover: debug 1 pid 5381 ruid 0 euid 0: start at Tue Feb 13 10:55:10 2007
Could not open conf file "/etc/amanda/amanda-client.conf": No such file or directory
Could not open conf file "/etc/amanda/weekly/amanda-client.conf": No such file or directory
amrecover: debug 1 pid 5381 ruid 0 euid 0: rename at Tue Feb 13 10:55:10 2007
security_getdriver(name=bsd) returns 0x3ae0e0
security_handleinit(handle=0x97ccb20, driver=0x3ae0e0 (BSD))
amrecover: bind_portrange2: Skip port 515: Owned by printer.
amrecover: bind_portrange2: Try port 516: Available - Success
amrecover: dgram_bind: socket bound to 0.0.0.0.516
amrecover: dgram_send_addr(addr=0xbfe16850, dgram=0x3af084)
amrecover: (sockaddr_in *)0xbfe16850 = { 2, 10080, 127.0.0.1 }
amrecover: dgram_send_addr: 0x3af084->socket = 3
amrecover: dgram_recv(dgram=0x3af084, timeout=0, fromaddr=0x3bf070)
amrecover: (sockaddr_in *)0x3bf070 = { 2, 10080, 127.0.0.1 }
amrecover: dgram_recv(dgram=0x3af084, timeout=0, fromaddr=0x3bf070)
amrecover: (sockaddr_in *)0x3bf070 = { 2, 10080, 127.0.0.1 }
amrecover: dgram_send_addr(addr=0xbfe16560, dgram=0x3af084)
amrecover: (sockaddr_in *)0xbfe16560 = { 2, 10080, 127.0.0.1 }
amrecover: dgram_send_addr: 0x3af084->socket = 3
security_streaminit(stream=0x97cf768, driver=0x3ae0e0 (BSD))
amrecover: connect_port: Try port 1025: Available -
amrecover: connected to 127.0.0.1.45811
amrecover: our side is 0.0.0.0.1025
amrecover: try_socksize: send buffer size is 65536
amrecover: try_socksize: receive buffer size is 65536
security_close(handle=0x97ccb20, driver=0x3ae0e0 (BSD))
...
add_dir_list_item: Adding "2007-02-11" "1" "weekly-15:1" "1" "/My Pictures/"
...
cd_glob ("My Pictures") -> ^"My Pictures"$
cd_glob (Â) -> ^Â$
thend i stopped the process with ctrl + c
martineau
February 13th, 2007, 04:44 AM
You are right, there is a problem with the use of double quote.
Try to use wildcard:
cd My*Pictures
der2of6
February 13th, 2007, 05:48 AM
Thx, it works :)