Re: Getting Amanda (3.5.1) to run properly under MacOSX 10.15
At Sat, 10 Jun 2023 08:25:45 -0600 Orion Poplawski wrote: > > On 6/10/23 06:13, Robert Heller wrote: > > At Fri, 9 Jun 2023 23:35:23 -0400 Deb Baddorf > > wrote: > > > >> > >> ÃÂïÃÂûÃÂÿTime Machine is built into current Mac OSes. It > >> wants its own disk, which should be a bit (or a lot) bigger than the one > >> you are backing up. I donÃÂâÃÂâ¬ÃÂâ¢t think it can > >> backup to another machine. It works well, since > >> itÃÂâÃÂâ¬ÃÂâ¢s baked in. > > > > This does me no good. I don't have any way of adding a second disk to this > > machine (and I don't really want to). All of my other backups go to a > > "server" > > (my main desktop machine) and the fulls get uploaded to off-site storage > > (Amazon Glacier). > > > > As myself and others have said, Time Machine can backup to network > volumes, either Apple (netatalk) or CIFS (samba). And I really would not have to deal with either netatalk or samba, ESP. for a one-of (both are something of a pain-in-the-ass to set up). (Actually, MacOSX can *also* do NFS, which is a *native* UNIX/Linux network file sharing protocol.) > -- Robert Heller -- Cell: 413-658-7953 GV: 978-633-5364 Deepwoods Software-- Custom Software Services http://www.deepsoft.com/ -- Linux Administration Services hel...@deepsoft.com -- Webhosting Services
Re: Getting Amanda (3.5.1) to run properly under MacOSX 10.15
On 6/10/23 06:13, Robert Heller wrote: At Fri, 9 Jun 2023 23:35:23 -0400 Deb Baddorf wrote: Time Machine is built into current Mac OSes. It wants its own disk, which should be a bit (or a lot) bigger than the one you are backing up. I don’t think it can backup to another machine. It works well, since it’s baked in. This does me no good. I don't have any way of adding a second disk to this machine (and I don't really want to). All of my other backups go to a "server" (my main desktop machine) and the fulls get uploaded to off-site storage (Amazon Glacier). As myself and others have said, Time Machine can backup to network volumes, either Apple (netatalk) or CIFS (samba). -- Orion Poplawski he/him/his - surely the least important thing about me IT Systems Manager 720-772-5637 NWRA, Boulder/CoRA Office FAX: 303-415-9702 3380 Mitchell Lane or...@nwra.com Boulder, CO 80301 https://www.nwra.com/ smime.p7s Description: S/MIME Cryptographic Signature
Re: Getting Amanda (3.5.1) to run properly under MacOSX 10.15
At Fri, 9 Jun 2023 23:35:23 -0400 Deb Baddorf wrote: > > Time Machine is built into current Mac OSes. It wants its own disk, > which should be a bit (or a lot) bigger than the one you are backing up. I > donâÂÂt think it can backup to another machine. It works well, since > itâÂÂs baked in. This does me no good. I don't have any way of adding a second disk to this machine (and I don't really want to). All of my other backups go to a "server" (my main desktop machine) and the fulls get uploaded to off-site storage (Amazon Glacier). > > Deb > > > On Jun 8, 2023, at 10:36 PM, Robert Heller wrote: > > I know nothing about "Time Machine". Will it backup to a Linux > > machine? > > > > At Thu, 8 Jun 2023 17:39:47 -0600 Orion Poplawski wrote: > > > >> > >> On 6/8/23 09:50, Robert Heller wrote: > >>> Already doing that. > >>> I'm beginning to think that I need to find some other way of backing up > >>> this > >>> machine, or maybe just not back it up at all (it is just a build box and > >>> has > >>> nothing on it that is not available either elsewhere on my LAN (eg the > >>> subversion tree on my main desktop) or out on the Internet (eg the O/S and > >>> XCode at Apple.com or via Mac Ports). > >> > >> Why not Time Machine? > > > > -- > > Robert Heller -- Cell: 413-658-7953 GV: 978-633-5364 > > Deepwoods Software-- Custom Software Services > > http://www.deepsoft.com/ -- Linux Administration Services > > hel...@deepsoft.com -- Webhosting Services > > > -- Robert Heller -- Cell: 413-658-7953 GV: 978-633-5364 Deepwoods Software-- Custom Software Services http://www.deepsoft.com/ -- Linux Administration Services hel...@deepsoft.com -- Webhosting Services
Re: Getting Amanda (3.5.1) to run properly under MacOSX 10.15
Time Machine is built into current Mac OSes. It wants its own disk, which should be a bit (or a lot) bigger than the one you are backing up. I don’t think it can backup to another machine. It works well, since it’s baked in. Deb > On Jun 8, 2023, at 10:36 PM, Robert Heller wrote: > I know nothing about "Time Machine". Will it backup to a Linux machine? > > At Thu, 8 Jun 2023 17:39:47 -0600 Orion Poplawski wrote: > >> >> On 6/8/23 09:50, Robert Heller wrote: >>> Already doing that. >>> I'm beginning to think that I need to find some other way of backing up this >>> machine, or maybe just not back it up at all (it is just a build box and has >>> nothing on it that is not available either elsewhere on my LAN (eg the >>> subversion tree on my main desktop) or out on the Internet (eg the O/S and >>> XCode at Apple.com or via Mac Ports). >> >> Why not Time Machine? > > -- > Robert Heller -- Cell: 413-658-7953 GV: 978-633-5364 > Deepwoods Software-- Custom Software Services > http://www.deepsoft.com/ -- Linux Administration Services > hel...@deepsoft.com -- Webhosting Services
Re: Getting Amanda (3.5.1) to run properly under MacOSX 10.15
On 6/9/23 00:51, Hauke Fath wrote: On Thu, 8 Jun 2023 20:57:38 -0400 (EDT), Robert Heller wrote: I know nothing about "Time Machine". Will it backup to a Linux machine? We use Time Machine at work to back up Macs to a Samba share, so yes. It is user-operable, and you can restore from the rescue system for desaster recovery. I replaced backup to TSM with Time Machine (modernish macOS does not allow full disk access for command-line applications, which made scheduled backups impossible), and am very happy with it. You can also use netatalk to setup an Apple file share - I've had better luck with that than CIFS, but maybe support for that has improved since last I checked. -- Orion Poplawski he/him/his - surely the least important thing about me IT Systems Manager 720-772-5637 NWRA, Boulder/CoRA Office FAX: 303-415-9702 3380 Mitchell Lane or...@nwra.com Boulder, CO 80301 https://www.nwra.com/ smime.p7s Description: S/MIME Cryptographic Signature
Re: Getting Amanda (3.5.1) to run properly under MacOSX 10.15
At Thu, 8 Jun 2023 21:31:50 -0600 Charles Curley wrote: > > On Thu, 8 Jun 2023 20:57:38 -0400 (EDT) > Robert Heller wrote: > > > I know nothing about "Time Machine". Will it backup to a Linux > > machine? > > Yes. You need Apple networking so the Linux machine will fake a Mac. On > Debian, that would be the netatalk package. That also pulls in avahi > (bonjour implementation), so your Mac will find the server > automatically. > > However, if you encrypt the backup, the files on the Linux machine are > opaque, meaning you can't extract a file on the Linux machine. I have > not experimented with an unencrypted backup. > > This is how I back up my iPhone, since Apple won't release iPhone > backup software for Linux. > > You could also mount a Samba share on your Mac. I did some poking around, and it looks like I could automount a NFS file system as well. I'd rather not mess with Samba or netatalk. > -- Robert Heller -- Cell: 413-658-7953 GV: 978-633-5364 Deepwoods Software-- Custom Software Services http://www.deepsoft.com/ -- Linux Administration Services hel...@deepsoft.com -- Webhosting Services
Re: Getting Amanda (3.5.1) to run properly under MacOSX 10.15
On Thu, 8 Jun 2023 21:31:50 -0600 Charles Curley wrote: > However, if you encrypt the backup, the files on the Linux machine are > opaque, meaning you can't extract a file on the Linux machine. I have > not experimented with an unencrypted backup. Or maybe not. Take a look at the Debian package tmfs. https://github.com/abique/tmfs I haven't used it. -- Does anybody read signatures any more? https://charlescurley.com https://charlescurley.com/blog/
Re: Getting Amanda (3.5.1) to run properly under MacOSX 10.15
On Thu, 8 Jun 2023 20:57:38 -0400 (EDT), Robert Heller wrote: > I know nothing about "Time Machine". Will it backup to a Linux machine? We use Time Machine at work to back up Macs to a Samba share, so yes. It is user-operable, and you can restore from the rescue system for desaster recovery. I replaced backup to TSM with Time Machine (modernish macOS does not allow full disk access for command-line applications, which made scheduled backups impossible), and am very happy with it. Cheerio, Hauke -- Hauke Fath Linnéweg 7 64342 Seeheim-Jugenheim Germany
Re: Getting Amanda (3.5.1) to run properly under MacOSX 10.15
On Thu, 8 Jun 2023 20:57:38 -0400 (EDT) Robert Heller wrote: > I know nothing about "Time Machine". Will it backup to a Linux > machine? Yes. You need Apple networking so the Linux machine will fake a Mac. On Debian, that would be the netatalk package. That also pulls in avahi (bonjour implementation), so your Mac will find the server automatically. However, if you encrypt the backup, the files on the Linux machine are opaque, meaning you can't extract a file on the Linux machine. I have not experimented with an unencrypted backup. This is how I back up my iPhone, since Apple won't release iPhone backup software for Linux. You could also mount a Samba share on your Mac. -- Does anybody read signatures any more? https://charlescurley.com https://charlescurley.com/blog/
Re: Getting Amanda (3.5.1) to run properly under MacOSX 10.15
I know nothing about "Time Machine". Will it backup to a Linux machine? At Thu, 8 Jun 2023 17:39:47 -0600 Orion Poplawski wrote: > > On 6/8/23 09:50, Robert Heller wrote: > > > > Already doing that. > > > > I'm beginning to think that I need to find some other way of backing up this > > machine, or maybe just not back it up at all (it is just a build box and has > > nothing on it that is not available either elsewhere on my LAN (eg the > > subversion tree on my main desktop) or out on the Internet (eg the O/S and > > XCode at Apple.com or via Mac Ports). > > Why not Time Machine? > -- Robert Heller -- Cell: 413-658-7953 GV: 978-633-5364 Deepwoods Software-- Custom Software Services http://www.deepsoft.com/ -- Linux Administration Services hel...@deepsoft.com -- Webhosting Services
Re: Getting Amanda (3.5.1) to run properly under MacOSX 10.15
On 6/8/23 09:50, Robert Heller wrote: > > Already doing that. > > I'm beginning to think that I need to find some other way of backing up this > machine, or maybe just not back it up at all (it is just a build box and has > nothing on it that is not available either elsewhere on my LAN (eg the > subversion tree on my main desktop) or out on the Internet (eg the O/S and > XCode at Apple.com or via Mac Ports). Why not Time Machine? -- Orion Poplawski IT Systems Manager 720-772-5637 NWRA, Boulder/CoRA Office FAX: 303-415-9702 3380 Mitchell Lane or...@nwra.com Boulder, CO 80301 https://www.nwra.com/ smime.p7s Description: S/MIME Cryptographic Signature
Re: Getting Amanda (3.5.1) to run properly under MacOSX 10.15
I concur with your complaint. You need to have the Finder show hidden files (https://www.macworld.com/article/671158/how-to-show-hidden-files-on-a-mac.html) so you can navigate to /opt/local/bin/gtar and add it to Full Disk Access. In the Finder dialog that pops up when you click on '+' in Full Disk Access, type 'Command' + 'Shift' + '.' (simultaneously) then navigate to the root of your filesystem containing /opt and from there you can get to the gtar application and add it to applications allowed Full Disk Access. Backing up Macs as part of a site-wide process using Amanda is possible (I do it with Amanda 3.5.3 on a daily basis for OSX 11.7 and 12.6), but it's far from intuitive and requires knowledge of Apple idiosyncrasies that aren't well documented, and of course, isn't integrated well with the rest of MacOS. I tend to restrict it to backing up user files (mostly text) that I can work with on non-Mac systems. I've never actually tried restoring anything from these backups. I use TimeMachine backups (to an OpenBSD server) for all my Mac-specific binaries. > On Jun 8, 2023, at 8:44 AM, Robert Heller wrote: > > > That does not seem possible. As far as Security & Privacy -> Full Disk > Access > is concerned, /opt/local/bin/gnutar does not exist and there does not seem to > be any way of getting there -- it only gives a limited number of places to > point and click on. (I really *hate* pointy-clicky UIs and hate it when a > computer treats me like a 2 year old.) > > > > At Thu, 8 Jun 2023 08:22:09 -0700 Jim Lawson wrote: > >> >> I think you need the program that actually reads the files (in this case, >> /opt/local/bin/gtar) added to Full Disk Access. >> >>> On Jun 8, 2023, at 7:40 AM, Robert Heller wrote: >>> >>> >>> It already is there. >>> >>> At Thu, 8 Jun 2023 08:31:15 -0600 Pieter Bowman >>> wrote: >>> Unfortunately, I have retired, so don't have access to systems running amanda on macOS/MacOSX. However, I can suggest that the problem you are seeing is because of System Integrity Protection (SIP). You will need to add the executable amandad to System Settings -> Privacy & Security -> Full Disk Access. Pieter On 6/7/23 5:43 AM, Robert Heller wrote: > Is there some "trick" to getting Amanda (3.5.1) to run properly under > MacOSX > 10.15? I recently added a new (to me) machine to my LAN and want to be > able > to take regular backups of it. I is an older model MacBook Pro (mid 2012 > vintage), running Amanda (3.5.1) to run properly under MacOSX 10.15 (the > last > version of MacOSX that will run on this machine. I just plan on using it > as a > "build box", compiling my Open Source software. All of the rest of my > machines, consisting on one AMD (x86_64) desktop (running Ubuntu 22.04 > LTS) > and an assortment of ARM SBCs (Raspberry Pis, Banana Pis, etc.) all > running > Debian 10 and they all run Amanda (3.5.1) and Amanda is working fine > backing > up all of these machines. I'd like to add the MacBook Pro. I built > Amanda > 3.5.1 from source on the MacBook Pro and installed it under /usr/local, > but > Amanda has been "failing" on the MacBook Pro every night for about a week. > > Here is the error log: > > sendbackup: start [pipin:/System/Volumes/Data level 0] > sendbackup: info BACKUP=/opt/local/bin/gtar > sendbackup: info RECOVER_CMD=/opt/local/bin/gtar -xpGf - ... > sendbackup: info end > ? /opt/local/bin/gtar: ./Library/Application Support/com.apple.TCC: > Warning: Cannot open: Operation not permitted > ? /opt/local/bin/gtar: ./Users/heller/Library/Autosave Information: > Warning: Cannot open: Operation not permitted > ? /opt/local/bin/gtar: ./Users/heller/Library/PersonalizationPortrait: > Warning: Cannot open: Operation not permitted > ? /opt/local/bin/gtar: ./Users/heller/Library/Reminders: Warning: Cannot > open: Operation not permitted > ? /opt/local/bin/gtar: ./Users/heller/Library/Safari: Warning: Cannot > open: Operation not permitted > ? /opt/local/bin/gtar: ./Users/heller/Library/Sharing: Warning: Cannot > open: Operation not permitted > ? /opt/local/bin/gtar: ./Users/heller/Library/Suggestions: Warning: > Cannot open: Operation not permitted > ? /opt/local/bin/gtar: ./Users/heller/Library/Application > Support/AddressBook: Warning: Cannot open: Operation not permitted > ? /opt/local/bin/gtar: ./Users/heller/Library/Application > Support/CallHistoryDB: Warning: Cannot open: Operation not permitted > ? /opt/local/bin/gtar: ./Users/heller/Library/Application > Support/CallHistoryTransactions: Warning: Cannot open: Operation not > permitted > ? /opt/local/bin/gtar: ./Users/heller/Library/Application > Support/FileProvider: Warning: Cannot open: Operation
Re: Getting Amanda (3.5.1) to run properly under MacOSX 10.15
Already doing that. I'm beginning to think that I need to find some other way of backing up this machine, or maybe just not back it up at all (it is just a build box and has nothing on it that is not available either elsewhere on my LAN (eg the subversion tree on my main desktop) or out on the Internet (eg the O/S and XCode at Apple.com or via Mac Ports). At Thu, 8 Jun 2023 17:40:31 +0200 Exuvo wrote: > > Either that or switch to using amgtar which has the s bit set. > > On Thu, 8 Jun 2023, 17:27 Jim Lawson, wrote: > > > I think you need the program that actually reads the files (in this case, > > /opt/local/bin/gtar) added to Full Disk Access. > > > > > On Jun 8, 2023, at 7:40 AM, Robert Heller wrote: > > > > > > > > > It already is there. > > > > > > At Thu, 8 Jun 2023 08:31:15 -0600 Pieter Bowman > > wrote: > > > > > >> > > >> Unfortunately, I have retired, so don't have access to systems running > > >> amanda on macOS/MacOSX. > > >> > > >> However, I can suggest that the problem you are seeing is because of > > >> System Integrity Protection (SIP). You will need to add the executable > > >> amandad to System Settings -> Privacy & Security -> Full Disk Access. > > >> > > >> Pieter > > >> > > >> On 6/7/23 5:43 AM, Robert Heller wrote: > > >>> Is there some "trick" to getting Amanda (3.5.1) to run properly under > > MacOSX > > >>> 10.15? I recently added a new (to me) machine to my LAN and want to > > be able > > >>> to take regular backups of it. I is an older model MacBook Pro (mid > > 2012 > > >>> vintage), running Amanda (3.5.1) to run properly under MacOSX 10.15 > > (the last > > >>> version of MacOSX that will run on this machine. I just plan on using > > it as a > > >>> "build box", compiling my Open Source software. All of the rest of my > > >>> machines, consisting on one AMD (x86_64) desktop (running Ubuntu 22.04 > > LTS) > > >>> and an assortment of ARM SBCs (Raspberry Pis, Banana Pis, etc.) all > > running > > >>> Debian 10 and they all run Amanda (3.5.1) and Amanda is working fine > > backing > > >>> up all of these machines. I'd like to add the MacBook Pro. I built > > Amanda > > >>> 3.5.1 from source on the MacBook Pro and installed it under > > /usr/local, but > > >>> Amanda has been "failing" on the MacBook Pro every night for about a > > week. > > >>> > > >>> Here is the error log: > > >>> > > >>> sendbackup: start [pipin:/System/Volumes/Data level 0] > > >>> sendbackup: info BACKUP=/opt/local/bin/gtar > > >>> sendbackup: info RECOVER_CMD=/opt/local/bin/gtar -xpGf - ... > > >>> sendbackup: info end > > >>> ? /opt/local/bin/gtar: ./Library/Application Support/com.apple.TCC: > > Warning: Cannot open: Operation not permitted > > >>> ? /opt/local/bin/gtar: ./Users/heller/Library/Autosave Information: > > Warning: Cannot open: Operation not permitted > > >>> ? /opt/local/bin/gtar: ./Users/heller/Library/PersonalizationPortrait: > > Warning: Cannot open: Operation not permitted > > >>> ? /opt/local/bin/gtar: ./Users/heller/Library/Reminders: Warning: > > Cannot open: Operation not permitted > > >>> ? /opt/local/bin/gtar: ./Users/heller/Library/Safari: Warning: Cannot > > open: Operation not permitted > > >>> ? /opt/local/bin/gtar: ./Users/heller/Library/Sharing: Warning: Cannot > > open: Operation not permitted > > >>> ? /opt/local/bin/gtar: ./Users/heller/Library/Suggestions: Warning: > > Cannot open: Operation not permitted > > >>> ? /opt/local/bin/gtar: ./Users/heller/Library/Application > > Support/AddressBook: Warning: Cannot open: Operation not permitted > > >>> ? /opt/local/bin/gtar: ./Users/heller/Library/Application > > Support/CallHistoryDB: Warning: Cannot open: Operation not permitted > > >>> ? /opt/local/bin/gtar: ./Users/heller/Library/Application > > Support/CallHistoryTransactions: Warning: Cannot open: Operation not > > permitted > > >>> ? /opt/local/bin/gtar: ./Users/heller/Library/Application > > Support/FileProvider: Warning: Cannot open: Operation not permitted > > >>> ? /opt/local/bin/gtar: ./Users/heller/Library/Application > > Support/com.apple.TCC: Warning: Cannot open: Operation not permitted > > >>> ? /opt/local/bin/gtar: ./Users/heller/Library/Application > > Support/com.apple.sharedfilelist: Warning: Cannot open: Operation not > > permitted > > >>> ? /opt/local/bin/gtar: ./Users/heller/Library/Caches/CloudKit: > > Warning: Cannot open: Operation not permitted > > >>> ? /opt/local/bin/gtar: ./Users/heller/Library/Caches/com.apple.Safari: > > Warning: Cannot open: Operation not permitted > > >>> ? /opt/local/bin/gtar: > > ./Users/heller/Library/Caches/com.apple.ap.adprivacyd: Warning: Cannot > > open: Operation not permitted > > >>> ? /opt/local/bin/gtar: > > ./Users/heller/Library/Containers/com.apple.CloudDocs.MobileDocumentsFileProvider: > > Warning: Cannot open: Operation not permitted > > >>> ? /opt/local/bin/gtar: > > ./Users/heller/Library/Containers/com.apple.Safari: Warning: Cannot open: > > Operation not permitted > > >>> ?
Re: Getting Amanda (3.5.1) to run properly under MacOSX 10.15
That does not seem possible. As far as Security & Privacy -> Full Disk Access is concerned, /opt/local/bin/gnutar does not exist and there does not seem to be any way of getting there -- it only gives a limited number of places to point and click on. (I really *hate* pointy-clicky UIs and hate it when a computer treats me like a 2 year old.) At Thu, 8 Jun 2023 08:22:09 -0700 Jim Lawson wrote: > > I think you need the program that actually reads the files (in this case, > /opt/local/bin/gtar) added to Full Disk Access. > > > On Jun 8, 2023, at 7:40 AM, Robert Heller wrote: > > > > > > It already is there. > > > > At Thu, 8 Jun 2023 08:31:15 -0600 Pieter Bowman > > wrote: > > > >> > >> Unfortunately, I have retired, so don't have access to systems running > >> amanda on macOS/MacOSX. > >> > >> However, I can suggest that the problem you are seeing is because of > >> System Integrity Protection (SIP). You will need to add the executable > >> amandad to System Settings -> Privacy & Security -> Full Disk Access. > >> > >> Pieter > >> > >> On 6/7/23 5:43 AM, Robert Heller wrote: > >>> Is there some "trick" to getting Amanda (3.5.1) to run properly under > >>> MacOSX > >>> 10.15? I recently added a new (to me) machine to my LAN and want to be > >>> able > >>> to take regular backups of it. I is an older model MacBook Pro (mid 2012 > >>> vintage), running Amanda (3.5.1) to run properly under MacOSX 10.15 (the > >>> last > >>> version of MacOSX that will run on this machine. I just plan on using it > >>> as a > >>> "build box", compiling my Open Source software. All of the rest of my > >>> machines, consisting on one AMD (x86_64) desktop (running Ubuntu 22.04 > >>> LTS) > >>> and an assortment of ARM SBCs (Raspberry Pis, Banana Pis, etc.) all > >>> running > >>> Debian 10 and they all run Amanda (3.5.1) and Amanda is working fine > >>> backing > >>> up all of these machines. I'd like to add the MacBook Pro. I built > >>> Amanda > >>> 3.5.1 from source on the MacBook Pro and installed it under /usr/local, > >>> but > >>> Amanda has been "failing" on the MacBook Pro every night for about a week. > >>> > >>> Here is the error log: > >>> > >>> sendbackup: start [pipin:/System/Volumes/Data level 0] > >>> sendbackup: info BACKUP=/opt/local/bin/gtar > >>> sendbackup: info RECOVER_CMD=/opt/local/bin/gtar -xpGf - ... > >>> sendbackup: info end > >>> ? /opt/local/bin/gtar: ./Library/Application Support/com.apple.TCC: > >>> Warning: Cannot open: Operation not permitted > >>> ? /opt/local/bin/gtar: ./Users/heller/Library/Autosave Information: > >>> Warning: Cannot open: Operation not permitted > >>> ? /opt/local/bin/gtar: ./Users/heller/Library/PersonalizationPortrait: > >>> Warning: Cannot open: Operation not permitted > >>> ? /opt/local/bin/gtar: ./Users/heller/Library/Reminders: Warning: Cannot > >>> open: Operation not permitted > >>> ? /opt/local/bin/gtar: ./Users/heller/Library/Safari: Warning: Cannot > >>> open: Operation not permitted > >>> ? /opt/local/bin/gtar: ./Users/heller/Library/Sharing: Warning: Cannot > >>> open: Operation not permitted > >>> ? /opt/local/bin/gtar: ./Users/heller/Library/Suggestions: Warning: > >>> Cannot open: Operation not permitted > >>> ? /opt/local/bin/gtar: ./Users/heller/Library/Application > >>> Support/AddressBook: Warning: Cannot open: Operation not permitted > >>> ? /opt/local/bin/gtar: ./Users/heller/Library/Application > >>> Support/CallHistoryDB: Warning: Cannot open: Operation not permitted > >>> ? /opt/local/bin/gtar: ./Users/heller/Library/Application > >>> Support/CallHistoryTransactions: Warning: Cannot open: Operation not > >>> permitted > >>> ? /opt/local/bin/gtar: ./Users/heller/Library/Application > >>> Support/FileProvider: Warning: Cannot open: Operation not permitted > >>> ? /opt/local/bin/gtar: ./Users/heller/Library/Application > >>> Support/com.apple.TCC: Warning: Cannot open: Operation not permitted > >>> ? /opt/local/bin/gtar: ./Users/heller/Library/Application > >>> Support/com.apple.sharedfilelist: Warning: Cannot open: Operation not > >>> permitted > >>> ? /opt/local/bin/gtar: ./Users/heller/Library/Caches/CloudKit: Warning: > >>> Cannot open: Operation not permitted > >>> ? /opt/local/bin/gtar: ./Users/heller/Library/Caches/com.apple.Safari: > >>> Warning: Cannot open: Operation not permitted > >>> ? /opt/local/bin/gtar: > >>> ./Users/heller/Library/Caches/com.apple.ap.adprivacyd: Warning: Cannot > >>> open: Operation not permitted > >>> ? /opt/local/bin/gtar: > >>> ./Users/heller/Library/Containers/com.apple.CloudDocs.MobileDocumentsFileProvider: > >>> Warning: Cannot open: Operation not permitted > >>> ? /opt/local/bin/gtar: > >>> ./Users/heller/Library/Containers/com.apple.Safari: Warning: Cannot open: > >>> Operation not permitted > >>> ? /opt/local/bin/gtar: > >>> ./Users/heller/Library/Containers/com.apple.archiveutility: Warning: > >>> Cannot open: Operation not permitted > >>> ?
Re: Getting Amanda (3.5.1) to run properly under MacOSX 10.15
I think you need the program that actually reads the files (in this case, /opt/local/bin/gtar) added to Full Disk Access. > On Jun 8, 2023, at 7:40 AM, Robert Heller wrote: > > > It already is there. > > At Thu, 8 Jun 2023 08:31:15 -0600 Pieter Bowman > wrote: > >> >> Unfortunately, I have retired, so don't have access to systems running >> amanda on macOS/MacOSX. >> >> However, I can suggest that the problem you are seeing is because of >> System Integrity Protection (SIP). You will need to add the executable >> amandad to System Settings -> Privacy & Security -> Full Disk Access. >> >> Pieter >> >> On 6/7/23 5:43 AM, Robert Heller wrote: >>> Is there some "trick" to getting Amanda (3.5.1) to run properly under MacOSX >>> 10.15? I recently added a new (to me) machine to my LAN and want to be able >>> to take regular backups of it. I is an older model MacBook Pro (mid 2012 >>> vintage), running Amanda (3.5.1) to run properly under MacOSX 10.15 (the >>> last >>> version of MacOSX that will run on this machine. I just plan on using it >>> as a >>> "build box", compiling my Open Source software. All of the rest of my >>> machines, consisting on one AMD (x86_64) desktop (running Ubuntu 22.04 LTS) >>> and an assortment of ARM SBCs (Raspberry Pis, Banana Pis, etc.) all running >>> Debian 10 and they all run Amanda (3.5.1) and Amanda is working fine backing >>> up all of these machines. I'd like to add the MacBook Pro. I built Amanda >>> 3.5.1 from source on the MacBook Pro and installed it under /usr/local, but >>> Amanda has been "failing" on the MacBook Pro every night for about a week. >>> >>> Here is the error log: >>> >>> sendbackup: start [pipin:/System/Volumes/Data level 0] >>> sendbackup: info BACKUP=/opt/local/bin/gtar >>> sendbackup: info RECOVER_CMD=/opt/local/bin/gtar -xpGf - ... >>> sendbackup: info end >>> ? /opt/local/bin/gtar: ./Library/Application Support/com.apple.TCC: >>> Warning: Cannot open: Operation not permitted >>> ? /opt/local/bin/gtar: ./Users/heller/Library/Autosave Information: >>> Warning: Cannot open: Operation not permitted >>> ? /opt/local/bin/gtar: ./Users/heller/Library/PersonalizationPortrait: >>> Warning: Cannot open: Operation not permitted >>> ? /opt/local/bin/gtar: ./Users/heller/Library/Reminders: Warning: Cannot >>> open: Operation not permitted >>> ? /opt/local/bin/gtar: ./Users/heller/Library/Safari: Warning: Cannot open: >>> Operation not permitted >>> ? /opt/local/bin/gtar: ./Users/heller/Library/Sharing: Warning: Cannot >>> open: Operation not permitted >>> ? /opt/local/bin/gtar: ./Users/heller/Library/Suggestions: Warning: Cannot >>> open: Operation not permitted >>> ? /opt/local/bin/gtar: ./Users/heller/Library/Application >>> Support/AddressBook: Warning: Cannot open: Operation not permitted >>> ? /opt/local/bin/gtar: ./Users/heller/Library/Application >>> Support/CallHistoryDB: Warning: Cannot open: Operation not permitted >>> ? /opt/local/bin/gtar: ./Users/heller/Library/Application >>> Support/CallHistoryTransactions: Warning: Cannot open: Operation not >>> permitted >>> ? /opt/local/bin/gtar: ./Users/heller/Library/Application >>> Support/FileProvider: Warning: Cannot open: Operation not permitted >>> ? /opt/local/bin/gtar: ./Users/heller/Library/Application >>> Support/com.apple.TCC: Warning: Cannot open: Operation not permitted >>> ? /opt/local/bin/gtar: ./Users/heller/Library/Application >>> Support/com.apple.sharedfilelist: Warning: Cannot open: Operation not >>> permitted >>> ? /opt/local/bin/gtar: ./Users/heller/Library/Caches/CloudKit: Warning: >>> Cannot open: Operation not permitted >>> ? /opt/local/bin/gtar: ./Users/heller/Library/Caches/com.apple.Safari: >>> Warning: Cannot open: Operation not permitted >>> ? /opt/local/bin/gtar: >>> ./Users/heller/Library/Caches/com.apple.ap.adprivacyd: Warning: Cannot >>> open: Operation not permitted >>> ? /opt/local/bin/gtar: >>> ./Users/heller/Library/Containers/com.apple.CloudDocs.MobileDocumentsFileProvider: >>> Warning: Cannot open: Operation not permitted >>> ? /opt/local/bin/gtar: ./Users/heller/Library/Containers/com.apple.Safari: >>> Warning: Cannot open: Operation not permitted >>> ? /opt/local/bin/gtar: >>> ./Users/heller/Library/Containers/com.apple.archiveutility: Warning: Cannot >>> open: Operation not permitted >>> ? /opt/local/bin/gtar: ./Users/heller/Library/Metadata/CoreSpotlight: >>> Warning: Cannot open: Operation not permitted >>> ? /opt/local/bin/gtar: ./Users/heller/Pictures/Photos >>> Library.photoslibrary: Warning: Cannot open: Operation not permitted >>> ? /opt/local/bin/gtar: ./Users/jaffe/Desktop: Warning: Cannot open: >>> Operation not permitted >>> ? /opt/local/bin/gtar: ./Users/jaffe/Documents: Warning: Cannot open: >>> Operation not permitted >>> ? /opt/local/bin/gtar: ./Users/jaffe/Downloads: Warning: Cannot open: >>> Operation not permitted >>> ? /opt/local/bin/gtar: ./Users/jaffe/Library/Calendars: Warning: Cannot >>>
Re: Getting Amanda (3.5.1) to run properly under MacOSX 10.15
It already is there. At Thu, 8 Jun 2023 08:31:15 -0600 Pieter Bowman wrote: > > Unfortunately, I have retired, so don't have access to systems running > amanda on macOS/MacOSX. > > However, I can suggest that the problem you are seeing is because of > System Integrity Protection (SIP). You will need to add the executable > amandad to System Settings -> Privacy & Security -> Full Disk Access. > > Pieter > > On 6/7/23 5:43 AM, Robert Heller wrote: > > Is there some "trick" to getting Amanda (3.5.1) to run properly under MacOSX > > 10.15? I recently added a new (to me) machine to my LAN and want to be able > > to take regular backups of it. I is an older model MacBook Pro (mid 2012 > > vintage), running Amanda (3.5.1) to run properly under MacOSX 10.15 (the > > last > > version of MacOSX that will run on this machine. I just plan on using it > > as a > > "build box", compiling my Open Source software. All of the rest of my > > machines, consisting on one AMD (x86_64) desktop (running Ubuntu 22.04 LTS) > > and an assortment of ARM SBCs (Raspberry Pis, Banana Pis, etc.) all running > > Debian 10 and they all run Amanda (3.5.1) and Amanda is working fine backing > > up all of these machines. I'd like to add the MacBook Pro. I built Amanda > > 3.5.1 from source on the MacBook Pro and installed it under /usr/local, but > > Amanda has been "failing" on the MacBook Pro every night for about a week. > > > > Here is the error log: > > > > sendbackup: start [pipin:/System/Volumes/Data level 0] > > sendbackup: info BACKUP=/opt/local/bin/gtar > > sendbackup: info RECOVER_CMD=/opt/local/bin/gtar -xpGf - ... > > sendbackup: info end > > ? /opt/local/bin/gtar: ./Library/Application Support/com.apple.TCC: > > Warning: Cannot open: Operation not permitted > > ? /opt/local/bin/gtar: ./Users/heller/Library/Autosave Information: > > Warning: Cannot open: Operation not permitted > > ? /opt/local/bin/gtar: ./Users/heller/Library/PersonalizationPortrait: > > Warning: Cannot open: Operation not permitted > > ? /opt/local/bin/gtar: ./Users/heller/Library/Reminders: Warning: Cannot > > open: Operation not permitted > > ? /opt/local/bin/gtar: ./Users/heller/Library/Safari: Warning: Cannot open: > > Operation not permitted > > ? /opt/local/bin/gtar: ./Users/heller/Library/Sharing: Warning: Cannot > > open: Operation not permitted > > ? /opt/local/bin/gtar: ./Users/heller/Library/Suggestions: Warning: Cannot > > open: Operation not permitted > > ? /opt/local/bin/gtar: ./Users/heller/Library/Application > > Support/AddressBook: Warning: Cannot open: Operation not permitted > > ? /opt/local/bin/gtar: ./Users/heller/Library/Application > > Support/CallHistoryDB: Warning: Cannot open: Operation not permitted > > ? /opt/local/bin/gtar: ./Users/heller/Library/Application > > Support/CallHistoryTransactions: Warning: Cannot open: Operation not > > permitted > > ? /opt/local/bin/gtar: ./Users/heller/Library/Application > > Support/FileProvider: Warning: Cannot open: Operation not permitted > > ? /opt/local/bin/gtar: ./Users/heller/Library/Application > > Support/com.apple.TCC: Warning: Cannot open: Operation not permitted > > ? /opt/local/bin/gtar: ./Users/heller/Library/Application > > Support/com.apple.sharedfilelist: Warning: Cannot open: Operation not > > permitted > > ? /opt/local/bin/gtar: ./Users/heller/Library/Caches/CloudKit: Warning: > > Cannot open: Operation not permitted > > ? /opt/local/bin/gtar: ./Users/heller/Library/Caches/com.apple.Safari: > > Warning: Cannot open: Operation not permitted > > ? /opt/local/bin/gtar: > > ./Users/heller/Library/Caches/com.apple.ap.adprivacyd: Warning: Cannot > > open: Operation not permitted > > ? /opt/local/bin/gtar: > > ./Users/heller/Library/Containers/com.apple.CloudDocs.MobileDocumentsFileProvider: > > Warning: Cannot open: Operation not permitted > > ? /opt/local/bin/gtar: ./Users/heller/Library/Containers/com.apple.Safari: > > Warning: Cannot open: Operation not permitted > > ? /opt/local/bin/gtar: > > ./Users/heller/Library/Containers/com.apple.archiveutility: Warning: Cannot > > open: Operation not permitted > > ? /opt/local/bin/gtar: ./Users/heller/Library/Metadata/CoreSpotlight: > > Warning: Cannot open: Operation not permitted > > ? /opt/local/bin/gtar: ./Users/heller/Pictures/Photos > > Library.photoslibrary: Warning: Cannot open: Operation not permitted > > ? /opt/local/bin/gtar: ./Users/jaffe/Desktop: Warning: Cannot open: > > Operation not permitted > > ? /opt/local/bin/gtar: ./Users/jaffe/Documents: Warning: Cannot open: > > Operation not permitted > > ? /opt/local/bin/gtar: ./Users/jaffe/Downloads: Warning: Cannot open: > > Operation not permitted > > ? /opt/local/bin/gtar: ./Users/jaffe/Library/Calendars: Warning: Cannot > > open: Operation not permitted > > ? /opt/local/bin/gtar: ./Users/jaffe/Library/Cookies: Warning: Cannot open: > > Operation not permitted > > ? /opt/local/bin/gtar: ./Users/jaffe/Library/HomeKit: Warning:
Re: Getting Amanda (3.5.1) to run properly under MacOSX 10.15
-- resend as i forgot reply all -- Those errors seem like normal permission errors, if you su to amanda can you access those files? If not i think you need to edit amanda-security.conf and uncomment some of the tar lines so tar runs as root with access to the files you want to backup. Anton "exuvo" Olsson ex...@exuvo.se On 2023-06-07 13:43, Robert Heller wrote: Is there some "trick" to getting Amanda (3.5.1) to run properly under MacOSX 10.15? I recently added a new (to me) machine to my LAN and want to be able to take regular backups of it. I is an older model MacBook Pro (mid 2012 vintage), running Amanda (3.5.1) to run properly under MacOSX 10.15 (the last version of MacOSX that will run on this machine. I just plan on using it as a "build box", compiling my Open Source software. All of the rest of my machines, consisting on one AMD (x86_64) desktop (running Ubuntu 22.04 LTS) and an assortment of ARM SBCs (Raspberry Pis, Banana Pis, etc.) all running Debian 10 and they all run Amanda (3.5.1) and Amanda is working fine backing up all of these machines. I'd like to add the MacBook Pro. I built Amanda 3.5.1 from source on the MacBook Pro and installed it under /usr/local, but Amanda has been "failing" on the MacBook Pro every night for about a week. Here is the error log: sendbackup: start [pipin:/System/Volumes/Data level 0] sendbackup: info BACKUP=/opt/local/bin/gtar sendbackup: info RECOVER_CMD=/opt/local/bin/gtar -xpGf - ... sendbackup: info end ? /opt/local/bin/gtar: ./Library/Application Support/com.apple.TCC: Warning: Cannot open: Operation not permitted ? /opt/local/bin/gtar: ./Users/heller/Library/Autosave Information: Warning: Cannot open: Operation not permitted ? /opt/local/bin/gtar: ./Users/heller/Library/PersonalizationPortrait: Warning: Cannot open: Operation not permitted ? /opt/local/bin/gtar: ./Users/heller/Library/Reminders: Warning: Cannot open: Operation not permitted ? /opt/local/bin/gtar: ./Users/heller/Library/Safari: Warning: Cannot open: Operation not permitted ? /opt/local/bin/gtar: ./Users/heller/Library/Sharing: Warning: Cannot open: Operation not permitted ? /opt/local/bin/gtar: ./Users/heller/Library/Suggestions: Warning: Cannot open: Operation not permitted ? /opt/local/bin/gtar: ./Users/heller/Library/Application Support/AddressBook: Warning: Cannot open: Operation not permitted ? /opt/local/bin/gtar: ./Users/heller/Library/Application Support/CallHistoryDB: Warning: Cannot open: Operation not permitted ? /opt/local/bin/gtar: ./Users/heller/Library/Application Support/CallHistoryTransactions: Warning: Cannot open: Operation not permitted ? /opt/local/bin/gtar: ./Users/heller/Library/Application Support/FileProvider: Warning: Cannot open: Operation not permitted ? /opt/local/bin/gtar: ./Users/heller/Library/Application Support/com.apple.TCC: Warning: Cannot open: Operation not permitted ? /opt/local/bin/gtar: ./Users/heller/Library/Application Support/com.apple.sharedfilelist: Warning: Cannot open: Operation not permitted ? /opt/local/bin/gtar: ./Users/heller/Library/Caches/CloudKit: Warning: Cannot open: Operation not permitted ? /opt/local/bin/gtar: ./Users/heller/Library/Caches/com.apple.Safari: Warning: Cannot open: Operation not permitted ? /opt/local/bin/gtar: ./Users/heller/Library/Caches/com.apple.ap.adprivacyd: Warning: Cannot open: Operation not permitted ? /opt/local/bin/gtar: ./Users/heller/Library/Containers/com.apple.CloudDocs.MobileDocumentsFileProvider: Warning: Cannot open: Operation not permitted ? /opt/local/bin/gtar: ./Users/heller/Library/Containers/com.apple.Safari: Warning: Cannot open: Operation not permitted ? /opt/local/bin/gtar: ./Users/heller/Library/Containers/com.apple.archiveutility: Warning: Cannot open: Operation not permitted ? /opt/local/bin/gtar: ./Users/heller/Library/Metadata/CoreSpotlight: Warning: Cannot open: Operation not permitted ? /opt/local/bin/gtar: ./Users/heller/Pictures/Photos Library.photoslibrary: Warning: Cannot open: Operation not permitted ? /opt/local/bin/gtar: ./Users/jaffe/Desktop: Warning: Cannot open: Operation not permitted ? /opt/local/bin/gtar: ./Users/jaffe/Documents: Warning: Cannot open: Operation not permitted ? /opt/local/bin/gtar: ./Users/jaffe/Downloads: Warning: Cannot open: Operation not permitted ? /opt/local/bin/gtar: ./Users/jaffe/Library/Calendars: Warning: Cannot open: Operation not permitted ? /opt/local/bin/gtar: ./Users/jaffe/Library/Cookies: Warning: Cannot open: Operation not permitted ? /opt/local/bin/gtar: ./Users/jaffe/Library/HomeKit: Warning: Cannot open: Operation not permitted ? /opt/local/bin/gtar: ./Users/jaffe/Library/IdentityServices: Warning: Cannot open: Operation not permitted ? /opt/local/bin/gtar: ./Users/jaffe/Library/Mail: Warning: Cannot open: Operation not permitted ? /opt/local/bin/gtar: ./Users/jaffe/Library/Messages: Warning: Cannot open: Operation not permitted ? /opt/local/bin/gtar:
Re: Getting Amanda (3.5.1) to run properly under MacOSX 10.15
-- resend as i forgot reply all -- Oh also check that the relevant executables have SGID bit set and correct users (user root, group amanda). Mine is under /usr/lib/amanda/application/amgtar but probably different location for you. I have SGID set for amgtar ambsdtar amstar in that directory. In /usr/lib/amanda/application/ the following has SGID to root set: ambind calcsize killpgrp rundump runtar. Anton "exuvo" Olsson ex...@exuvo.se On 2023-06-07 21:53, Exuvo wrote: Those errors seem like normal permission errors, if you su to amanda can you access those files? If not i think you need to edit amanda-security.conf and uncomment some of the tar lines so tar runs as root with access to the files you want to backup. Anton "exuvo" Olsson ex...@exuvo.se On 2023-06-07 13:43, Robert Heller wrote: Is there some "trick" to getting Amanda (3.5.1) to run properly under MacOSX 10.15? I recently added a new (to me) machine to my LAN and want to be able to take regular backups of it. I is an older model MacBook Pro (mid 2012 vintage), running Amanda (3.5.1) to run properly under MacOSX 10.15 (the last version of MacOSX that will run on this machine. I just plan on using it as a "build box", compiling my Open Source software. All of the rest of my machines, consisting on one AMD (x86_64) desktop (running Ubuntu 22.04 LTS) and an assortment of ARM SBCs (Raspberry Pis, Banana Pis, etc.) all running Debian 10 and they all run Amanda (3.5.1) and Amanda is working fine backing up all of these machines. I'd like to add the MacBook Pro. I built Amanda 3.5.1 from source on the MacBook Pro and installed it under /usr/local, but Amanda has been "failing" on the MacBook Pro every night for about a week. Here is the error log: sendbackup: start [pipin:/System/Volumes/Data level 0] sendbackup: info BACKUP=/opt/local/bin/gtar sendbackup: info RECOVER_CMD=/opt/local/bin/gtar -xpGf - ... sendbackup: info end ? /opt/local/bin/gtar: ./Library/Application Support/com.apple.TCC: Warning: Cannot open: Operation not permitted ? /opt/local/bin/gtar: ./Users/heller/Library/Autosave Information: Warning: Cannot open: Operation not permitted ? /opt/local/bin/gtar: ./Users/heller/Library/PersonalizationPortrait: Warning: Cannot open: Operation not permitted ? /opt/local/bin/gtar: ./Users/heller/Library/Reminders: Warning: Cannot open: Operation not permitted ? /opt/local/bin/gtar: ./Users/heller/Library/Safari: Warning: Cannot open: Operation not permitted ? /opt/local/bin/gtar: ./Users/heller/Library/Sharing: Warning: Cannot open: Operation not permitted ? /opt/local/bin/gtar: ./Users/heller/Library/Suggestions: Warning: Cannot open: Operation not permitted ? /opt/local/bin/gtar: ./Users/heller/Library/Application Support/AddressBook: Warning: Cannot open: Operation not permitted ? /opt/local/bin/gtar: ./Users/heller/Library/Application Support/CallHistoryDB: Warning: Cannot open: Operation not permitted ? /opt/local/bin/gtar: ./Users/heller/Library/Application Support/CallHistoryTransactions: Warning: Cannot open: Operation not permitted ? /opt/local/bin/gtar: ./Users/heller/Library/Application Support/FileProvider: Warning: Cannot open: Operation not permitted ? /opt/local/bin/gtar: ./Users/heller/Library/Application Support/com.apple.TCC: Warning: Cannot open: Operation not permitted ? /opt/local/bin/gtar: ./Users/heller/Library/Application Support/com.apple.sharedfilelist: Warning: Cannot open: Operation not permitted ? /opt/local/bin/gtar: ./Users/heller/Library/Caches/CloudKit: Warning: Cannot open: Operation not permitted ? /opt/local/bin/gtar: ./Users/heller/Library/Caches/com.apple.Safari: Warning: Cannot open: Operation not permitted ? /opt/local/bin/gtar: ./Users/heller/Library/Caches/com.apple.ap.adprivacyd: Warning: Cannot open: Operation not permitted ? /opt/local/bin/gtar: ./Users/heller/Library/Containers/com.apple.CloudDocs.MobileDocumentsFileProvider: Warning: Cannot open: Operation not permitted ? /opt/local/bin/gtar: ./Users/heller/Library/Containers/com.apple.Safari: Warning: Cannot open: Operation not permitted ? /opt/local/bin/gtar: ./Users/heller/Library/Containers/com.apple.archiveutility: Warning: Cannot open: Operation not permitted ? /opt/local/bin/gtar: ./Users/heller/Library/Metadata/CoreSpotlight: Warning: Cannot open: Operation not permitted ? /opt/local/bin/gtar: ./Users/heller/Pictures/Photos Library.photoslibrary: Warning: Cannot open: Operation not permitted ? /opt/local/bin/gtar: ./Users/jaffe/Desktop: Warning: Cannot open: Operation not permitted ? /opt/local/bin/gtar: ./Users/jaffe/Documents: Warning: Cannot open: Operation not permitted ? /opt/local/bin/gtar: ./Users/jaffe/Downloads: Warning: Cannot open: Operation not permitted ? /opt/local/bin/gtar: ./Users/jaffe/Library/Calendars: Warning: Cannot open: Operation not permitted ? /opt/local/bin/gtar: ./Users/jaffe/Library/Cookies: Warning: Cannot open: Operation not permitted ? /opt/local/bin/gtar: