Changesets: bareos

bareos-13.2 1658a64e

2013-09-27 16:22

Philipp Storz


Committer: Marco van Wieringen

Ported: N/A

Details Diff
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 0000225: Windows installer can't upgrade in place
mod - platforms/win32/winbareos.nsi Diff File

bareos-13.2 b70edf45

2013-09-27 16:22

Marco van Wieringen

Ported: N/A

Details Diff
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 0000199: Plugin to do backup of Microsoft Sql Server (mssql) server
mod - src/win32/plugins/filed/Makefile Diff File
add - src/win32/plugins/filed/mssqlvdi-fd.c Diff File

master f4330e39

2013-09-27 14:22

mvwieringen

Ported: N/A

Details Diff
Add the new mssqlvdi plugin to the windows installer.

Fixes 0000199: Plugin to do backup of Microsoft Sql Server (mssql) server
Affected Issues
0000199
mod - platforms/win32/winbareos-nsi.spec Diff File
mod - platforms/win32/winbareos.nsi Diff File
mod - platforms/win32/winbareos32.spec Diff File
mod - platforms/win32/winbareos64.spec Diff File

master c6ba1f36

2013-09-27 14:22

pstorz


Committer: mvwieringen

Ported: N/A

Details Diff
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 0000225: Windows installer can't upgrade in place
Affected Issues
0000225
mod - platforms/win32/winbareos.nsi Diff File

master e5195308

2013-09-27 14:22

mvwieringen

Ported: N/A

Details Diff
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 0000226: Bwlimit not working in Windows 64bits client
Affected Issues
0000226
mod - src/lib/bsock.c Diff File
mod - src/lib/bsys.c Diff File
mod - src/win32/compat/compat.c Diff File
mod - src/win32/compat/include/mingwconfig.h Diff File

bareos-12.4 aaac8526

2013-09-27 14:22

pstorz


Committer: mvwieringen

Ported: N/A

Details Diff
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 0000225: Windows installer can't upgrade in place
Affected Issues
0000225
mod - platforms/win32/winbareos.nsi Diff File

bareos-13.2 e14ae198

2013-09-27 14:22

mvwieringen

Ported: N/A

Details Diff
Add the new mssqlvdi plugin to the windows installer.

Fixes 0000199: Plugin to do backup of Microsoft Sql Server (mssql) server
Affected Issues
0000199
mod - platforms/win32/winbareos-nsi.spec Diff File
mod - platforms/win32/winbareos.nsi Diff File
mod - platforms/win32/winbareos32.spec Diff File
mod - platforms/win32/winbareos64.spec Diff File

bareos-13.2 11986429

2013-09-27 14:22

pstorz


Committer: mvwieringen

Ported: N/A

Details Diff
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 0000225: Windows installer can't upgrade in place
Affected Issues
0000225
mod - platforms/win32/winbareos.nsi Diff File

master 3559671a

2013-09-27 14:22

mvwieringen

Ported: N/A

Details Diff
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 0000199: Plugin to do backup of Microsoft Sql Server (mssql) server
Affected Issues
0000199
mod - src/win32/plugins/filed/Makefile Diff File
add - src/win32/plugins/filed/mssqlvdi-fd.c Diff File

bareos-13.2 058f0619

2013-09-27 14:22

mvwieringen

Ported: N/A

Details Diff
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 0000199: Plugin to do backup of Microsoft Sql Server (mssql) server
Affected Issues
0000199
mod - src/win32/plugins/filed/Makefile Diff File
add - src/win32/plugins/filed/mssqlvdi-fd.c Diff File

master ce0c4eeb

2013-09-27 13:18

pstorz


Committer: mvwieringen

Ported: N/A

Details Diff
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.
mod - src/dird/protos.h Diff File
mod - src/dird/ua.h Diff File
mod - src/dird/ua_cmds.c Diff File
mod - src/dird/ua_dotcmds.c Diff File
mod - src/dird/ua_output.c Diff File
mod - src/dird/ua_prune.c Diff File
mod - src/dird/ua_purge.c Diff File
mod - src/dird/ua_query.c Diff File
mod - src/dird/ua_restore.c Diff File

master aa5db322

2013-09-25 23:21

mvwieringen

Ported: N/A

Details Diff
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.
mod - README.NDMP Diff File

bareos-13.2 c02cc91d

2013-09-11 19:46

Marco van Wieringen

Ported: N/A

Details Diff
Fix plugin install into right directory.
mod - platforms/win32/winbareos.nsi Diff File

master fb428fcc

2013-09-11 17:46

mvwieringen

Ported: N/A

Details Diff
Fix plugin install into right directory.
mod - platforms/win32/winbareos.nsi Diff File

bareos-12.4 3dd336ce

2013-09-11 17:46

mvwieringen

Ported: N/A

Details Diff
Fix plugin install into right directory.
mod - platforms/win32/winbareos.nsi Diff File
mod - platforms/win32/winbareos32.spec Diff File
mod - platforms/win32/winbareos64.spec Diff File

bareos-13.2 57f339b8

2013-09-11 17:46

mvwieringen

Ported: N/A

Details Diff
Fix plugin install into right directory.
mod - platforms/win32/winbareos.nsi Diff File

master e0256bc6

2013-09-09 16:50

pstorz


Committer: mvwieringen

Ported: N/A

Details Diff
SelfTest fileset added

For the regression tests and for first tries it is better
to have a SelfTest fileset that only backups a limited
amount of data.

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
mod - src/defaultconfigs/diskonly/bareos-dir.conf.in Diff File
mod - src/dird/bareos-dir.conf.in Diff File

bareos-13.2 f6f9ff58

2013-09-09 12:42

Philipp Storz


Committer: Marco van Wieringen

Ported: N/A

Details Diff
Fixed rights on tray-monitor.conf

When limiting the access to the config files to admin only
we also did this to the tray-monitor configuration file.

Of course this is wrong, as the traymon is started as normal user.

This patch fixes this and sets the tray-monitor.conf file ownership and
access rights to the group "users".

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
mod - platforms/win32/winbareos.nsi Diff File

bareos-12.4 e0e0232f

2013-09-09 10:42

pstorz


Committer: mvwieringen

Ported: N/A

Details Diff
Fixed rights on tray-monitor.conf

When limiting the access to the config files to admin only
we also did this to the tray-monitor configuration file.

Of course this is wrong, as the traymon is started as normal user.

This patch fixes this and sets the tray-monitor.conf file ownership and
access rights to the group "users".

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
mod - platforms/win32/winbareos.nsi Diff File

bareos-13.2 a99d96c7

2013-09-09 10:42

pstorz


Committer: mvwieringen

Ported: N/A

Details Diff
Fixed rights on tray-monitor.conf

When limiting the access to the config files to admin only
we also did this to the tray-monitor configuration file.

Of course this is wrong, as the traymon is started as normal user.

This patch fixes this and sets the tray-monitor.conf file ownership and
access rights to the group "users".

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
mod - platforms/win32/winbareos.nsi Diff File

master 05000036

2013-09-09 10:42

pstorz


Committer: mvwieringen

Ported: N/A

Details Diff
Fixed rights on tray-monitor.conf

When limiting the access to the config files to admin only
we also did this to the tray-monitor configuration file.

Of course this is wrong, as the traymon is started as normal user.

This patch fixes this and sets the tray-monitor.conf file ownership and
access rights to the group "users".

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
mod - platforms/win32/winbareos.nsi Diff File

master 273a9a22

2013-09-07 23:33

mvwieringen

Ported: N/A

Details Diff
Try to fix travis for new pool names.
mod - test/all Diff File

master a8db3504

2013-09-07 21:13

pstorz


Committer: mvwieringen

Ported: N/A

Details Diff
replaced the default configs with the new ones

We now install the new disk-only default configuration files
for director and storage.

The old ones are still available in the folder defaultconfigs/legacy

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
add - src/defaultconfigs/legacy/README Diff File
add - src/defaultconfigs/legacy/bareos-dir.conf.in Diff File
add - src/defaultconfigs/legacy/bareos-sd.conf.in Diff File
mod - src/dird/bareos-dir.conf.in Diff File
mod - src/stored/bareos-sd.conf.in Diff File

bareos-13.2 1f21f94f

2013-09-07 10:26

Marco van Wieringen

Ported: N/A

Details Diff
Enhance allowed script dir to not allow relative pathnames.

When users start using releative pathnames it becomes hard to determine
if a path is within a certain allowed path setting without reverting to
more drastic measures. So we just don't allow relative pathnames for
scripts when using the allowed script dir feature.
mod - src/lib/runscript.c Diff File

master 58cc058d

2013-09-07 08:26

mvwieringen

Ported: N/A

Details Diff
Enhance allowed script dir to not allow relative pathnames.

When users start using releative pathnames it becomes hard to determine
if a path is within a certain allowed path setting without reverting to
more drastic measures. So we just don't allow relative pathnames for
scripts when using the allowed script dir feature.
mod - src/lib/runscript.c Diff File
 First  Prev  1 2 3 ... 70 ... 140 ... 210 ... 280 ... 350 ... 420 ... 490 ... 560 ... 630 ... 646 647 648 649 650 651 652 ... 675 676 677  Next  Last