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