[macosx-unix] amanda backup
Jan Schaumann
jschauma at netmeister.org
Wed Mar 15 18:15:19 EST 2006
Isaac Levy <ike at lesmuug.org> wrote:
> I'm a bit confused about what your asking, as I've forgotten a lot of
> the original post.
Heh, no problem. I had hoped the post itself would be sufficient to
pose a question. The question ultimately was: why does launchd not
automatically start my new service? (The fact that the service is
amanda is rather tangential by now.)
> Are you working purely with OSX machines here, or is there some
> NetBSD server you are backing up to?
The backup server is NetBSD, the OS X is just one of the machines that
are being backed up. The way amanda works, you need to have the amanda
client running on each of the machines you want to backup, so the amanda
process can connect to it and start the backup.
>
> On Mar 15, 2006, at 4:38 PM, Jan Schaumann wrote:
> >Still not quite there, but at least I have a working backup system.
> >I've installed amanda from pkgsrc [1],
>
> On OSX or on some other platform?
On OS X in this case.
> >I had to reboot the machine, and amanda no longer listens. I don't
> >know
> >what exactly the magic is that Mac OS X wants me to perform, but
> >apparently xinetd(8) is no longer starting the service which I
> >added to
> >/etc/xinetd.d/amanda.
>
> Is that script OK? Are you using it along side the launchd stuff you
> mention below, or separately?
I used to use it stand alone, no launchd involved. And it worked just
fine, once I manually HUPped xinetd, but the problem was that it
wouldn't automatically be launched at boot time, so I tried to give
launchd a shot.
> "Getting Started with launchd"
> http://developer.apple.com/macosx/launchd.html
>
> Man page for launchd(8)
> http://developer.apple.com/documentation/Darwin/Reference/ManPages/
> man8/launchd.8.html
>
> Man page for launchd.plist(5)
> http://developer.apple.com/documentation/Darwin/Reference/ManPages/
> man5/launchd.plist.5.html#//apple_ref/doc/man/5/launchd.plist
Yupp, read all those.
> Perhaps it's something as simple as a permissions issue? Or or
> perhasp some load-order issue?
As best as I can tell, it seems to be a load-order issue. But then
again, that's supposedly one of the things about launchd: you don't
really get a decent launch order. I don't even know in what order it
tries to start the services.
I thought it might start them in alphabetical order, so I renamed the
service to 'z-amanda.plist', so it would be started last. However, that
didn't work. It still was started before some other services at boot
time and didn't work.
-Jan
--
http://www.eff.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
Url : http://berdom.net/pipermail/macosx-unix/attachments/20060315/1a9548f8/attachment.bin
More information about the macosx-unix
mailing list