Changing Bareos Default working directory

Changing Bareos Default working directory

If you don't have sufficient space on your / or /opt partition for the default bareos working directory (/opt/bacula/working/), we can remedy the problem with a few configuration changes.

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/bareos to /backup

service bacula-sd stop
Edit Config-sd.conf file 

Initialize your desired path :
WorkingDirectory = "/backup/working"
Pid Directory = "/backup/working"
Save the changes and exit editing the file.

Cd /var/lib
Mv bareos bareos.bak
cp -fr bareos.bak /backup/working
Chown -R bareos:bareos /backup/working
ln -s /backup/working /var/lib/bareos

Service bareos-sd start
    • Related Articles

    • Password protect directory in cPanel

      1. Log in to your cPanel account > Files section > Directory Privacy menu:  2. Select Document Root for option and the domain name in question from the drop-down menu, and hit Go:  3. Once there, you may pick up the directory you wish to protect:  4. ...
    • Protect a directory in H-sphere

      How to protect a directory through Hsphere: 1. Login to Your control panel 2. Click FTP Manager 3. Click File Manager (HtProtect) 4. Click Protect at the bottom 5. Browse to the directory you want to lock, in this case "admin" (click the + through, ...
    • Setup Active Directory ADDS on Windows Server 2012

      In order to make the windows server 2012 domain controller we will install ADDS (Active Directory Domain Services) role from the server manager on Windows Server 2012. All the Latest security updates must applied before installing the Role. First we ...
    • Password Protect Directory Directly From IIS - VPS/Dedicated Servers

      In the event that you want to lock down a specific directory and you have administrator privileges on the server, this is one way you can go about it. Log into the server and open IIS Manager Drill down the navigation tree to the domain and/or ...
    • How to change default index page to another file name - Hsphere

      User would like to specify the default index page to be something other then index.html From the hsphere control panel > select web options > scroll down and activate directory index > add the path to the file you wish to act as the default index ...