Changesets: bareos2015
bareos-14.2 8dd095e3 2013-09-27 16:22 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-13.2 8ca972ef 2013-09-27 16:22 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-14.2 4bc48ab0 2013-09-27 16:22 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 b70edf45 2013-09-27 16:22 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-14.2 fd5b0984 2013-09-27 15:18 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 | ||
bareos-14.2 b08b4c1a 2013-09-26 01:21 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-14.2 fa220869 2013-09-11 19:46 Ported: N/A Details Diff |
Fix plugin install into right directory. | ||
mod - platforms/win32/winbareos.nsi | Diff File | ||
bareos-13.2 c02cc91d 2013-09-11 19:46 Ported: N/A Details Diff |
Fix plugin install into right directory. | ||
mod - platforms/win32/winbareos.nsi | Diff File | ||
bareos-12.4 63e33819 2013-09-11 19:46 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-14.2 4d7f4c17 2013-09-09 18:50 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-14.2 42433b39 2013-09-09 12:42 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 f6f9ff58 2013-09-09 12:42 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-12.4 5de47c3c 2013-09-09 12:42 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-14.2 5668c4d0 2013-09-08 01:33 Ported: N/A Details Diff |
Try to fix travis for new pool names. | ||
mod - test/all | Diff File | ||
bareos-14.2 5510fc92 2013-09-07 23:13 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-14.2 fdb3e788 2013-09-07 10:26 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 | ||
bareos-13.2 1f21f94f 2013-09-07 10:26 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 | ||
bareos-14.2 cb29a921 2013-09-06 17:18 Ported: N/A Details Diff |
Tweak Makefile.in to always show what its doing. | ||
mod - src/dird/Makefile.in | Diff File | ||
mod - src/filed/Makefile.in | Diff File | ||
mod - src/stored/Makefile.in | Diff File | ||
mod - src/tests/Makefile.in | Diff File | ||
mod - src/tools/Makefile.in | Diff File | ||
bareos-13.2 4637ac1a 2013-09-06 17:18 Ported: N/A Details Diff |
Tweak Makefile.in to always show what its doing. | ||
mod - src/dird/Makefile.in | Diff File | ||
mod - src/filed/Makefile.in | Diff File | ||
mod - src/stored/Makefile.in | Diff File | ||
mod - src/tests/Makefile.in | Diff File | ||
mod - src/tools/Makefile.in | Diff File | ||
bareos-14.2 1d68f5a3 2013-09-05 21:51 Ported: N/A Details Diff |
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. |
||
mod - src/dird/ua_prune.c | Diff File | ||
bareos-13.2 eed546f9 2013-09-05 17:29 Ported: N/A Details Diff |
Fix version number. | ||
mod - platforms/packaging/bareos-Univention_3.1.dsc | Diff File | ||
bareos-13.2 2fe234c2 2013-09-05 14:52 Committer: mvwieringen Ported: N/A Details Diff |
update version number to 13.2.1 | ||
mod - configure | Diff File | ||
mod - platforms/packaging/bareos-Debian_6.0.dsc | Diff File | ||
mod - platforms/packaging/bareos-Debian_7.0.dsc | Diff File | ||
mod - platforms/packaging/bareos-xUbuntu_10.04.dsc | Diff File | ||
mod - platforms/packaging/bareos-xUbuntu_12.04.dsc | Diff File | ||
mod - platforms/packaging/bareos.changes | Diff File | ||
mod - platforms/packaging/bareos.spec | Diff File | ||
mod - platforms/win32/winbareos-nsi.spec | Diff File | ||
mod - platforms/win32/winbareos32.spec | Diff File | ||
mod - platforms/win32/winbareos64.spec | Diff File | ||
mod - po/POTFILES.in | Diff File | ||
mod - src/include/version.h | Diff File | ||
bareos-12.4 60f860f4 2013-09-04 13:39 Committer: mvwieringen Ported: N/A Details Diff |
Updated version to 12.4.5 | ||
mod - configure | Diff File | ||
mod - platforms/opsi/CLIENT_DATA/setup3264.ins | Diff File | ||
mod - platforms/packaging/bareos-Debian_6.0.dsc | Diff File | ||
mod - platforms/packaging/bareos-Debian_7.0.dsc | Diff File | ||
mod - platforms/packaging/bareos-xUbuntu_12.04.dsc | Diff File | ||
mod - platforms/packaging/bareos.changes | Diff File | ||
mod - platforms/packaging/bareos.spec | Diff File | ||
mod - platforms/win32/winbareos-nsi.spec | Diff File | ||
mod - platforms/win32/winbareos32.spec | Diff File | ||
mod - platforms/win32/winbareos64.spec | Diff File | ||
mod - po/POTFILES.in | Diff File | ||
mod - po/bareos.pot | Diff File | ||
mod - po/de.po | Diff File | ||
mod - po/es.po | Diff File | ||
mod - po/fr.po | Diff File | ||
mod - po/it.po | Diff File | ||
mod - po/nl.po | Diff File | ||
mod - po/sv.po | Diff File | ||
mod - po/uk.po | Diff File | ||
mod - src/include/version.h | Diff File | ||
bareos-14.2 a7448323 2013-09-04 13:10 Ported: N/A Details Diff |
Copy job definition requires unnecessary settings When configuring a Migration or Copy Job you need to specify a Client and Fileset although those items are never used in the Job as it selects via a certain selection criterium the Jobs it needs to Migrate or Copy and uses the Client and Fileset of that original Job. We relaxed the configuration engine to no longer make the Client and Fileset keyword required keywords. In the check_resources() function we now check after the required keyword check what type of Job is configured and when its not a Migration or Copy Job we still fail the configuration check as for any Job not being a Migration or Copy Job we still need the Client and Fileset. We also needed to check in a lot of places if we have a Client or Fileset for the current running Job as a lot of code assumes that there always is a Client or Fileset. This is of course a bad assumption and hopefully we found all places where these wrong assumptions are made and the Jobs Client or Fileset pointer is dereferenced without a check. This new code passed a full regression test both with the old configs for Migrate and Copy with a dummy Client and Fileset and without. Fixes 0000220: Copy job definition requires unnecessary settings |
Affected Issues 0000220 |
|
mod - src/dird/backup.c | Diff File | ||
mod - src/dird/dird.c | Diff File | ||
mod - src/dird/dird_conf.c | Diff File | ||
mod - src/dird/job.c | Diff File | ||
mod - src/dird/jobq.c | Diff File | ||
mod - src/dird/migrate.c | Diff File | ||
mod - src/dird/msgchan.c | Diff File | ||
mod - src/dird/ndmp_dma.c | Diff File | ||
mod - src/dird/protos.h | Diff File | ||
mod - src/dird/quota.c | Diff File | ||
mod - src/dird/restore.c | Diff File | ||
mod - src/dird/ua_cmds.c | Diff File | ||
mod - src/dird/ua_run.c | Diff File | ||
mod - src/dird/verify.c | Diff File | ||
mod - src/stored/askdir.c | Diff File | ||
bareos-14.2 8085e55a 2013-09-02 11:30 Ported: N/A Details Diff |
Explicitly order by JobId for rerun. We should rerun jobs in the order the JobIds are arranged so explicitly order the JobIds we select. |
||
mod - src/dird/ua_run.c | Diff File |