AFS-README
1From: Lucas Mingarro <lucas@easytech.com.ar>
2To: bacula-users@lists.sourceforge.net
3Subject: [Bacula-users] OpenAFS with bacula
4
5Hi,
6 I'm using Bacula for backing up an AFS file set. I don't know if
7anyone else is doing it, but here is my explaination about how Bacula
8works with it.
9
10I'm using Bacula 1.26a on a RedHat Linux 7.1 on the Bacula Director
11machine and RedHat Linux 7.1 and OpenAFS 1.26 on the Bacula client machine.
12
13First make a user bacula in your kas server an give him rl permission on
14all volumes that you want to backup with Bacula.
15
16In order for bacula-fd to reads the files on your
17AFS server you have to give the client a kerberos ticket with
18the right privileges to read the volumes. Here my script to
19obtain the ticket.
20
21I made a script that obtains the tiket and then runs bacula-fd,
22
23I put this script in /sbin/afs-bacula with permissions 700.
24(See current directory for a copy)
25
26Then you have to change the bacula-fd start/stop script.
27Replace the line
28
29daemon /usr/local/sbin/bacula-fd $2 -c /usr/local/etc/bacula-fd.conf
30
31with
32
33/sbin/afs_bacula daemon /usr/local/sbin/bacula-fd $2 -c \
34 /usr/local/etc/bacula-fd.conf
35
36
37Ok that's all. You've got a bacula-fd validated with the kerberos server.
38
39Lucas Mingarro
40lucas@easytech.com.ar
41
42Note: Don't forget that kerberos tickets have a life time :)
43
44See: http://www.angelfire.com/hi/plutonic/afs-faq.html for FAQ on AFS.
45
46