
On 3/02/2013 11:38 AM, Trent W. Buck wrote:
Andrew McGlashan wrote:
On 2/02/2013 10:57 AM, Trent W. Buck wrote:
I've mostly been using mksquashfs instead of tar for the last few years, because it preserves more metadata by default, offers better compression, and the result can be treated either as an archive (unsquashfs) or a filesystem (mount). On pre-squashfs systems, it builds out of git and runs fine without installation, only needs zlib1g-dev and optionally xz-dev.
What do you lose with tar when ran as root that you don't lose with mksquashfs ?
I don't remember offhand; possibly nothing. Glancing at the manpages, sparsefiles and xattrs appear to be possibilities. Incidentally, I got burned recently by rsync -a not copying xattrs, which meant that a web server lost its cap_net_bind_service=ep and wouldn't start up.
Okay, then perhaps "rsync -aX" might have fixed your problem with the web server. This from rsync man: -X, --xattrs preserve extended attributes Now I am wondering if I should add -X option to my rsnapshot conf files. Thanks A.