Hi,

I am using amanda-2.5.1p3 with DLEs backed up using tar. When a
directory name contains a space it does not seem possible to cd into
it to recover files.  This is a copy of the output received when
trying to change into a directory called "Directory with space".

amrecover> ls
2007-03-21 amanda-2.5.1p2.tar.gz
2007-03-21 "Directory with space/"
2007-03-21 .ssh/
amrecover> cd "Directory with space/"
Invalid directory - "Directory with space/"
amrecover> cd "Directory with space"
Invalid directory - "Directory with space"
amrecover> cd Directory with space
Invalid directory - Directory
syntax error
amrecover> cd Directory\ with\ space
"Directory\" is not a valid shell wildcard pattern: trailing backslash (\)
syntax error

It is possible to add and extract the directory. This makes the
problem inconvenient rather than crippling.

amrecover> add "Directory with space"
Added dir "/atn/Directory with space/" at date 2007-03-21
amrecover> extract

Extracting files using tape drive /dev/nst0 on host backup-01.fhs.local.
The following tapes are needed: Archive02-002

Restoring files into directory /var/spool/amanda/tmp
Continue [?/Y/n]? Y

Extracting files using tape drive /dev/nst0 on host backup-01.fhs.local.
Load tape Archive02-002 now
Continue [?/Y/n/s/t]? Y

Does anyone have any pointers as to where to start looking to fix this issue.

Thanks
Steve Atkinson

--
Deputy Network Manager
Fallibroome High School
UK.

Reply via email to