[Samba] Restore tdbbackup files?

Moray Henderson Moray.Henderson at ict-software.org
Thu Jun 14 02:51:29 MDT 2012


> -----Original Message-----
> From: Andrew Bartlett [mailto:abartlet at samba.org]
> Sent: 13 June 2012 06:35
> 
> On Wed, 2012-06-06 at 00:06 -0700, Alberto Moreno wrote:
> > Hi
> >
> >  Samba 3.5.10 centos 5.x.
> >
> >  I can backup with tdbbackup, read samba doc but haven't found how to
> > restore them?
> 
> Files created by tdbbackup are full, normal TDB files.  tdbbackup just
> does the extraction safely.  (you must never just cp a running
> database).

Remember one of the tdb files is actually a .ldb file:

/var/lib/samba/group_mapping.ldb

That caught us out once again the other week.  Are you planning to do anything about that, by the way?


Moray.
“To err is human; to purr, feline.”







More information about the samba mailing list