Права на файлы конфигурации:
# ls -l /etc/bacula
total 44
-rw-r----- 1 bacula bacula 3253 Apr 25 14:26 bacula-dir.conf
-rw-r----- 1 bacula bacula 1036 Apr 25 14:26 bacula-fd.conf
-rw-r----- 1 bacula bacula 10553 May 22 11:14 bacula-sd.conf
...
# ps aux |grep bacula-dir
bacula 1289 0.0 0.0 119248 4312 ? Ssl 11:40 0:00 /usr/sbin/bacula-dir -c /etc/bacula/bacula-dir.conf -u bacula -g bacula
# su -m bacula -c 'cat /etc/bacula/bacula-dir.conf'
#
# Default Bacula Director Configuration file
#
...
# su -m bacula -c '/etc/bacula/scripts/make_catalog_backup.pl MyCatalog'
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Can't find your catalog (MyCatalog) in director configuration
# su -m root -c '/etc/bacula/scripts/make_catalog_backup.pl MyCatalog'
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
# ls -l /var/lib/bacula/bacula.sql
-rw------- 1 root root 1028762078 May 30 13:25 /var/lib/bacula/bacula.sql
# ls -l /var/lib/ |grep bacula
drwx------ 2 bacula bacula 16384 May 30 13:24 bacula