How to backup samba4

Rowland Penny repenny at f2s.com
Fri Aug 24 05:15:28 MDT 2012


On 24/08/12 12:00, Marc Muehlfeld wrote:
> Am 24.08.2012 12:12, schrieb Rowland Penny:
>> Hi, this reply was succinct and to the point but really did not tell 
>> us much,
>> yes it told us that it was no good as a backup, but it did not tell 
>> us why not!
>
>
> Because you have open databases, while samba is running. See Andrews 
> answer to my initial question of this thread:
>
>
> Am 23.08.2012 22:50, schrieb Andrew Bartlett:
> >> - How do I backup samba4 (databases, etc.) while it's running?
> >
> > Use tdbbackup on each ldb file.
>
>
>
> Regards,
> Marc
>
>
Ah, oops I missed that. But how about this, use the script to backup the 
ldb files to a directory inside /usr/local/samba, then rsync 
/usr/local/samba excluding the running ldb files. Would this work?

Rowland


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the samba-technical mailing list