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
- 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.
- Leave the default “Standard encrypted communications” checked. Click Next.
- 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”.
- Click the word “deploy”.
- 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 the “Copy to clipboard” link at the top.
- 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”.
- On the License Agreement dialog, click the “I Agree” button.
- Leave the “Installation Type” set to the default, “Automatic”
- On the “Choose Components” dialog, expand the “Consoles” item and make sure “Registration Wizard” is checked.
Then click “Install”.
- Leave the Director information fields blank as the configuration will be completed by “Registration Wizard”.
- On the “Completing Bacula Systems Enterprise 64 bit Setup” dialog, click “Launch Registration Wizard”
- When the Registration Wizard starts, select the “Register to BWeb with link / QR code” tab.
- 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”.
- When presented with the self-signed certificate warning, click “Ignore”.
- 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.
- 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.
- 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.
- 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
- On the Main Menu, click Jobs ⇒ + Add New Job. On the “Configure a new Job resource” page, click the “Backup Job Create->” button.
- 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.
- In the Client drop-down, choose your new Windows Client “TestWin10” and then use the Next button.
- Then, in the Fileset drop-down, choose “Windows-C-Users” and then use the Next button.
- In the Storage Name drop-down, choose “DedupAutochanger” and then use the Next button.
- In the Schedule Name drop-down, choose “Manual” and then use the Next button.
- Finally, you will get to the Jobs summary page.
- To run a test backup job, click on “Run Backup” button on the left navigation pane, below the Bacula-Systems logo.
- In Step 1, in the Job name drop-down, choose your new Job “Windows10_Test”.
- In Step 2, just review the settings and click “Run Job”.
- 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 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.