Action Jackson wrote:

I am trying to backup a directory with a space in its name, however, amanda doesn't seem to like it in the disklist.

For example, my disklist entry looks like:

mycomputer    /export/dir_with_a space  myconfig

When I run an amcheck, I get:

ERROR: mycomputer: [BOGUS REQUEST PACKET]

I've tried:

mycomputer    '/export/dir_with_a space'  myconfig
mycomputer    "/export/dir_with_a space"  myconfig
mycomputer    /export/dir_with_a\ space  myconfig

all with similar results.

Any ideas?


That's a known limitation of the current implementation.

But there's an easy workaround:  create a symlink on the
client without spaces (if you can't rename the directory).

  ln -s 'dir_with_a space' dirWithoutSpaces

and put the symlink in the disklist.

Note: only this top symlink is resolved, symlink inside the
directory tree are not resolved in the backup image.


-- Paul Bijnens, Xplanation Tel +32 16 397.511 Technologielaan 21 bus 2, B-3001 Leuven, BELGIUM Fax +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 * ***********************************************************************

Reply via email to