Changing the ClusterLogics SD default working directory path

Changing the ClusterLogics SD default working directory path

If you don't have sufficient space on your / or /opt partition for the default ClusterLogics working directory (/opt/bacula/working/), we can remedy the problem with a few configuration changes. You will have to be comfortable making these changes via ssh. If you are not, please open a support ticket with access credentials and we can take care of it for you.

NOTE: Running jobs will be interrupted, so please make sure you wait for anything you want to finish first!

First, determine the new path you would like to move the working folder too. Normally this will be the same partition you store your backup volumes on, in this case we'll move the working folder from /opt/bacula to /backup.
 
service bacula-sd stop
mv /opt/bacula/working/ /backup/
cp /opt/bacula/etc/bacula-sd.conf /opt/bacula/etc/bacula-sd.conf.bak
nano /opt/bacula/etc/bacula-sd.conf
Change:
WorkingDirectory = "/opt/bacula/working"
  Pid Directory = "/opt/bacula/working"

to (remember, this may change depending on the new path you selected above for your working folder):
WorkingDirectory = "/backup/working"
  Pid Directory = "/backup/working"

Save the changes and exit editting the file.

Now we need to update the working path in the init.d script as well.
nano /etc/init.d/bacula-sd

change:
[ $RETVAL -eq 0 ] && touch /opt/bacula/working/bacula-sd

to:
[ $RETVAL -eq 0 ] && touch /backup/working/bacula-sd

AND

change:
[ $RETVAL -eq 0 ] && rm -f /opt/bacula/working/bacula-sd

to:
[ $RETVAL -eq 0 ] && rm -f /bacula/working/bacula-sd

Save the changes and exit editting the file.

Now start the bacula-sd process backup and ensure it's running:
 
service bacula-sd start
service bacula-sd status

    • Related Articles

    • Storage Daemon (SD) Recommended Hardware Recommendations

      Note: We will continue to update this documentation as time goes on and we work with customers on their specific environments. If you have any questions about your specific environment, please do not hesitate to contact us. Thank you! Hardware CPU: ...
    • ClusterLogics

      ClusterLogics see also Bacula Director Uninstall Bacula (RHEL/CentOS): Method 1: yum remove bacula-enterprise* Method 2: check for installed bacula packages: rpm -qa | grep -i bacula you should see a result like: ...
    • ClusterLogics

      ClusterLogics     see also Bacula Director Uninstall Bacula (RHEL/CentOS): Method 1: yum remove bacula-enterprise* Method 2: check for installed bacula packages: rpm -qa | grep -i bacula you should see a result like: ...
    • Firewalling with ClusterLogics

      ClusterLogics uses three primary tcp ports to function 9101 (dir), 9102 (FD), and 9103(SD). For a ClusterLogics deployment, tcp 9102 on the servers you are backing up (FDs) must be open to our directors that will connect from source ip: ...
    • Firewalling with ClusterLogics

      ClusterLogics uses three primary tcp ports to function 9101 (dir), 9102 (FD), and 9103(SD). For a ClusterLogics deployment, tcp 9102 on the servers you are backing up (FDs) must be open to our directors that will connect from source ip: ...