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

Steve Langasek vorlon at debian.org
Tue Aug 12 13:21:56 UTC 2008


On Tue, Aug 12, 2008 at 01:32:01AM +0200, Noèl Köthe wrote:

> after reading #385254 and
> http://us1.samba.org/samba/docs/man/Samba-HOWTO-Collection/msdfs.html
> "...
> Those who package Samba for commercial distribution with operating
> systems and appliances would do well to take note that tdb files can get
> corrupted, and for this reason ought to be backed up regularly.
> ..." and
> "The tdbbackup utility can safely be run at any time."

> I think we do not loose anythink if we add the something like the
> suggested "cd /var/lib/samba;tdbbackup *.tdb" to debian/samba.cron.daily

> What do you think?

I remain of the opinion that packages should not be in the business
individually of creating backups of any sort.  I haven't found tdb files to
be any more fragile, in recent years, than any other binary database, and I
don't see this kind of backup configuration in other packages.

-- 
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