Table of Contents
Jail Tutorial
Some notes
Setup
Students: ignore this… it was for my setup of the jails
export db_name=baculatest export db_user=bacula ./make_bacula_tables bacula ./grant_bacula_privileges
jails
10.0.44.100-10.0.44.121 login: dan pass: bacula
There is no root password. Just su
database server: 10.0.44.91 user: bacula pass:
Your database has the same suffix as your IP address.
e.g. if you're using jail 10.0.44.105 then use database name: bacula105
$ psql -h 10.0.44.91 -U bacula bacula105 psql (9.2.4) Type “help” for help.
bacula105⇒
configuration files are at /usr/local/etc
bacula-dir.conf.sample bacula-fd.conf.sample bacula-sd.conf.sample bconsole.conf.sample
start/stop:
/usr/local/etc/rc.d/bacula-dir start
add these to /etc/rc.conf
bacula_dir_enable=“YES” bacula_sd_enable=“YES” bacula_fd_enable=“YES”
$ ps auwx | grep bacula bacula 15814 0.0 0.0 67232 5076 ?? SsJ 6:32PM 0:00.00 /usr/local/sbin/bacula-dir -u bacula -g bacula -v -c /usr/local/etc/bacula-dir.conf root 15819 0.0 0.0 16280 1468 0 R+J 6:32PM 0:00.00 grep bacula