[Pkg-samba-maint] Bug#473651: Bug#473651: [samba] Add a regular backup of .tdb files

Christian Perrier bubulle at debian.org
Tue Apr 1 05:28:55 UTC 2008


Quoting Gilles Mocellin (gilles.mocellin at free.fr):
> Package: samba
> Version: 3.0.28a-1
> Severity: minor
> 
> --- Please enter the report below this line. ---
> I recently had a corrupted /var/lib/samba/winbind_idmap.tdb file.
> It was not cool to recover.
> 
> I saw a crontab file for (/etc/cron.daily/samba) which backups the smbpasswd 
> file.
> 
> It could also make a tdbbackup of all files in /var/lib/samba 
> and /var/cache/samba.
> 
> It's harmless. Can be run online. And really helpfull in case of corruption.

Well, I agree that losing Winbind's ID mapping database is certainly
not cool at all. 

I actually expect every experienced samba admin to backup that file
and some others (I'd actually recommend backing up the entire
/var/lib/samba directory) but at least helping the less experienced
admin could be a good idea. After all, I still remember the days when
I started using winbind and was ignorant about the importance of ID
mapping.

Other maintainers, objections about a daily cron job for winbind to
backup this file ?

Any ideas about other files important enough to be copied and waste
some space in /var/backups ?


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-samba-maint/attachments/20080401/5ede88a4/attachment.pgp 


More information about the Pkg-samba-maint mailing list