off topic: tar --xattr

View: New views
3 Messages — Rating Filter:   Alert me  

off topic: tar --xattr

by Pim Zandbergen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'm using calendarserver on Ubuntu Intrepid because that sort of works
out of the box.

I was trying to make a backup of /var/spool/caldavd, preserving the extended
attributes, when discovering that Ubuntu's tar does not have a --xattr
switch.

The same version of tar on my Fedora boxes do support that. Is that a Fedora
extension, or an Ubuntu omission? What do Ubuntu people use to backup
files with extended attributes?

Thanks,
Pim

_______________________________________________
calendarserver-users mailing list
calendarserver-users@...
http://lists.macosforge.org/mailman/listinfo.cgi/calendarserver-users

Re: off topic: tar --xattr

by Stroller :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On 28 May 2009, at 20:23, Pim Zandbergen wrote:

> ...
> I was trying to make a backup of /var/spool/caldavd, preserving the  
> extended
> attributes, when discovering that Ubuntu's tar does not have a --
> xattr switch.
>
> The same version of tar on my Fedora boxes do support that. Is that  
> a Fedora
> extension, or an Ubuntu omission? What do Ubuntu people use to backup
> files with extended attributes?

If you run `tar --version` you'll probably find both machines are  
running GNU tar.

I suspect that GNU tar supports extended attributes at source, but  
enabling it may be optional at compile time and that Ubuntu have  
chosen not to enable it when they built the package. Ubuntu may have a  
separate tar-xattr package that contains an enabled-binary, or you may  
be able to obtain one from a different source. Worst case is that  
you'll have to compile it yourself (download the gzipped tar from <http://www.gnu.org/software/tar/ 
 >, untar it, then uninstall Ubuntu's tar using synaptic or whatever).

Suggest you search the notoriously helpful Ubuntu forums for "tar  
extended attributes xattr" and see what others suggest.

Stroller.
_______________________________________________
calendarserver-users mailing list
calendarserver-users@...
http://lists.macosforge.org/mailman/listinfo.cgi/calendarserver-users

Re: off topic: tar --xattr

by Pim Zandbergen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Stroller wrote:

>
> If you run `tar --version` you'll probably find both machines are
> running GNU tar.
>
> I suspect that GNU tar supports extended attributes at source, but
> enabling it may be optional at compile time and that Ubuntu have
> chosen not to enable it when they built the package. Ubuntu may have a
> separate tar-xattr package that contains an enabled-binary, or you may
> be able to obtain one from a different source. Worst case is that
> you'll have to compile it yourself (download the gzipped tar from
> <http://www.gnu.org/software/tar/>, untar it, then uninstall Ubuntu's
> tar using synaptic or whatever).
>
> Suggest you search the notoriously helpful Ubuntu forums for "tar
> extended attributes xattr" and see what others suggest.
>

Thanks,

Found out that it is a Fedora/Red Hat extension, which is on the
wishlist for Debian:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=451932

I also requested the Fedora people to include DCS.
It appears they do want a calendar server in Fedora 12
https://fedorahosted.org/fedora-infrastructure/ticket/1197

Let's see who is first to have both DCS and tar --xattr :-)

Thanks,
Pim

_______________________________________________
calendarserver-users mailing list
calendarserver-users@...
http://lists.macosforge.org/mailman/listinfo.cgi/calendarserver-users