I am having difficulty in my attempt to copy samba tdb files to a backup server for failover purposes. I am currently doing this manually but would like to eventually use rsync... The problem is that when i copy the various /samba/var/locks/*.tdb files to the faliover server the driver information is not available when the backup takes over - any attempt to dl drivers from the second server fail - checking properties on the printer via NT shows no drivers available. I can re-add the drivers and everything proceeds normally. Once this is done there are no problems with swithcing between the two servers. My ? is: Which tdb's and/or other files are needed to successfully port a server configuration to a second server for failover purposes [which require all drivers to be available as soon as the failover is complete..] ? I am currently copying: /samba/printers/* [the drivers] /samba/private/MACHINE.SID /samba/var/locks/ntdrivers.tdb /samba/var/locks/ntforms.tdb /samba/var/locks/ntprinters.tdb /samba/var/locks/printing.tdb and others [printcap, smb.conf, hosts, smbpass, ....] file permissions are preserved... the drivers are the big deal right now. Anyone have suggestions? any and all input is apprectiated. BTW: Samba 2.2.3-pre w/o winbind on RH-VALE 6.2.4 paul
Gerald (Jerry) Carter
2001-Oct-31 06:36 UTC
moving samba driver config files to backup server...
On Thu, 25 Oct 2001, Paul Sanders wrote:> I am currently copying: > /samba/printers/* [the drivers] > /samba/private/MACHINE.SID > /samba/var/locks/ntdrivers.tdb > /samba/var/locks/ntforms.tdb > /samba/var/locks/ntprinters.tdb > /samba/var/locks/printing.tdb > and others [printcap, smb.conf, hosts, smbpass, ....]What is the error? Have you check the smbd logs? cheers, jerry --------------------------------------------------------------------- www.samba.org SAMBA Team jerry_at_samba.org www.plainjoe.org jerry_at_plainjoe.org --"I never saved anything for the swim back." Ethan Hawk in Gattaca--