Changesets: bareos

master 9bbbef52

2014-02-19 13:20:15

mvwieringen

Ported: N/A

Details Diff
Fix some compiler warnings.
Attach Issues:
mod - src/lib/bsock_sctp.c Diff File
mod - src/lib/bsock_tcp.c Diff File
mod - src/lib/bsock_udt.c Diff File

master 2fc981ba

2014-02-18 16:48:13

Marco van Wieringen

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
Attach Issues:
mod - src/win32/compat/compat.c Diff File
mod - src/win32/compat/include/compat.h Diff File

master 01e39cc4

2014-02-18 16:48:04

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>
Attach Issues:
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 15:48:13

mvwieringen

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 15:48:04

pstorz


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>
Attach Issues:
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 15:01:47

Marco van Wieringen

Ported: N/A

Details Diff
Add first prototype for object storage device abstraction.

For this we use libdroplet from scality.
Attach Issues:
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 14:01:47

mvwieringen

Ported: N/A

Details Diff
Add first prototype for object storage device abstraction.

For this we use libdroplet from scality.
Attach Issues:
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 10:02:48

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.
Attach Issues:
mod - platforms/win32/winbareos32.spec Diff File
mod - platforms/win32/winbareos64.spec Diff File

master 3326d222

2014-02-13 09:02:48

pstorz


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.
Attach Issues:
mod - platforms/win32/winbareos32.spec Diff File
mod - platforms/win32/winbareos64.spec Diff File

bareos-13.2 adbc4a6f

2014-02-13 09:02:48

pstorz


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.
Attach Issues:
mod - platforms/win32/winbareos32.spec Diff File
mod - platforms/win32/winbareos64.spec Diff File

master c361f5fe

2014-02-12 22:09:12

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>
Attach Issues:
mod - debian/univention-bareos-schema.install Diff File
mod - platforms/univention/Makefile.in Diff File

master bebe40c7

2014-02-12 21:09:12

joergs


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>
Attach Issues:
mod - debian/univention-bareos-schema.install Diff File
mod - platforms/univention/Makefile.in Diff File

bareos-13.2 3e491709

2014-02-12 21:09:12

joergs


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>
Attach Issues:
mod - debian/univention-bareos-schema.install Diff File
mod - platforms/univention/Makefile.in Diff File

bareos-13.2 7b92ab6b

2014-02-12 14:17:03

mvwieringen

Ported: N/A

Details Diff
Fix wrong dummy function definition.
Attach Issues:
mod - src/lib/compression.c Diff File

bareos-12.4 067a1058

2014-02-11 13:15:18

mvwieringen

Ported: N/A

Details Diff
Fix typos.
Attach Issues:
mod - src/filed/restore.c Diff File
mod - src/stored/stored_conf.c Diff File

master f1a80357

2014-02-11 09:49:56

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
Attach Issues:
mod - src/stored/dir_cmd.c Diff File
mod - src/stored/sd_cmds.c Diff File

master cf07f93d

2014-02-11 08:49:56

mvwieringen

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 08:49:56

mvwieringen

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-10 23:08:16

Marco van Wieringen

Ported: N/A

Details Diff
Add first prototype for abstracting Gluster FS API.
Attach Issues:
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-10 23:08:11

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
Attach Issues:
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 22:08:16

mvwieringen

Ported: N/A

Details Diff
Add first prototype for abstracting Gluster FS API.
Attach Issues:
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 22:08:11

mvwieringen

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
Attach Issues:
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 17:19:42

Marco van Wieringen

Ported: N/A

Details Diff
Fix check of array value.
Attach Issues:
mod - src/stored/bsr.c Diff File

master 1c43405c

2014-02-10 17:17:34

Marco van Wieringen

Ported: N/A

Details Diff
Fix leaked file descriptor on error path.
Attach Issues:
mod - src/dird/fd_cmds.c Diff File

master 56f052d2

2014-02-10 17:14:34

Marco van Wieringen

Ported: N/A

Details Diff
Only free a vollist when we have one.
Attach Issues:
mod - src/dird/ua_label.c Diff File
 First  Prev  1 2 3 ... 40 ... 80 ... 120 ... 160 ... 200 ... 240 ... 280 ... 320 ... 357 358 359 360 361 362 363 ... 400 401 402 403  Next  Last