[Pkg-samba-maint] daily backup of tdb files with tdbbackup

Steve Langasek vorlon at debian.org
Thu Aug 14 23:15:31 UTC 2008


On Thu, Aug 14, 2008 at 11:46:32PM +0200, Noèl Köthe wrote:
> Am Dienstag, den 12.08.2008, 19:50 -0300 schrieb Steve Langasek:

> > > IMHO the user/admin isn't aware of this. They run a backup of /var which
> > > might be not enough.
> > > It doesn't cost us anything and might help sometimes.

> > Why would a backup of /var not be sufficient, given that this is where the
> > tdb files are stored, and how would creating tdbbackups also under /var
> > help?

> tdbs are open binary files which are open by the n|smbd and there maybe
> cases where they aren't consistent on the harddisk when you backup /var.
> Its the same with openldap (Backup: slapcat) and postgresql (Backup
> pg_dumpall).
> If I'm wrong with this then I agree it doesn't make sense.

Hmm, I don't /think/ a tdb is supposed to be able to get into an
inconsistent state on disk...  I agree that this would at least be a good
reason, but I don't think we have evidence currently that this is needed
(it's not the argument originally presented).

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slangasek at ubuntu.com                                     vorlon at debian.org



More information about the Pkg-samba-maint mailing list