[Samba] How to backup my samba+ldap PDC?

Miguel Medalha miguelmedalha at sapo.pt
Fri Aug 28 19:11:07 MDT 2009


>   I have had been working in my first PDC with samba+ldap, is working
> in Centos 5.3.
>
>   Now I have been searching about how to backup this installation, for
> samba, looks like I need to backup:
>
> /etc/samba
>
>   Exist some else that I need to backup for samba?
>
>   Now, I had not been able to find something about how to backup my ldap server.
>
>    I just backup /etc/openldap and /var/lb/ldap
>
>   Or in your experienced, how to backup this settings in case that
> would need to make a restore if something happend?
>   

Read these sections of the Samba HOWTO:

http://us6.samba.org/samba/docs/man/Samba-HOWTO-Collection/install.html#tdbdocs

Managing TDB files:
http://us6.samba.org/samba/docs/man/Samba-HOWTO-Collection/tdb.html

Samba includes a tdbbackup tool.

Export your LDAP database to a LDIF file.


You can search the PDFs "Samba3-ByExample" and "Samba3-Howto".


More information about the samba mailing list