Home > Welcome to the Bacula Enterprise Trial > Using Bacula Enterprise Trial Edition > Scenario 5: Backup a Windows client using BWeb Management Suite

Scenario 5: Backup a Windows client using BWeb Management Suite

In this scenario we will add a Windows client and then back it up using BWeb Management Suite. The steps we will go through are: installing a File Daemon, configuring a Windows system for backup jobs, and running a backup job. This scenario delivers step-by-step instructions on how to install and configure a file deamon on a single Windows system. Most customers will have multiple Windows systems, for which automation tools are available. If you experience any connection issues with the client in this scenario, please jump to "Testing Client Connectivity" to fix the issue.

  1. On the Windows machine, open the Firefox web browser, In the URL field, enter the IP address and port of BWeb running on the Trial VM: https://x.x.x.x:9180/ Login: admin/admin
    Enter Bweb's configuration mode: Main -> Configuration -> Configure Bacula
    In the top right corner on the Main menu, enable the "Autocommit" feature.
  2. In the left column, click the "Add a New Client Resource" button.
  3. Fill in a client name and the optional description. Click Next.
  4. Leave the default "Standard encrypted communications" checked. Click Next.
  5. In the OS Type drop-down, select 'Windows'. Leave the password as-is. In the Address field, type the Windows machine's IP address or FQDN. Leave the Port as-is (9102). Then click 'Next'.
  6. Click the word 'deploy'.

    If you are presented with a "Push Configuration to xxxx" page, just click Next.
  7. In the "Push Method" drop-down, select "QR Code / Registration Wizard" Set the "Token validity period" to 30 minutes to give yourself enough time to complete the rest of the steps without rushing.

    Click Next
  8. Click the "Copy to clipboard" link at the top.
  9. Open a new tab in the Firefox browser. You will return to the BWeb tab later. In the URL, enter the IP address of the Trial VM and the path to the Windows client: http://x.x.x.x/clients/windows/
    Download the Bacula Trial client installation executable by clicking on "bacula-enterprise-demo-win64-12.8.3.exe".
  10. Run the downloaded installer as Administrator.
  11. On the License Agreement dialog, click the "I Agree" button.
  12. Leave the "Installation Type" set to the default, "Automatic"
  13. On the "Choose Components" dialog, expand the "Consoles" item and make sure "Registration Wizard" is checked.

    Then click "Install".
  14. Leave the Director information fields blank as the configuration will be completed by "Registration Wizard".
  15. On the "Completing Bacula Systems Enterprise 64 bit Setup" dialog, click "Launch Registration Wizard"

    Click Finish.
  16. When the Registration Wizard starts, select the "Register to BWeb with link / QR code" tab.
  17. Either manually paste in the link or click the "Paste link from Clipboard" button to paste the link obtained from BWeb in Step 8 above, then click "Register"
  18. When presented with the self-signed certificate warning, click Ignore.
  19. You should see the "Registration has completed successfully" dialog.
    Just click "OK", and you will be asked if you want to restart the bacula-fd service. Click Yes, and then just close the Registration Wizard.
  20. Back in the BWeb tab, at the QR code page, just click "OK" to close the wizard and go back to the Main configuration page.
  21. Exit configuration mode by clicking on the "Bacula Enterprise" at the top left corner, then click Clients -> Clients
  22. On the Clients page, your newly added Windows Bacula client machine should be in the list. Click the check box next to your new Windows client and then click the Status icon (the one with the graph, not the one with the magnifying glass)

    You should see the status of your new Windows client similar to the following image:

    Note: If you do not see a similar page showing information about your new Windows client, please see the "Testing Client Connectivity" section at the bottom of this document to find a solution. Typically, you will need to create a firewall rule to allow the Bacula Director on the Trial VM to contact the Bacula client service running on your Windows machine.

Create Backup Job For New Windows Client

  1. On the Main Menu, click Configuration -> Configure Bacula -> Jobs. On the Jobs page, click the "+ Jobs" in the Job listing header
  2. Give the new Job a name and an optional description. In the JobDefs drop-down select "BackupsToDedup". In the Client drop-down, choose your new Windows Client. Then, in the Fileset drop-down, choose "Windows-C-Users". Leave everything else as-is, then click the "+ Add" in the top right corner to add this new Job to the list.

    Exit configuration mode by clicking on the "Bacula Enterprise" at the top left corner.
  3. From the Main menu, select Jobs -> Defined jobs.
  4. In Step 1, in the Job name drop-down, choose your new Job.
  5. In Step 2, just review the settings and click "Run Job"
  6. After clicking "Run Job" you will be sent to the status page for this newly started job.

    When the job finishes you will be presented with the full job log at the bottom of the page and a summary a the top.

    Testing Client Connectivity:

    - Check the IP addresses or fully qualified domain names in both the client definition in BWeb Management Suite and on the Windows client in C:\Program Files\Bacula\bacula-fd.conf
    - Check that the passwords, name of the director (with -dir) or file daemon (with -fd) in the new Windows "bacua-fd.conf" file match what is in the Director's configuration for this Client
    - Check that your Workset is applied and reload the Director (Main -> Configuration -> Configure Bacula)
    - Finally, on the new Windows client, check that the firewall is disabled, or that inbound connections to port 9102/TCP are allowed from the Trial VM's IP address. Microsoft has a short document on creating such a rule here: https://docs.microsoft.com/en-us/windows/security/threat-protection/windows-firewall/create-an-inbound-port-rule . You may also contact the Bacula Systems’ support team if you cannot determine the cause of the connectivity problem. To submit a helpdesk ticket, just click the “Contact Support” icon on the Bacula Enterprise Trial’s Landing page in your browser.