[Samba] samba_backup script

Rowland Penny rowlandpenny at googlemail.com
Mon Aug 18 14:06:25 MDT 2014


On 18/08/14 21:01, Marc Muehlfeld wrote:
> Am 18.08.2014 21:51, schrieb Rowland Penny:
>>> This isn't necessary. The script used tdbbackup to hot-backup the ldb
>>> files during runtime. This generates *.ldb.bak files. And a later
>>> find command excludes the *.ldb files (which may be inconsistent
>>> because not exported via tdbbackup first) when doing tar.
>> In which case, this (on the Backup & recovery page) needs to be altered.
>>
>> If plan to modify the 'samba_backup' script or create an own solution,
>> you'll find here some usefull information:
>>
>>   * You must never copy a running database!
> I'm not sure what should be changed. Didn't these two lines express the
> above?
>
> * You must never copy a running database!
> * *.ldb and *.tdb files can be backed-up online with 'tdbbackup'
>
>
How about:

* Whilst you must never copy a running database, you can backup *.ldb & 
*.tdb files online with 'tdbbackup'

I read it that you must stop samba before doing the backup.

Rowland

>
>> Also whilst we are mentioning it, there is no such English word as
>> 'backuped', it should be 'backed-up' ;-)
> Changed. Thanks.
>
>
> Regards,
> Marc



More information about the samba mailing list