Bacula-users

Re: [Bacula-users] latest bacula client (bacula-fd) for Windows

2014-04-22 08:59:00
Subject: Re: [Bacula-users] latest bacula client (bacula-fd) for Windows
From: Tomáš Brandýský <tomas.brandysky AT gmail DOT com>
To: Kern Sibbald <kern AT sibbald DOT com>
Date: Tue, 22 Apr 2014 14:43:09 +0200
It seems to me the best choice to make sure one has working and stable backup solution of Windows machine is to buy a bacula-fd version from Bacula Systems.
We are currently facing a bug with the following configuration:

1. Bacula director is in 5.2.13 version
2. we have following fileset configured for Windows clients:

FileSet {
        Name = "Fileset_Windows_userpc_default_data"
        Enable VSS = yes

        Include {
                Options {
                                signature = MD5
                                _onefs_=yes
                                ignore case=yes
                                noatime=yes
                                compression=GZIP
                        }

      File = "\\|powershell.exe\ -file\ \"C:\\Program\ Files\\Bacula\\data2backup.ps1\""

        }
}

Important point of this configuration is the possibility of reading the filelist from powershell script which is run on client's side (bacula-fd for Windows in 5.2.10 version) every time the backup is performed and is generated dynamically.

3. backup starts,runs and finishes without any problem with most of the file lists returned by powershell on client's side but sometimes Bacula seems to perform backups of entire disk like crazy regardless of what files are returned by powershell script. Normaly, when backup runs without glitches I can see from bconsole via status->client what files are currently backed up by client (C:\something). When bacula goes crazy and starts to backup whole disk I can see the client is currently backing up strange paths (without leading C:\) like "/$Recycle.Bin/some_folders_here".

We've found out this strange behaviour is somehow connected with the file list given by powershell script. We thought there could be some strange strings or leading spaces in the output but it didn't prove. It's even more strange as when we run the powershell script on the affected machine redirecting the output to file and then change the fileser configuration to read the file list from this files (File = "\\<C:\\Program\ Files\\Bacula\\data2backup.txt") the backup runs as expected.

This is the output of the powershell script on the affected computer:
D:\Users\aperglerova\Favorites
D:\Thunderbird Profile\hfkeo6lv.default\Extensions
D:\Thunderbird Profile\hfkeo6lv.default\abook.mab
D:\Thunderbird Profile\hfkeo6lv.default\history.mab
D:\Users\jfidler\Favorites
D:\Users\rrejnek\Favorites
D:\Users\support\Favorites
D:\Users\trejnek\AppData\Roaming\Mozilla\Firefox\Profiles
D:\Users\trejnek\Favorites
D:\Users\tvolna\Favorites
D:\Users\vmatlonova\Favorites
D:\Work

We were also further testing which path could cause the described behaviour and we think it's these three lines which bacula don't do good:
D:\Thunderbird Profile\hfkeo6lv.default\Extensions
D:\Thunderbird Profile\hfkeo6lv.default\abook.mab
D:\Thunderbird Profile\hfkeo6lv.default\history.mab

As a temporary workaround we run our powershell script regularly on all Windows clients with redirected output to file which is further read by Bacula from fileset.
This seems to work as expected.

Do you have any idea what could cause such problems when reading file list to backup from powershell output ?

Thank you

Tomas



On 22 April 2014 12:38, Kern Sibbald <kern AT sibbald DOT com> wrote:
On 04/22/2014 11:48 AM, Tomáš Brandýský wrote:
Hello,

what is actually the difference between community version and enterprise version of bacula-fd for Windows ?
Is the paid version more stable or has more features ?

In general yes, it is much more stable, because it is build by Bacula Systems (usually me) with the correct libraries and delivered to paying customers.  With other versions you get they may or may not be built with the correct libraries (especially the correct Qt libraries). Yes, it has a few more features because it is a later version.   I do not have an exact list of new features though.


I am asking because we have found an annoying bug when using bacula-fd 5.2.10 on Windows. If this bug is already fixed in enterprise version we would be glad to buy the licence of enterprise bacula-fd Windows client.

I don't always remember exactly what bugs are fixed in which version, but I cannot even guess at an answer until you say what the annoying bug is.

As to the mentioned bug, where can I report this bug to make sure it will be fixed in some further release of community version ?

At the moment, we are not planning a new community version because it is too much work for me to maintain two different versions, build them and test them.

Hopefully by the end of April there will be a 6.6.7 (or later) version that will be released by Bacula Systems, that does have a number of new features (including functional IPv6, and many important security improvements) and all bug fixes up until the 21st of April.

Best regards,
Kern


Thank you

Best regards,

Tomas


On 21 April 2014 14:28, Kern Sibbald <kern AT sibbald DOT com> wrote:
Hello,

Yes, the old community Windows binaries should work with 7.0.x, but I have not explicitly tested it.  Also the newer 6.0.6 binaries should work as well.

I am just now fixing some bugs in the Windows FD, some of them long standing, and once that is done and tested they will be released.  It is very likely that it will still be before the end of April.  This will very likely be version 6.6.7.  If all goes well, people who previously purchased a 6.0.6 version will be able to upgrade at half the already low price.

I believe the community binaries for 7.0.2 are ready now (free), but we have not yet implemented a delivery mechanism, so this part will probably be finished a few weeks after the end of April.

Best regards,
Kern

On 04/17/2014 12:27 PM, Luc Van der Veken wrote:

http://blog.bacula.org/p710/

 

Second to last paragraph: “We are still working on new Windows binaries as well as releasing a full set of binaries for many platforms. Hopefully that will be finished before the end of April.”

 

To close the gap between 5.2.10 and 7.0, Windows binaries 6.0.6 are available commercially for a small fee at http://www.baculasystems.com/windows-binaries-for-bacula-community-users

 

I don’t know if any of these  can be used with 7.0.

 



------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech


_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users




------------------------------------------------------------------------------
Start Your Social Network Today - Download eXo Platform
Build your Enterprise Intranet with eXo Platform Software
Java Based Open Source Intranet - Social, Extensible, Cloud Ready
Get Started Now And Turn Your Intranet Into A Collaboration Platform
http://p.sf.net/sfu/ExoPlatform
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users