this is what I do on my day off???
Aug. 9th, 2020 03:29 pm![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
To preserve my sanity and keep from burning out I intend to try to wall off my weekends and avoid doing work on actual work for my actual employer.
So today is to be devoted to life-maintenance tasks, right?
One of those is to make sure that home computers are backed up. I have a script I wrote years ago that invokes rsync. Apple keeps making this challenging to maintain.
It's pissing me off that when rsync is backing up the Macs with the newer versions of the OS, it seems to think that for every file I've ever created, there's a companion file with the same name prefixed with ._. And these companion files are never ever up to date on the backup drive, are they, rsync? You feel the need to back up every darn single one of them. Every time. I'm sure that the ._ files are bullshit so I tried adding this to the --exclude-from file:
- ._*
Nope, that doesn't change anything. But do these files even exist? Typing ls -la doesn't show them on the client machine. What the heck? Google research reveals that these are the metadata-- what we would've called the resource fork in the day. I'm sure these are bullshit, so I should try running rsync without the -E option.
Bigger problem, potentially: when it's backing up the computer that just got upgraded to Catalina I get this:
rsync: opendir "/Users/alex/Documents" failed: Operation not permitted (1)
etc. For my home folder Documents, Desktop, and some other places. In other words, exactly where there's likely to be files that I do, in fact, want to back up.
I'm trying to follow the advice here https://developer.apple.com/forums/thread/126497?answerId=396749022#396749022 but rsync doesn't show up as something begging for admission in System Preferences. Nor does anything that might be plausibly starting rsync, which might be launchd or launchctl. Tried adding /usr/bin/rsync to the list in System Preferences; let's see if that works.
I cannot attach a Time Machine backup drive to every computer in the house. Somehow I do not regard that as acceptable. So I do want to continue using rsync over the network. Has Apple finally created a show-stopper? Unless I change my ways a bit, and stop storing files of long-term significance in ~/Desktop or ~/Documents (~/ is unaffected by this). In other words, totally go against the grain of what Apple expects me to do-- rather than store ALL important documents in ~/Documents, store NONE of them there. Hmm.
...yeah this is an adequate change of mental scenery from what I'll start doing on Monday, riiiiight...
So today is to be devoted to life-maintenance tasks, right?
One of those is to make sure that home computers are backed up. I have a script I wrote years ago that invokes rsync. Apple keeps making this challenging to maintain.
It's pissing me off that when rsync is backing up the Macs with the newer versions of the OS, it seems to think that for every file I've ever created, there's a companion file with the same name prefixed with ._. And these companion files are never ever up to date on the backup drive, are they, rsync? You feel the need to back up every darn single one of them. Every time. I'm sure that the ._ files are bullshit so I tried adding this to the --exclude-from file:
- ._*
Nope, that doesn't change anything. But do these files even exist? Typing ls -la doesn't show them on the client machine. What the heck? Google research reveals that these are the metadata-- what we would've called the resource fork in the day. I'm sure these are bullshit, so I should try running rsync without the -E option.
Bigger problem, potentially: when it's backing up the computer that just got upgraded to Catalina I get this:
rsync: opendir "/Users/alex/Documents" failed: Operation not permitted (1)
etc. For my home folder Documents, Desktop, and some other places. In other words, exactly where there's likely to be files that I do, in fact, want to back up.
I'm trying to follow the advice here https://developer.apple.com/forums/thread/126497?answerId=396749022#396749022 but rsync doesn't show up as something begging for admission in System Preferences. Nor does anything that might be plausibly starting rsync, which might be launchd or launchctl. Tried adding /usr/bin/rsync to the list in System Preferences; let's see if that works.
I cannot attach a Time Machine backup drive to every computer in the house. Somehow I do not regard that as acceptable. So I do want to continue using rsync over the network. Has Apple finally created a show-stopper? Unless I change my ways a bit, and stop storing files of long-term significance in ~/Desktop or ~/Documents (~/ is unaffected by this). In other words, totally go against the grain of what Apple expects me to do-- rather than store ALL important documents in ~/Documents, store NONE of them there. Hmm.
...yeah this is an adequate change of mental scenery from what I'll start doing on Monday, riiiiight...