How to backup samba4

Marc Muehlfeld Marc.Muehlfeld at
Thu Sep 6 04:35:59 MDT 2012

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


Marc Muehlfeld (IT-Leiter)
Zentrum fuer Humangenetik und Laboratoriumsmedizin
Dr. Klein, Dr. Rost und Kollegen
Lochhamer Str. 29 - D-82152 Martinsried
Telefon: +49(0)89/895578-0 - Fax: +49(0)89/895578-780

More information about the samba-technical mailing list