[Samba] Backup & Restore Samba Configuration

Josh Kelley joshkel at gmail.com
Wed Mar 15 18:02:26 GMT 2006

On 3/11/06, Stéphane Purnelle <stephane.purnelle at tiscali.be> wrote:
> Lake-Wind a écrit :
> > The motherboard in our Samba server fried. I have re-installed
> > our operating system (SUSE 10) and was wondering what is the
> > best way to restore our Samba server? Can it be as simple as
> > copying the smb.config and smbpasswd files back into the
> > /etc/samba directory? That's what I am hoping. If I just copy
> > the smb.config and the smbpasswd files back to the samba
> > directory will the machine trusts, users and passwords just
> > work? If not, what is the proper procedure for restoring.
> >
> > Thank you for your help!
> >
> > Mike
> add secrets.tdb and /etc/passwd for restoration.

Depending on the server's use, you may also need .tdb files from the
/var/lib/samba directory (or wherever SUSE keeps it).  See
http://marc.theaimsgroup.com/?l=samba&m=111148952808956&w=2 for a list
of which .tdb files are important.

Josh Kelley

More information about the samba mailing list