[Samba] Backing up tdb files

Nick Howitt nick at howitts.co.uk
Fri Dec 6 09:03:41 UTC 2019



On 06/12/2019 08:29, Marco Gaiarin via samba wrote:
> Mandi! Rowland penny via samba
>    In chel di` si favelave...
>
>> Then you only need to backup your smb.conf and your LDAP, the tdb files will
>> be recreated from ldap.
> AFAIK minus:
>
> a) 'smbpasswd -w', samba need to know how to access OpenLDAP. ;-)
>
> b) rights ('net rpc rights').
>
> c) printers (per se, but in particular printer drivers), if you use it
>
> d) policy ('pdbedit -P'), but these can be esported to LDAP, i don't
>   know if they are automatically 'reimported'...
>
Please can you elaborate? Which files/folders do you need for a, b and 
d? secrets.tdb? share_info.tdb? account_policy.tdb? (guessing here by 
looking at the descriptions in my samba3 Wiki link).




More information about the samba mailing list