Changesets: bareos
master 01e39cc4 2014-02-18 17:48 Philipp Storz Committer: Marco van Wieringen Ported: N/A Details Diff |
Last part in windows support, director on windows. This patch adds the things needed to cross-compile the director using MINGW on Linux. It adds the build infrastructure for building the database backend infrastructure (catalog) and the actual director and dbcheck for windows. It also adds the bsmtp binary in tools and the changes needed to the installer to install all new stuff. It does however not supply the database (postgresql or sqlite3) you need to install those before running the bareos-installer. Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com> |
||
mod - platforms/win32/fillup.sed | Diff File | ||
add - platforms/win32/mingw-debugsrc-devel.spec | Diff File | ||
mod - platforms/win32/tray-monitor-conf-fd-sd.patch | Diff File | ||
mod - platforms/win32/tray-monitor-conf.patch | Diff File | ||
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 | ||
mod - src/cats/bdb_priv.h | Diff File | ||
mod - src/cats/cats.h | Diff File | ||
mod - src/cats/cats_dynamic.c | Diff File | ||
mod - src/cats/cats_dynamic.h | Diff File | ||
mod - src/cats/dbi.c | Diff File | ||
mod - src/cats/ingres.c | Diff File | ||
mod - src/cats/mysql.c | Diff File | ||
mod - src/cats/postgresql.c | Diff File | ||
mod - src/cats/sqlite.c | Diff File | ||
mod - src/dird/bareos-dir.conf.in | Diff File | ||
mod - src/include/baconfig.h | Diff File | ||
mod - src/win32/Makefile | Diff File | ||
mod - src/win32/Makefile.inc | Diff File | ||
mod - src/win32/README.OBS | Diff File | ||
add - src/win32/cats/Makefile | Diff File | ||
add - src/win32/cats/make_def | Diff File | ||
mod - src/win32/compat/include/mingwconfig.h | Diff File | ||
mod - src/win32/console/Makefile | Diff File | ||
mod - src/win32/console/consoleres.rc.in | Diff File | ||
add - src/win32/dird/Makefile | Diff File | ||
add - src/win32/dird/dbcheckres.rc.in | Diff File | ||
add - src/win32/dird/dirdres.rc.in | Diff File | ||
add - src/win32/dird/who.h | Diff File | ||
mod - src/win32/filed/Makefile | Diff File | ||
mod - src/win32/filed/who.h | Diff File | ||
mod - src/win32/findlib/Makefile | Diff File | ||
mod - src/win32/generic/service.c | Diff File | ||
mod - src/win32/lib/Makefile | Diff File | ||
mod - src/win32/plugins/Makefile | Diff File | ||
mod - src/win32/plugins/filed/Makefile | Diff File | ||
mod - src/win32/plugins/stored/Makefile | Diff File | ||
mod - src/win32/stored/Makefile | Diff File | ||
mod - src/win32/stored/who.h | Diff File | ||
add - src/win32/tools/Makefile | Diff File | ||
add - src/win32/tools/bsmtpres.rc.in | Diff File | ||
master 4adffb6e 2014-02-18 16:48 Ported: N/A Details Diff |
Use proper filename for windows paths. For ASCII paths you need to use unix_name_to_win32() and for UTF8 paths make_win32_path_UTF8_2_wchar() We were always doing first a unix_name_to_win32() and that output as input for UTF8 make_win32_path_UTF8_2_wchar() that ain't going to work. Fixes 0000274: bareos-fd on windows 7 struggles with unix-style pathes |
Affected Issues 0000274 |
|
mod - src/win32/compat/compat.c | Diff File | ||
mod - src/win32/compat/include/compat.h | Diff File | ||
master 297cd69b 2014-02-18 16:48 Committer: mvwieringen Ported: N/A Details Diff |
Last part in windows support, director on windows. This patch adds the things needed to cross-compile the director using MINGW on Linux. It adds the build infrastructure for building the database backend infrastructure (catalog) and the actual director and dbcheck for windows. It also adds the bsmtp binary in tools and the changes needed to the installer to install all new stuff. It does however not supply the database (postgresql or sqlite3) you need to install those before running the bareos-installer. Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com> |
||
mod - platforms/win32/fillup.sed | Diff File | ||
add - platforms/win32/mingw-debugsrc-devel.spec | Diff File | ||
mod - platforms/win32/tray-monitor-conf-fd-sd.patch | Diff File | ||
mod - platforms/win32/tray-monitor-conf.patch | Diff File | ||
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 | ||
mod - src/cats/bdb_priv.h | Diff File | ||
mod - src/cats/cats.h | Diff File | ||
mod - src/cats/cats_dynamic.c | Diff File | ||
mod - src/cats/cats_dynamic.h | Diff File | ||
mod - src/cats/dbi.c | Diff File | ||
mod - src/cats/ingres.c | Diff File | ||
mod - src/cats/mysql.c | Diff File | ||
mod - src/cats/postgresql.c | Diff File | ||
mod - src/cats/sqlite.c | Diff File | ||
mod - src/dird/bareos-dir.conf.in | Diff File | ||
mod - src/include/baconfig.h | Diff File | ||
mod - src/win32/Makefile | Diff File | ||
mod - src/win32/Makefile.inc | Diff File | ||
mod - src/win32/README.OBS | Diff File | ||
add - src/win32/cats/Makefile | Diff File | ||
add - src/win32/cats/make_def | Diff File | ||
mod - src/win32/compat/include/mingwconfig.h | Diff File | ||
mod - src/win32/console/Makefile | Diff File | ||
mod - src/win32/console/consoleres.rc.in | Diff File | ||
add - src/win32/dird/Makefile | Diff File | ||
add - src/win32/dird/dbcheckres.rc.in | Diff File | ||
add - src/win32/dird/dirdres.rc.in | Diff File | ||
add - src/win32/dird/who.h | Diff File | ||
mod - src/win32/filed/Makefile | Diff File | ||
mod - src/win32/filed/who.h | Diff File | ||
mod - src/win32/findlib/Makefile | Diff File | ||
mod - src/win32/generic/service.c | Diff File | ||
mod - src/win32/lib/Makefile | Diff File | ||
mod - src/win32/plugins/Makefile | Diff File | ||
mod - src/win32/plugins/filed/Makefile | Diff File | ||
mod - src/win32/plugins/stored/Makefile | Diff File | ||
mod - src/win32/stored/Makefile | Diff File | ||
mod - src/win32/stored/who.h | Diff File | ||
add - src/win32/tools/Makefile | Diff File | ||
add - src/win32/tools/bsmtpres.rc.in | Diff File | ||
master 13c583bb 2014-02-13 16:01 Marco van Wieringen Ported: N/A Details Diff |
Add first prototype for object storage device abstraction. For this we use libdroplet from scality. |
||
mod - autoconf/configure.in | Diff File | ||
mod - src/stored/Makefile.in | Diff File | ||
add - src/stored/backends/object_store_device.c | Diff File | ||
add - src/stored/backends/object_store_device.h | Diff File | ||
mod - src/stored/dev.c | Diff File | ||
mod - src/stored/dev.h | Diff File | ||
mod - src/stored/stored_conf.c | Diff File | ||
master 5cfa70c2 2014-02-13 15:01 Ported: N/A Details Diff |
Add first prototype for object storage device abstraction. For this we use libdroplet from scality. |
||
mod - autoconf/configure.in | Diff File | ||
mod - src/stored/Makefile.in | Diff File | ||
add - src/stored/backends/object_store_device.c | Diff File | ||
add - src/stored/backends/object_store_device.h | Diff File | ||
mod - src/stored/dev.c | Diff File | ||
mod - src/stored/dev.h | Diff File | ||
mod - src/stored/stored_conf.c | Diff File | ||
master b8deed16 2014-02-13 11:02 Philipp Storz Committer: Marco van Wieringen Ported: N/A Details Diff |
Autodetermine WIN_DEBUG and WIN_VERSION values We now automatically determine the WIN_DEBUG value from the version info, so if the version contains debug, we set it to yes otherwise to no. For the WIN_VERSION, we check if the name contains "64", if so the WIN_VERSION is 64 else it is 32. |
||
mod - platforms/win32/winbareos32.spec | Diff File | ||
mod - platforms/win32/winbareos64.spec | Diff File | ||
master 3326d222 2014-02-13 10:02 Committer: mvwieringen Ported: N/A Details Diff |
Autodetermine WIN_DEBUG and WIN_VERSION values We now automatically determine the WIN_DEBUG value from the version info, so if the version contains debug, we set it to yes otherwise to no. For the WIN_VERSION, we check if the name contains "64", if so the WIN_VERSION is 64 else it is 32. |
||
mod - platforms/win32/winbareos32.spec | Diff File | ||
mod - platforms/win32/winbareos64.spec | Diff File | ||
bareos-13.2 adbc4a6f 2014-02-13 10:02 Committer: mvwieringen Ported: N/A Details Diff |
Autodetermine WIN_DEBUG and WIN_VERSION values We now automatically determine the WIN_DEBUG value from the version info, so if the version contains debug, we set it to yes otherwise to no. For the WIN_VERSION, we check if the name contains "64", if so the WIN_VERSION is 64 else it is 32. |
||
mod - platforms/win32/winbareos32.spec | Diff File | ||
mod - platforms/win32/winbareos64.spec | Diff File | ||
master c361f5fe 2014-02-12 23:09 Joerg Steffens Committer: Marco van Wieringen Ported: N/A Details Diff |
fixes path in univention-bareos-schema package Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com> |
||
mod - debian/univention-bareos-schema.install | Diff File | ||
mod - platforms/univention/Makefile.in | Diff File | ||
master bebe40c7 2014-02-12 22:09 Committer: mvwieringen Ported: N/A Details Diff |
fixes path in univention-bareos-schema package Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com> |
||
mod - debian/univention-bareos-schema.install | Diff File | ||
mod - platforms/univention/Makefile.in | Diff File | ||
bareos-13.2 3e491709 2014-02-12 22:09 Committer: mvwieringen Ported: N/A Details Diff |
fixes path in univention-bareos-schema package Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com> |
||
mod - debian/univention-bareos-schema.install | Diff File | ||
mod - platforms/univention/Makefile.in | Diff File | ||
bareos-13.2 7b92ab6b 2014-02-12 15:17 Ported: N/A Details Diff |
Fix wrong dummy function definition. | ||
mod - src/lib/compression.c | Diff File | ||
bareos-12.4 067a1058 2014-02-11 14:15 Ported: N/A Details Diff |
Fix typos. | ||
mod - src/filed/restore.c | Diff File | ||
mod - src/stored/stored_conf.c | Diff File | ||
master f1a80357 2014-02-11 10:49 Marco van Wieringen Ported: N/A Details Diff |
SD to SD replication makes SD crash Problem is that we wait up to 30 minutes for the SD-SD replication job to start but it could be that the total migration/copy run takes longer then 30 minutes to finish all jobs. The current code doesn't take this into consideration and doesn't check if there is actually a remote SD that connected for doing the replication. So fix is to not continue when sd replication socket is not connected. And also remove the timeout on starting a SD-SD replication session. The normal FD-SD connection is protected with a timeout so we don't hang when a FD never connects. As we support canceling a storage Job from the director and the director should cleanly cancel the storage job any way when it fails the copy or migration job it should be no problem. In a normal backup/restore there are 3 daemons involved e.g. director, storage daemon and file daemon but with migration the director controls everything and controls the at maximum two storage daemons. Fixes 0000276: SD to SD replication makes SD crash |
||
mod - src/stored/dir_cmd.c | Diff File | ||
mod - src/stored/sd_cmds.c | Diff File | ||
master cf07f93d 2014-02-11 09:49 Ported: N/A Details Diff |
SD to SD replication makes SD crash Problem is that we wait up to 30 minutes for the SD-SD replication job to start but it could be that the total migration/copy run takes longer then 30 minutes to finish all jobs. The current code doesn't take this into consideration and doesn't check if there is actually a remote SD that connected for doing the replication. So fix is to not continue when sd replication socket is not connected. And also remove the timeout on starting a SD-SD replication session. The normal FD-SD connection is protected with a timeout so we don't hang when a FD never connects. As we support canceling a storage Job from the director and the director should cleanly cancel the storage job any way when it fails the copy or migration job it should be no problem. In a normal backup/restore there are 3 daemons involved e.g. director, storage daemon and file daemon but with migration the director controls everything and controls the at maximum two storage daemons. Fixes 0000276: SD to SD replication makes SD crash |
Affected Issues 0000276 |
|
mod - src/stored/dir_cmd.c | Diff File | ||
mod - src/stored/sd_cmds.c | Diff File | ||
bareos-13.2 99c7b1ed 2014-02-11 09:49 Ported: N/A Details Diff |
SD to SD replication makes SD crash Problem is that we wait up to 30 minutes for the SD-SD replication job to start but it could be that the total migration/copy run takes longer then 30 minutes to finish all jobs. The current code doesn't take this into consideration and doesn't check if there is actually a remote SD that connected for doing the replication. So fix is to not continue when sd replication socket is not connected. And also remove the timeout on starting a SD-SD replication session. The normal FD-SD connection is protected with a timeout so we don't hang when a FD never connects. As we support canceling a storage Job from the director and the director should cleanly cancel the storage job any way when it fails the copy or migration job it should be no problem. In a normal backup/restore there are 3 daemons involved e.g. director, storage daemon and file daemon but with migration the director controls everything and controls the at maximum two storage daemons. Fixes 0000276: SD to SD replication makes SD crash |
Affected Issues 0000276 |
|
mod - src/stored/dir_cmd.c | Diff File | ||
mod - src/stored/sd_cmds.c | Diff File | ||
master 9d2369eb 2014-02-11 00:08 Marco van Wieringen Ported: N/A Details Diff |
Add first prototype for abstracting Gluster FS API. | ||
mod - autoconf/configure.in | Diff File | ||
mod - src/stored/Makefile.in | Diff File | ||
add - src/stored/backends/gfapi_device.c | Diff File | ||
add - src/stored/backends/gfapi_device.h | Diff File | ||
mod - src/stored/dev.c | Diff File | ||
mod - src/stored/dev.h | Diff File | ||
mod - src/stored/stored_conf.c | Diff File | ||
master e499f12d 2014-02-11 00:08 Marco van Wieringen Ported: N/A Details Diff |
Tweak layout and naming. - Always use the virtual d_open method. - Open system call is called with 2 or 3 arguments but they are named path, oflag and mode so don't use mode for what is normally is called oflag as that could be misinterpretted as being the mode argument. - Tweak layout of comments and use spaces around or-ed values for readability. - Abstract truncate function to device specific truncate function. - Rename ST_APPEND to ST_APPENDREADY and ST_READ to ST_READREADY to work around namespace collision of ST_APPEND in statvfs.h on Linux. - Move device abstraction into src/stored/backends |
||
mod - src/stored/Makefile.in | Diff File | ||
mod - src/stored/acquire.c | Diff File | ||
mod - src/stored/askdir.c | Diff File | ||
add - src/stored/backends/unix_file_device.c | Diff File | ||
add - src/stored/backends/unix_file_device.h | Diff File | ||
mod - src/stored/btape.c | Diff File | ||
mod - src/stored/dev.c | Diff File | ||
mod - src/stored/dev.h | Diff File | ||
mod - src/stored/mount.c | Diff File | ||
mod - src/stored/reserve.c | Diff File | ||
mod - src/win32/stored/Makefile | Diff File | ||
add - src/win32/stored/backends/win32_file_device.c | Diff File | ||
rm - src/win32/stored/win32_file_device.c | Diff File | ||
master 5b0a367c 2014-02-10 23:08 Ported: N/A Details Diff |
Add first prototype for abstracting Gluster FS API. | ||
mod - autoconf/configure.in | Diff File | ||
mod - src/stored/Makefile.in | Diff File | ||
add - src/stored/backends/gfapi_device.c | Diff File | ||
add - src/stored/backends/gfapi_device.h | Diff File | ||
mod - src/stored/dev.c | Diff File | ||
mod - src/stored/dev.h | Diff File | ||
mod - src/stored/stored_conf.c | Diff File | ||
master c05f55d8 2014-02-10 23:08 Ported: N/A Details Diff |
Tweak layout and naming. - Always use the virtual d_open method. - Open system call is called with 2 or 3 arguments but they are named path, oflag and mode so don't use mode for what is normally is called oflag as that could be misinterpretted as being the mode argument. - Tweak layout of comments and use spaces around or-ed values for readability. - Abstract truncate function to device specific truncate function. - Rename ST_APPEND to ST_APPENDREADY and ST_READ to ST_READREADY to work around namespace collision of ST_APPEND in statvfs.h on Linux. - Move device abstraction into src/stored/backends |
||
mod - src/stored/Makefile.in | Diff File | ||
mod - src/stored/acquire.c | Diff File | ||
mod - src/stored/askdir.c | Diff File | ||
add - src/stored/backends/unix_file_device.c | Diff File | ||
add - src/stored/backends/unix_file_device.h | Diff File | ||
mod - src/stored/btape.c | Diff File | ||
mod - src/stored/dev.c | Diff File | ||
mod - src/stored/dev.h | Diff File | ||
mod - src/stored/mount.c | Diff File | ||
mod - src/stored/reserve.c | Diff File | ||
mod - src/win32/stored/Makefile | Diff File | ||
add - src/win32/stored/backends/win32_file_device.c | Diff File | ||
rm - src/win32/stored/win32_file_device.c | Diff File | ||
master 0349eb43 2014-02-10 18:19 Marco van Wieringen Ported: N/A Details Diff |
Fix check of array value. | ||
mod - src/stored/bsr.c | Diff File | ||
master 1c43405c 2014-02-10 18:17 Marco van Wieringen Ported: N/A Details Diff |
Fix leaked file descriptor on error path. | ||
mod - src/dird/fd_cmds.c | Diff File | ||
master 56f052d2 2014-02-10 18:14 Marco van Wieringen Ported: N/A Details Diff |
Only free a vollist when we have one. | ||
mod - src/dird/ua_label.c | Diff File | ||
master 35462969 2014-02-10 18:11 Marco van Wieringen Ported: N/A Details Diff |
Protect all access to dcr->job_spool_size via dcr->dev->spool_mutex | ||
mod - src/stored/spool.c | Diff File | ||
master 0a4fc0cc 2014-02-10 17:56 Marco van Wieringen Ported: N/A Details Diff |
Fix typos. | ||
mod - src/filed/restore.c | Diff File | ||
mod - src/stored/stored_conf.c | Diff File |