RE: please, help with samba/windows setup
2004-07-08 10:22:47
A few things I would check:
*) Since you area already part of a domain, your amandapass does not require
the third field that specifies the workgroup.
*) Your disklist specifies nocomp-user-gnutar as the backup method. What is
listed in there?
*) check out the errors logs in /tmp/amanda. It might help highlight a few
issues with the backup errors.
*) The packages that you are using are fairly old. You might want to try
upgrading them as the updated package might contain fixes relevant to your
problem.
I am able to successfully backup windows2000 systems using amanda on a redhat
box, so I do know that this works. It has nothing to do with your linux box
needing to be a PDC. So long as your linux box is a member of the domain, you
should be okay.
-Rob
> -----Original Message-----
> From: owner-amanda-users AT amanda DOT org
> [mailto:owner-amanda-users AT amanda DOT org]
> Sent: Thursday, July 08, 2004 9:34 AM
> To: amanda-users AT amanda DOT org
> Subject: please, help with samba/windows setup
>
>
> Hi there !
>
> I am having trouble to setup amanda to backup shares from a
> Windows 2000 server. I am not sure this is possible, (I suspect is
> not), so I am writing to get a confirmation that this is impossible
> and ask for suggestions to backup the windows 2000 shares.
>
> The PDC is a windows 2000 machine. it's NetBIOS name is
> kgbserver. The shares that I want to backup are named
> "//kgbserver/Others" and "//kgbserver/Docs".
>
> The amanda server is a RH9.0, with samba configured as
> security=DOMAIN . The samba NetBIOS name is KGBSERVER2.
>
> This is why I think this could be a problem. The samba
> server is not the PDC for that domain. It is just a client for that
> domain. This makes any sense ?
>
> In the disklist file I put the following lines for the
> shares I want to backup:
>
> kgbserver2 //kgbserver/Others nocomp-user-gnutar
> kgbserver2 //kgbserver/Docs nocomp-user-gnutar
>
> The file /etc/amandapass was configured with the
> Administrator and password for the Windows machine:
>
> //kgbserver/Others administrator%ajjj882 KGB
> //kgbserver/Docs administrator%ajjj882 KGB
>
>
> On the amanda server (RH9.0) I can browse the Windows 2000's
> shares with smbclient, for example:
>
> # smbclient -L //kgbserver -U administrator%ajjj882 -W KGB
> added interface ip=192.168.155.202 bcast=192.168.155.255
> nmask=255.255.255.0
> Domain=[KGB] OS=[Windows 5.0] Server=[Windows 2000 LAN Manager]
>
> Sharename Type Comment
> --------- ---- -------
>
> ...etc... and browsing a specific share:
>
> # smbclient //kgbserver/Others -U administrator%ajjj882 -W KGB
> added interface ip=192.168.155.202 bcast=192.168.155.255
> nmask=255.255.255.0
> Domain=[KGB] OS=[Windows 5.0] Server=[Windows 2000 LAN Manager]
> smb: \> ls
> . D 0 Fri Jun 25
> 14:46:26 2004
> .. D 0 Fri Jun 25
> 14:46:26 2004
> ENVELOPES D 0 Thu Feb 28
> 15:02:23 2002
>
> ...etc....
>
> ...and even smbtar work fine:
>
> # cd /tmp
> # smbtar -s kgbserver -u administrator%ajjj882 -x Others -t
> others.tar
> # tar -tvf others.tar
> ...etc...
>
> ...and amcheck works fine too:
>
> # /bin/su - amanda -c "/usr/sbin/amcheck -c DialySet1"
>
> Amanda Backup Client Hosts Check
> --------------------------------
> Client check: 2 hosts checked in 10.682 seconds, 0 problems found
>
> (brought to you by Amanda 2.4.3)
>
>
> The amdump fail with the following message:
>
> FAILURE AND STRANGE DUMP SUMMARY:
> planner: ERROR Request to kgbserver2 timed out.
>
> .... and from DUMP summary:
>
> DUMP SUMMARY:
> DUMPER STATS TAPER
> STATS
> HOSTNAME DISK L ORIG-KB OUT-KB COMP% MMM:SS KB/s MMM:SS
> KB/s
> -------------------------- ---------------------------------
> ------------
> kgbserver2 -ver/Others MISSING
> --------------------------------------
> kgbserver2 -erver/Docs MISSING
> --------------------------------------
>
> Is this setup really impossible ?
> As last resort, I configured Amanda to backup the mount
> point "/mnt/kgbserver/Others" and "/mnt/kgbserver/Docs" from the
> machine kgbserver2.
>
> These mount points are mounted at boot time via /etc/fstab using
> smbfs.
>
> Is there another better solution ?
>
> I will appreciated any ideas and comments.
>
> thank you gurus in advance,
>
> Amanda server: RH9.0, running 2.4.20-30.9.
> amanda version: 2.4.3-4 (from the rpm package)
> samba version: 2.2.7a release 8.9.0 (from the rpm package)
>
> --
> Miguel Angelo Rozsas
> K3M Consultoria
> 19 3232 8886
>
> ---------------------------------------------------------------
> Esta mensagem foi verificada pelo e-mail seguro Maxiweb.
> McAfee VirusScan / Vacina v4374 atualizada em 07/07/2004
> powered by wstation (www.wstation.com.br)
>
|
|
|