Amanda-Users

RE: back up a window folder

2005-03-02 14:11:24
Subject: RE: back up a window folder
From: "Gil Naveh" <gnaveh AT cleverex DOT com>
To: "Amanda-Users" <amanda-users AT amanda DOT org>
Date: Wed, 2 Mar 2005 14:01:41 -0500
Paul thanks much for your help but the symlink did not resolve the problem.
It seems that Amanda does not read it.
When running amcheck I get the following error:

#Amanda Backup Client Hosts Check
#--------------------------------
#ERROR: solarisserver: [could not access Files/hello_Visual_folder/'
(//winserver'/Program): No such file or directory]
#Client check: 1 host checked in 1.049 seconds, 1 problem found

Any other thoughts on how to resolve it?

Gil




-----Original Message-----
From: owner-amanda-users AT amanda DOT org
[mailto:owner-amanda-users AT amanda DOT org]On Behalf Of Paul Bijnens
Sent: Wednesday, March 02, 2005 12:31 PM
To: Gil Naveh
Cc: Amanda-Users
Subject: Re: back up a window folder


Gil Naveh wrote:
>
> We have a Solaris server that runs Amanda server on it.
> I was successfully able to backup a window folder into it - using
smbclient.
> However, most of the folders I have to backup have names with spaces (aca
> C:/hello Visual folder/).

And currently you can't escape spaces in the disklist file, as you have
found out already.  Patches welcome :-)


> Any idea on how can I backup those folder? (unfortunately I can't change
the
> folder's name).
> I wrote the folder name with single quote double quote in the disklist
file.
> But it did not work and amanda complained after running amcheck: #
undefined
> dumptype `Visual'
> Is there a way to work around folder's names with spaces?

On the Solaris filesystem:
    ln -s 'hello Visual folder' hello_Visual_folder
and then put that entry in the disklist:

    the.solaris.host  /the/dir/hello_Visual_folder comp-user-tar

The trick is that gnutar does "chdir" to the toplevel directory
effectively resolving that toplevel symlink.  Any symlinks inside
a directory are NOT resolved -- but you wouldn't expect a symlink
inside a PC-folder anyway)


--
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>