Install BareOS client manually on Windows
Windows Manual installation of BareOS Client Software
This should resolve when you try to Update the client via the ClusterLogics GUI Update option and see results like:
unable to psexec: ERROR: Cannot connect to svcctl pipe. NT_STATUS_IO_TIMEOUT.
OR
unable to psexec: operable program or batch file.
Please follow the below steps:
1. Download the Windows BareOS client installer from your Downloads area (top right drop-down menu on your GUI home screen) or from:
Win2K3 - http://download.bareos.org/bareos/release/14.2/windows/XP_2003/
Win2K8+ - http://download.bareos.org/bareos/release/17.2/windows/
2. Install it, leaving all default options (should just be client install selected).
2a. If an installer menu does not appear, open a command prompt and navigate to the folder where the installer is located. Run the following command to try and install it via command line:
.\winbareos-16.2.5-postvista-64-bit-r21.1.exe /s
IF this fails try the command:
.\winbareos-16.2.5-postvista-64-bit-r21.1.exe /disableoslimit
3. Once installed, open services.msc and stop the previous Bacula-fd service. You should see the new BareOS-fd service below it.
4. In your ClusterLogics GUI, go to Servers and locate the server. Click the gear cog icon, in order to show the configuration data. For Windows servers, choose Windows as server type. It will load the configuration data. Copy the data for next step.
5. On your server, go to BareOS installation folder at:
C:\ProgramData\Bareos\
Create a new text file called:
bareos-fd.conf
5a. Make sure file extensions are set to viewable, so that you don't accidentally make a file named bareos-fd.conf.txt.
5b. Paste the config data you copied from the GUI into this file and save.
6. Double check that ClusterLogics firewall rule has the correct ports allowed for proper access:
From command line, run 'wf' to launch Windows firewall.
Click Inbound rule chain and locate the ClusterLogics rule. If it does not exist, create it.
Rule Name: ClusterLogics
Rule Type: port
Ports: 9102, 22, 135, 445
For additional security, restrict the IPs. Click on 'scope' tab within the rule options, and in the Remote IPs area, add the following:
67.22.0.0/16
96.125.0.0/16
10.4.0.250/16
10.2.0.250/16
6a. Ensure there is also an Outbound rule for ClusterLogics, allowing port 9103.
7. Restart the Bareos-fd service in services.msc to apply the new config you just saved from above.
8. In ClusterLogics GUI, locate the server again and click the red Update button. Supply Administrator user and password, as needed. Select PSExec method and it should be able to connect and run the update routine.
9. Go back to server list in ClusterLogics GUI, locate the server, and click the Backup Now icon to initiate a new backup. Select to run as Primary Job and initiate the job.
Contact our support team for questions regarding any of the above, or in case any issues arise after trying the above.
Common Issues:
445 not listen answer: Set-SmbServerConfiguration -EnableSMB1Protocol $true
Detailed Steps:
1. Download the Windows BareOS client installer from your Downloads area (top right drop-down menu on your GUI home screen) or from:
http://67.22.128.179/temp/bareos/win/winbareos-16.2.5-postvista-64-bit-r21.1.exe
http://ca-files1.cologlobal.com/public.php?service=files&t=q9jafFoSTyYjMjo
http://ca-files1.cologlobal.com/public.php?service=files&t=GoKC1bpyEv0WZG0
2. Install it, leaving all default options (should just be client install selected).
http://ca-files1.cologlobal.com/public.php?service=files&t=ViHfx7Ue0X1w8jd
http://ca-files1.cologlobal.com/public.php?service=files&t=qTyRZHVtJmI8Xiv
http://ca-files1.cologlobal.com/public.php?service=files&t=E8Khgk5BybCkmDT
2a. If an installer menu does not appear, open a command prompt and navigate to the folder where the installer is located. Run the following command to try and install it via command line:
.\winbareos-16.2.5-postvista-64-bit-r21.1.exe /s
IF this fails try the command:
.\winbareos-16.2.5-postvista-64-bit-r21.1.exe /disableoslimit
3. Once installed, open services.msc and stop the previous Bacula-fd service. You should see the new BareOS-fd service below it.
http://ca-files1.cologlobal.com/public.php?service=files&t=haPJCFQZ6jNcT69
4. In your ClusterLogics GUI, go to Servers and add the server. From Bacula4 GUI DashBoard:
http://ca-files1.cologlobal.com/public.php?service=files&t=SSRoLlLnz8ETAXQ
4a. Select Server Type >
Physical server
Virtual server file level (vm attached to licensed HV)
Virtual Server Snapshot (attached to licensed HV)
Stand alone VM
If you dont know what kind of VM it is just Select "Stand alone VM" and click Next. Then Select OS as Windows do Next.
Give the IP and the hostname you want it to have in ClusterLogics.
http://ca-files1.cologlobal.com/public.php?service=files&t=JAJijZCSCFCfQJV
Click on Close when done.
http://ca-files1.cologlobal.com/public.php?service=files&t=Dkg3XOhZS3Qs4Hp
4b. Now Locate the Server you just added from the Servers Section on the Left Pane, Click the gear cog icon, in order to show the configuration data. For Windows servers, choose Windows as server type. It will load the configuration data. Copy the data for next step.
http://ca-files1.cologlobal.com/public.php?service=files&t=dszDlRICpzSFSMz
http://ca-files1.cologlobal.com/public.php?service=files&t=eXDY1xbc3BsMREy
5. On your server, go to BareOS installation folder at:
C:\ProgramData\Bareos\
Create a new text file called:
bareos-fd.conf
5a. Make sure file extensions are set to viewable, so that you don't accidentally make a file named bareos-fd.conf.txt.
http://ca-files1.cologlobal.com/public.php?service=files&t=TyKVn1ABRWHdnMl
http://ca-files1.cologlobal.com/public.php?service=files&t=wCAFCiyepD8g56s
http://ca-files1.cologlobal.com/public.php?service=files&t=skdA3E3XoqqGySd
5b. Paste the config data you copied from the GUI into this file and save.
http://ca-files1.cologlobal.com/public.php?service=files&t=dcDbofI30rqDUXn
http://ca-files1.cologlobal.com/public.php?service=files&t=dcDbofI30rqDUXn
5c. Restart the bareos service after saving the file bareos-fd.conf If the service restart fails this means that the config file is not right so repeated the steps 5 , 5a & 5b
6. Double check that ClusterLogics firewall rule has the correct ports allowed for proper access:
From command line, run 'wf.msc' to launch Windows firewall.
Click Inbound rule chain and locate the ClusterLogics rule. If it does not exist, create it.
Rule Name: ClusterLogics
Rule Type: port
Ports: 9102, 22, 135, 445
as shown from
http://ca-files1.cologlobal.com/public.php?service=files&t=Bxf9xUXjrE2cZeZ
====== Skip this step for now we can come back to it later once the bareos is working correctly and without any issues =====
For additional security, restrict the IPs. Click on 'scope' tab within the rule options, and in the Remote IPs area, add the following:
67.22.0.0/16
96.125.0.0/16
10.4.0.250/16
10.2.0.250/16
6a. Ensure there is also an Outbound rule for ClusterLogics, allowing port 9103.
http://ca-files1.cologlobal.com/public.php?service=files&t=lZ75zJFFeB2XVfi
7. Restart the Bareos-fd service in services.msc to apply the new config you just saved from above.
After all This the BareOS client will come online If the server is still showing as offline then it means that the
ClusterLogics
GUI is not able to connect to the bareos client -- this is mostly due to the firewall so please repeat the Step#6 and try again.
7a. Then in the Bacula4 GUI you can RUN a Wizard from the magic-stick icon infront of the server name to adjust the settings acc. to the backup nature of this machine as shown from
http://ca-files1.cologlobal.com/public.php?service=files&t=xG0jxwtiocaz4D2
7b. Setup the server retention period and Pool etc. and click on Add icon from the bottom.
Default Options for File Level backup would be:
http://ca-files1.cologlobal.com/public.php?service=files&t=rThP9iK5GLcSZoP
http://ca-files1.cologlobal.com/public.php?service=files&t=ZwU2atkQQ3lA5Hl
Skip This Step for Win2k12 (updated version) and Win2k16
8. In
ClusterLogics
GUI, locate the server again and click the red Update button. Supply Administrator user and password, as needed. Select PSExec method and it should be able to connect and run the update routine.
9. Go back to server list in
ClusterLogics
GUI, locate the server, and click the Backup Now icon to initiate a new backup. Select to run as Primary Job and initiate the job.
http://ca-files1.cologlobal.com/public.php?service=files&t=nodQvDiW5WEzoFh
Contact our support team for questions regarding any of the above, or in case any issues arise after trying the above.
Common Issues:
445 not listen answer: Set-SmbServerConfiguration -EnableSMB1Protocol $true
==========================
Related Articles
Install Bareos Windows manually
========================= Please follow the below steps: 1. Download the Windows BareOS client installer from your Downloads area (top right drop-down menu on your GUI home screen) or from: Win2K3 ...
Install BareOS client automatically on Windows
1. On a freshly installed Windows OS, configure WinRM for HTTPS. Powershell: New-SelfSignedCertificate -DnsName "<YOUR_DNS_NAME>" -CertStoreLocation Cert:\LocalMachine\My CMD: winrm create winrm/config/Listener?Address=*+Transport=HTTPS ...
[Install] Windows FD - Manual
As of July 12th 2012 - we will eventually be auto installing Windows FD agents onto Windows servers as we do with Linux servers today - right from the B4H GUI Unlike the Linux FD installation (which is completely automated and can be done directly ...
[Install] Windows FD - Manual
As of July 12th 2012 - we will eventually be auto installing Windows FD agents onto Windows servers as we do with Linux servers today - right from the B4H GUI Unlike the Linux FD installation (which is completely automated and can be done directly ...
Windows BMR Physical Machine
First of the bacula related SOP is detailed in the following article (which mostly works with VMS) but not for PHYSICAL Machines or servers. https://support.bacula4.com/customer/portal/articles/2795465-windows-bmr---clusterlogics PreRequisits: You ...