SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
Mac OSX metadata and rsnapshot
Author Message
Post Mac OSX metadata and rsnapshot 
I guess this is really an rsync question, but I'm subjecting you guys
to it anyway.

Is anybody using rsnapshot with Macs or especially mixed Mac/Linux units?
Have you patched rsync to make it work?
I've seen various comments about rsync issues on Mac, and I've gone so
far as to patch rsync as suggested here http://www.lartmaker.nl/rsync/
which seems to work ok, but if that's such a great patch why isn't it
in the newer versions rsync?
-E is 'preserve executable' on the latest man page....

It looks like the perfect solution to add my Macs to my rsnapshot
pool, but I'm wondering why it isn't done already by the guys at
rsync.

Comments appreciated
Brian

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss

Post Mac OSX metadata and rsnapshot 
Hello Brian,

I'm using rsnapshot in a mixed environment; backup server is a NSLU running an embedded Linux which
makes backups of its own harddrive and from a drive from my mac which is mounted via NFS. So I'm using
a version of gnu rsync running on the NSLU.

I have not patched rsync. But to be honest: I didn't know that I have to patch it? I'm backing up
only documents and no applications; and up to now I didn't encounter any problems with files from the
backup.

Okay. so I did i miss something very important???

Regards
Michael.


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss

Post Mac OSX metadata and rsnapshot 
Darn it - bit by the 'reply-to set opposite to _my_ brain bug'
I sent this privately but meant it for the list....

On 28/06/06, Brian McKee <brian.mckee < at > gmail.com> wrote:
On 27/06/06, Michael Homscheidt <Michael.Homscheidt < at > eurocopter.com> wrote:
Hello Brian,
I'm using rsnapshot in a mixed environment; backup server is a NSLU running an embedded Linux which
makes backups of its own harddrive and from a drive from my mac which is mounted via NFS. So I'm using
a version of gnu rsync running on the NSLU.

I have not patched rsync. But to be honest: I didn't know that I have to patch it? I'm backing up
only documents and no applications; and up to now I didn't encounter any problems with files from the
backup.

Okay. so I did i miss something very important???

Regards
Michael.

Well, the metadata is kinda optional in most (but not all ?) cases for OSX.
OS9 and older it's required.

The couple of things I know are stored in there are are optional
program associations and
non standard icons.

For example, if your Mac uses Preview as the default application for
pdf files, and you take one
paticular pdf file and set it to always open with Acrobat Reader,
then that special condition is
handled in that metadata. The icon switches to the Adobe red and
white from the Mac blue white and black, and that file only will open
with Reader from now on.

If you use a pre-Tiger version of cp, or tar, ditto without the -rsrc
flag or rsync to move it, then it looses that special association.

The document is intact, but the metadata is gone.

With Tiger, Apple make cp, tar and rsync 'metadata friendly'
If you cp to a non-Apple file system, it creates ._files to hold that
info, and then if you
copy back it 'reassembles' them. Tar works similarly.

Take a look at this Apple doc for more info
http://developer.apple.com/macosx/backuponmacosx.html

But, as I understand it, 'rsync via ssh' or an 'rsync to an rsync
daemon' transfer
requires both ends to understand metadata.
Rsync to a mounted file system (network or not) only needs the one
version of rsync to understand what's going on.

To add to the confusion, rsync Tiger style is reportedly 'buggy' and
occasionally bombs out
See http://www.lartmaker.nl/rsync/ and various comments elsewhere.

If you run rsnapshot on a Tiger Mac, to a Tiger Mac or mounted file
system then your data should be ok unless you are obviously seeing
crashes. I suspect lots of files will get recopied when they haven't
actually changed though.

If I were you I'd set some test files to different associations and
back them up normally, then restore them and see if the icon change
and file association is still there...

I'm having a hard time getting unattendended reliable backups of our
Macs - psync recopies unneccessary files and there's many versions
floating around, ditto seems to choke on any file with a colon in the
name, and even my patched rsyncs seem to recopy too much when not
required. SilverKeeper and SuperDuper require the machine to be
logged on and the GUI running. Retrospect has lost data on me before
and I just don't trust it anymore...

I'd really love some comments from others doing the same things.

Brian


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss

Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB