]> git.sur5r.net Git - bacula/bacula/blob - bacula/examples/AFS-README
Tweak ChangeLog and ReleaseNotes for last backport from Enterprise
[bacula/bacula] / bacula / examples / AFS-README
1 From: Lucas Mingarro <lucas@easytech.com.ar>
2 To: bacula-users@lists.sourceforge.net
3 Subject: [Bacula-users] OpenAFS with bacula
4
5 Hi,
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 
8 works with it.
9
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.
12
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.
15
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 
19 obtain the ticket.
20
21 I made a script that obtains the tiket and then runs bacula-fd,
22
23 I put this script in /sbin/afs-bacula with permissions 700.
24 (See current directory for a copy)
25
26 Then you have to change the bacula-fd start/stop script.
27 Replace the line
28
29 daemon /usr/local/sbin/bacula-fd $2 -c /usr/local/etc/bacula-fd.conf
30
31 with
32
33 /sbin/afs_bacula daemon /usr/local/sbin/bacula-fd $2 -c \
34     /usr/local/etc/bacula-fd.conf
35
36
37 Ok that's all. You've got a bacula-fd validated with the kerberos server.
38
39 Lucas Mingarro
40 lucas@easytech.com.ar
41
42 Note: Don't forget that kerberos tickets have a life time :)
43
44 See: http://www.angelfire.com/hi/plutonic/afs-faq.html for FAQ on AFS.
45