Re: volume administrator


Subject: Re: volume administrator
From: Ryan McBeth (ryan@mobiusnm.com)
Date: Fri Sep 15 2000 - 08:59:03 EDT


        Here's what I've done. It uses up some extra space, but works.

        Write a script cron job that tars up selected areas. Run the
cron job as root. Dump the resulting tar file in a directory that
has your backup user's specific permissions. Then, backup
periodically. I wrote a shell script that does just that. This
script backups up home, etc, /usr/local and /opt/shared on one
machine, and goes and gets another tar file that sits on a machine
mounted through NFS.

#!/bin/sh
tar cf /opt/accounts/tmp/weekly.backup.home.tar /home
tar cf /opt/accounts/tmp/weekly.backup.etc.tar /etc
tar cf /opt/accounts/tmp/weekly.backup.usr.tar /usr/local
tar cf /opt/accounts/tmp/weekly.backup.shared.tar /opt/shared
#copy the tarred file from my:/etc.tar to here
cp /opt/my/tmp/my.weekly.backup.etc.tar /opt/accounts/tmp

chmod 755 /opt/accounts/tmp/*
chown ryan /opt/accounts/tmp/*
chgrp devel /opt/accounts/tmp/*

Ryan

>All,
>
> We have two issues that we constantly bump into with
>Netatalk, largely around backup. Although we can backup
>and restore our Netatalk volumes with Legato Networker or
>dump, we'd like to be able to use Retrospect. But since
>Netatalk, unlike Cap, doesn't have the notion of an
>"afp adminstrator" there's no way to mount several volumes owned
>by different labs (we're a research organization). I've figured
>out how to use the "Redhat private group" scheme to create a
>volume administrator, but this scheme won't work if there are
>different administrators across the machine. And, of course,
>this won't help to back up individual users who aren't part of a
>volume.
>
>I do see how root can log in via a simple hack to afpd, but it
>doesn't appear to have rootly privileges.
>
>What do people do for backing up their shared netatalk volumes?
>
> Matthew Temple

__________________________________
Ryan McBeth
Systems Administrator, Mobius New Media
Voice: (302) 475-9880 x11
FAX: (302) 475-9894
www.mobiusnm.com
__________________________________
If you want to achieve excellence, you can get there today. As of
this second, quit doing less-than-excellent work.
-Thomas Watson, founder of IBM



This archive was generated by hypermail 2b28 : Wed Jan 17 2001 - 14:32:10 EST