Amanda-Users

Re: spaces in share/directory names

2005-01-11 10:12:36
Subject: Re: spaces in share/directory names
From: Paul Bijnens <paul.bijnens AT xplanation DOT com>
To: Filip Rembiałkowski <filip AT kolmet.com DOT pl>
Date: Tue, 11 Jan 2005 16:02:10 +0100
Filip Rembiałkowski wrote:

I've started using Amanda instead of prioprietary software to backup whole NT domain.

I'd like to have disklist entries with spaces, like:
smbhost    "//WKS001/C$/Program Files/Filthy App"    nocomp-user-smbtar


Is it possible? I heard that recent versions of Samba accept share/directory names with spaces. What about Amanda?
If it must be hacked, could anybody point me where to start?

Two possibilities; both not very confortable...

1. Hack the amanda code.  The problem here is that a lot of places
   in the amanda source asume "whitespace separated fields", and
   in those routines there is no provision to protect spaces (with
   quotes, with backslashes, etc.)  Changing it should take into
   consideration that you should stay compatible with older clients
   (even in the protocol to exchange information between server
   and client, there is this problem).

2. Most people that stumbled on this problem, opted for the easier
   workaround:  create a new share name without spaces.

Actually, I implemented a third way (as far as possible), to mitigate
the not optimal support for windows machines in amanda:
migrate as much as possible from Windows servers to Samba servers.


PS. Making a backup of the program files is usually not enough in MS
    Windows; you also need the relevant settings in the registry.
    And those settings could be dependent on e.g. the order in which
    you install programs!  Very messy...  I limit my backups on Windows
    machines to data-files only.

PPS.  I'm not an MS Windows specialist.


--
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:  Paul.Bijnens AT xplanation DOT com
***********************************************************************
* 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          *
***********************************************************************



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