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

Note: The Installing File Daemon section of the Scenario 5 covers the article 6.2 of the Appendix.

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 Daemon 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, jump to “Testing Client Connectivity” to fix the issue.

Installing File Daemon

  1. In the left navigation, you can use Clients ⇒ Add New Client to jump on the client wizard page. To simplify the process, let’s enable the “Autocommit” feature in the top right corner. Fill in a client name and the optional description. Click Next.
  2. Leave the default “Standard encrypted communications” checked. Click Next.
  3. 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”.
  4. Click the word “deploy”.
  5. On the page “Push Configuration to xxxx”, select “QR Code / Registration Wizard” in the “Push Method” drop-down. Set the “Token validity period” to 30 minutes to give yourself enough time to complete the rest of the steps without rushing.

    Click Next.
  6. Click the “Copy to clipboard” link at the top.
  7. 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 and install the latest Bacula Trial client installation executable by clicking on “bacula-enterprise-demo-win64-16.0.0.exe”.
  8. On the License Agreement dialog, click the “I Agree” button.
  9. Leave the “Installation Type” set to the default, “Automatic”
  10. On the “Choose Components” dialog, expand the “Consoles” item and make sure “Registration Wizard” is checked.

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

    Click “Finish”.
  13. When the Registration Wizard starts, select the “Register to BWeb with link / QR code” tab.
  14. Either manually paste in the link or click the “Paste link from Clipboard” button to paste the link obtained from BWeb in Step 6 above, then click “Register”.
  15. When presented with the self-signed certificate warning, click “Ignore”.
  16. 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.
  17. 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.
  18. Click on Clients ⇒ Client Overview and from 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 “TestWin10” then click the “Status” icon with the green graph.
  19. 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, 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. You can adjust the “Refresh interval” to reload the status of this client at the top of that page.

Create Backup Job For New Windows Client

  1. On the Main Menu, click Jobs ⇒ + Add New Job. On the “Configure a new Job resource” page, click the “Backup Job Create->” button.
  2. Give the new Job a name “Windows10_Test” and an optional description. In the Job Template drop-down select “BackupsToDedup” and then use the Next button.
  3. In the Client drop-down, choose your new Windows Client “TestWin10” and then use the Next button.
  4. Then, in the Fileset drop-down, choose “Windows-C-Users” and then use the Next button.
  5. In the Storage Name drop-down, choose “DedupAutochanger” and then use the Next button.
  6. In the Schedule Name drop-down, choose “Manual” and then use the Next button.
  7. Finally, you will get to the Jobs summary page.
  8. To run a test backup job, click on “Run Backup” button on the left navigation pane, below the Bacula-Systems logo.
  9. In Step 1, in the Job name drop-down, choose your new Job “Windows10_Test”.
  10. In Step 2, just review the settings and click “Run Job”.
  11. After clicking “Run Job” you will be sent to the status page for this newly started job.
  12. When the job finishes, you will be presented with the full job log at the bottom of the page and a summary at 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.