This document will help you install a second instance of the bacula service. This may be useful if you need to separate certain parts of your backup job.

Assumption: You already have a client created in the CFA Management Console and are able to run backups on that client.

Here are the basic high level steps, each will be detailed in its own section below:

  1. Add a new client.
  2. Copy the bacula files to a new directory.
  3. Download and modify the new client's configuration file.
  4. Create the new service.
  5. Start the service.

1. Add a new client.

  • Create a new client in the Clients > Summary tab in the CFA Management Console.
  • This new client must use the same ip address or dns name as your original client.
  • This new client must run on a different port. Edit the port number, for example: 9202.
  • All other settings can be customized as you would for any other client.

2. Copy the bacula files to a new directory.

  • Create a new directory: C:\Program Files\RVX-Backup2
  • Copy all the contents of C:\Program Files\RVX-Backup into the newly created RVX-Backup2 directory

NOTE: If you need to separate SQL or Exchange backup plugins from the original client then follow the steps below as well. This is discouraged. If you need to use one of these plugins, it is best done with the agent installed in the C:\Program Files\RVX-Backup folder, if possible.

  • If the new client was created to handle the SQL backups:
    • Browse into the RVX-Backup\plugins folder and delete the mssql.dll file
    • Broswe into the RVX-Backup2\plugins folder and delete all .dll files other than the mssql.dll file.
  • If the new client was created to handle the Exchange backups:
    • Browse into the RVX-Backup2\plugins folder and delete the mssql.dll file
    • Broswe into the RVX-Backup\plugins folder and delete all .dll files other than the mssql.dll file.

3. Download and modify the new client's configuration file.

  • Go to the Clients > Summary page and right click on the row of your new client.
  • Choose the option to Download Config.
  • Save the config file to the new RVX-Backup2 directory. Overwrite any existing file.
  • Edit the bacula-fd.conf file.</li>
  • Modify the path for both the Working and Pid Directory to equal "/Program Files/RVX-Backup2/working/"
  • Confirm that the FD Port = 9202
  • Save and close.
  • </ul>

    4. Create the new service.

    • This is where we create a new instance of bacula to run as a new service.
    • From the Windows Command Prompt (running as Administrator and without restricted access) run the following command:

    sc create Revinetix-Backup-2 binpath= "C:\Progra~1\RVX-Backup2\bacula-fd.exe /service -c c:/Progra~1/RVX-Backup2/bacula-fd.conf -p c:/Progra~1/RVX-Backup2/plugins" displayname= "Backup Service 2" depend= tcpip start= auto

    C:\ > sc create evsbacula binpath= "c:\Progra~1\bacula\bacula-fd.exe /service -c c:\Progra~1\bacula\conf\rvx-sbr-bacula.cf -p c:\Progra~1\bacula\plugins" displayname= evsbacula depend= tcpip start= auto

    • The above command should result in this:

    [SC] CreateService SUCCESS

    • The new service will start up automatically after a reboot. To manually start the service now, proceed to step 5.

    5. Start the service.

    • Open the Services window and look for the new service named Backup Service 2.
    • If you do not see it and the command from step 4 worked, refresh your view.
    • Start the service.

    Once the new service is in place, use the original RVXConfig tool to configure settings for any Exchange or SQL backups.

    *[AES]: Advanced Encryption Standard *[AESs]: Advanced Encryption Standards *[API]: application programming interface *[APIs]: application programming interfaces *[BMR]: BareMetal Restore *[BMRs]: BareMetal Restores *[CAB]: Cloud Application Backup *[CABs]: Cloud Application Backups *[CB]: Cloud Backup *[CBs]: Cloud Backups *[CBT]: Changed Block Tracking *[CBTs]: Changed Block Trackings *[CFA]: cloud failover appliance *[CFAs]: cloud failover appliances *[CIFS]: Common Internet File System *[CIFSs]: Common Internet File Systems *[DC]: data center *[DCs]: data centers *[DDFS]: deduplication file system *[DDFSs]: deduplication file systems *[DPS]: Data Protection Server *[DPSs]: Data Protection Servers *[DR]: disaster recovery *[DRs]: disaster recoverys *[DRaaS]: Disaster Recovery as a Service *[DRaaSs]: Disaster Recovery as a Services *[GCP]: Google Cloud Platform *[GCPs]: Google Cloud Platforms *[ICAB]: Infrascale Cloud Application Backup *[ICABs]: Infrascale Cloud Application Backups *[ICB]: Infrascale Cloud Backup *[ICBs]: Infrascale Cloud Backups *[ICMP]: Internet Control Message Protocol *[ICMPs]: Internet Control Message Protocols *[IDR]: Infrascale Disaster Recovery *[IDRs]: Infrascale Disaster Recoverys *[IPMI]: Intelligent Platform Management Interface *[IPMIs]: Intelligent Platform Management Interfaces *[JVM]: Java virtual machine *[JVMs]: Java virtual machines *[LVM]: logical volume management *[LVMs]: logical volume managements *[MFA]: multi-factor authentication *[MFAs]: multi-factor authentications *[MSP]: managed services provider *[MSPs]: managed services providers *[N/A]: Not applicable *[N/As]: Not applicables *[NAS]: network-attached storage *[NASs]: network-attached storages *[NAT]: network address translation *[NATs]: network address translations *[NFS]: Network File System *[NFSs]: Network File Systems *[NIC]: network interface controller *[NICs]: network interface controllers *[NTP]: Network Time Protocol *[NTPs]: Network Time Protocols *[NTPD]: Network Time Protocol Daemon *[NTPDs]: Network Time Protocol Daemons *[OBRM]: Online Backup and Recovery Manager *[OBRMs]: Online Backup and Recovery Managers *[PBKDF2]: Password-Based Key Derivation Function 2 *[PBKDF2s]: Password-Based Key Derivation Function 2s *[POSIX]: Portable Operating System Interface for Unix *[POSIXs]: Portable Operating System Interface for Unixs *[RAID]: Redundant Array of Independent Disks *[RAIDs]: Redundant Array of Independent Diskss *[RCT]: resilient change tracking *[RCTs]: resilient change trackings *[ROM]: read-only memory *[ROMs]: read-only memorys *[SDK]: software development kit *[SDKs]: software development kits *[SMB]: Server Message Block *[SMBs]: Server Message Blocks *[SMTP]: Simple Mail Transfer Protocol *[SMTPs]: Simple Mail Transfer Protocols *[SNMP]: Simple Network Management Protocol *[SNMPs]: Simple Network Management Protocols *[UCAR]: unique content addressable repository *[UCARs]: unique content addressable repositorys *[UEFI]: Unified Extensible Firmware Interface *[UEFIs]: Unified Extensible Firmware Interfaces *[UNC]: Universal Naming Convention *[UNCs]: Universal Naming Conventions *[vCFA]: virtual cloud failover appliance *[vCFAs]: virtual cloud failover appliances *[VM]: virtual machine *[VMs]: virtual machines *[VNC]: Virtual Network Computing *[VNCs]: Virtual Network Computings *[vNIC]: virtual network interface controller *[vNICs]: virtual network interface controllers *[VPN]: virtual private network *[VPNs]: virtual private networks *[VSS]: Volume Shadow Copy Service *[VSSs]: Volume Shadow Copy Services