Amanda-Users

Re: amrestore with disk with spaces in name

2007-04-26 09:54:59
Subject: Re: amrestore with disk with spaces in name
From: "Michael Keightley" <keightleym AT gmail DOT com>
To: sgw AT amanda DOT org
Date: Thu, 26 Apr 2007 14:50:40 +0100
Tried this already:

amrecover> setdisk "/opt/test\ directory"
501 Disk myhost:"\"/opt/test\\ directory\"" is not in your disklist.

Michael

On 26/04/07, Stefan G. Weichinger <sgw AT amanda DOT org> wrote:
Michael Keightley schrieb:
> I am trying to use amrecover with with directory names in the disklist
> file which
> contain spaces.  Having no joy, e.g. with a test setup:
>
> % cat disklist
> myhost           "/opt/test directory"                comp-user-tar
>
> % amrecover testset
> AMRECOVER Version 2.5.1p3. Contacting server on myhost ...
> 220 myhost AMANDA index server (2.5.1p3) ready.
> Setting restore date to today (2007-04-26)
> 200 Working date set to 2007-04-26.
> 200 Config set to testset.
> 200 Dump host set to myhost.
> Use the setdisk command to choose dump disk to recover
>
> amrecover> listdisk
> 200- List of disk for host myhost
> 201- "/opt/test directory"
>
> mrecover> setdisk "/opt/test directory"
> 501 Disk myhost:"\"/opt/test directory\"" is not in your disklist.
>
> Any idea how to fix this?  Problem is lots of Windows folders that we want
> to add to the disklist contain spaces.

Strange name for a DLE ...

What about:

amrecover> setdisk "/opt/test\ directory"

?

sgw


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