Fix plugin install into right directory.
Try top make the NDMP docs somewhat more failsafe.

After some feedback this should make things somewhat more understandable
when trying to configure NDMP. Some better documentation needs to be
written but we leave that to a true technical writer.
Allow an UAcontext to have two database connections.

For some operations we want to use a private database connection as they
are either long running or may interfere with each other. We now keep
track of the normal shared database connection and a private database
connection used for these kind of operations that can run over a
dedicated database connection without leading to synchronization
problems in the data. Things like BVFS, restore, prune, purge etc can
all use this private database connection so they no longer block others
and for restore also don't lead to race conditions. These connections
we keep lingering until a close_db() call is done on the UA.
Plugin to do backup of Microsoft Sql Server (mssql) server

Implement a native backup plugin for MSSQL based on the
Virtual Device Interface (VDI) which uses the native MSSQL
backup tooling but instead of writing it to a tape or disk
directly it will save it to a so called virtual device from
which the plugin reads the data on restore we restore to
a virtual device and the native MSSQL software recovers
the database from that.

This is based on the mssql-fd found on sourceforge from 2010
but with a lot of changes to adhere to the Bareos coding style
and to be able to compile it with mingw instead of Visual C.

We also rewrote it to use pthreads instead of the windows threading,
and the whole code is made somewhat more modular using inline
functions which handle certain logic operations.

We also implemented the ability to overwrite the plugin options
which can be passed in via the Plugin Options method from the
restore menu.

Currently we allow on restore to restore to a so called
Point In Time (PIT) using the normal MSSQL STOPBEFORMARK, STOPAT
and STOPATMARK which allow you to rollback to a certain time
or specific LSN (Log Sequence Number). This should all make
sense to MSSQL DBA's who are used to using the native backup
tooling to make disk backups.

Fixes #199: Plugin to do backup of Microsoft Sql Server (mssql) server
Add the new mssqlvdi plugin to the windows installer.

Fixes #199: Plugin to do backup of Microsoft Sql Server (mssql) server
Allow upgrade on windows

Now we check if bareos is already installed on the windows machine.
If so, we call the uninstaller of the previous version and install
ourselves afterwards.

The newer uninstaller keep the configuration files as the uninstaller is
called accordingly.

The dialogs for parametrizing the configuration and the dialog
for the config snipped are not shown, as the existing configuration
files will be used.

Still the user has to choose the same components during the upgrade
as were installed before.

fixes #225: Windows installer can't upgrade in place
Bwlimit not working in Windows 64bits client

The nanosleep implementation in compat.c for windows if of poor quality.
Try using the fallback to the pthread_cond_timedwait() in bsys.c by
no longer claiming in the mingwconfig.h that we have a working nanosleep()
and remove the poor implementation. There are a couple of ways of sleeping
in a somewhat portable way e.g. select(), poll() or pthread_cond_timedwait().
So for as we use pthreads anyway everywhere we leave the pthread_cond_timedwait()
method.

Also check if bmicrosleep() returns early in the bandwidth limiting code
and if it does schedule an new bmicrosleep() of the sleep time remaining.

Fixes #226: Bwlimit not working in Windows 64bits client
Fix job pruning.

We added different types of job pruning some time ago but it seems that
the JobType argument to prune_jobs() is just ignored and only Backup
jobs are pruned. This is a first attempt at really implementing pruning
of different Job types.
Fix two compile errors on AIX.
Merge branch 'mvw/pruning'
Fix windows installer.

Explicitly do SetOutPath to the right directory for all sections
so files end up in the right directory and not in the last set output
dir. Also autoselect the install of the plugins. And some cleanup of
old debug and unneeded comments.
Fix error.
Fix some complains by NSIS.

And document why we have two libgcc names (32/64 bits).
Get ride of the dreaded my_compare function.

Give the function a somewhat better name so you at least get a clue as
to what its doing.
Merge branch 'master' of https://github.com/bareos/bareos