How to backup samba4

Rowland Penny repenny at
Thu Sep 6 04:59:45 MDT 2012

On 06/09/12 11:35, Marc Muehlfeld wrote:
> Am 23.08.2012 22:50, schrieb Andrew Bartlett:
>>  There is actually already a script for this:
>> source4/scripting/bin/samba_backup
> I played around with this script today and want to make a small, but I 
> think important, suggestion on it:
> Adding '--xattrs' to the two 'tar' commands in the script would 
> include the extended attributes in the archive. Otherwise they get 
> lost, what could be problematic when restoring.
> I'm not sure, when --xattrs was added to tar, but I checked it's 
> manpages on RHEL6.2 (supported), RHEL5.4 (supported) and RHEL4.9 (not 
> supported).
> Regards,
> Marc
> buntu
Hi, this would seem to be okay for RHEL & clones, but Ubuntu 12.04's 
version of tar seems to know nothing about --xattrs


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