Changesets: bareos2015

bareos-14.2 4f4cc264

2013-07-21 13:25:19

mvwieringen

Ported: N/A

Details Diff
Cleanup plugins now we use fd_common.h
Attach Issues:
mod - src/plugins/filed/bpipe-fd.c Diff File
mod - src/plugins/filed/test-deltaseq-fd.c Diff File
mod - src/plugins/filed/test-plugin-fd.c Diff File

bareos-13.2 091375c7

2013-07-21 13:25:19

mvwieringen

Ported: N/A

Details Diff
Cleanup plugins now we use fd_common.h
Attach Issues:
mod - src/plugins/fd/bpipe-fd.c Diff File
mod - src/plugins/fd/test-deltaseq-fd.c Diff File
mod - src/plugins/fd/test-plugin-fd.c Diff File

bareos-14.2 f25e6885

2013-07-21 13:19:10

mvwieringen

Ported: N/A

Details Diff
Upgrade all filed plugins to use fd_common.h
Attach Issues:
mod - src/plugins/filed/bpipe-fd.c Diff File
mod - src/plugins/filed/example-plugin-fd.c Diff File
mod - src/plugins/filed/test-plugin-fd.c Diff File

bareos-13.2 651e718e

2013-07-21 13:19:10

mvwieringen

Ported: N/A

Details Diff
Upgrade all filed plugins to use fd_common.h
Attach Issues:
mod - src/plugins/fd/bpipe-fd.c Diff File
mod - src/plugins/fd/example-plugin-fd.c Diff File
mod - src/plugins/fd/test-plugin-fd.c Diff File

bareos-14.2 c110cccc

2013-07-18 11:15:55

mvwieringen

Ported: N/A

Details Diff
MINGW now supports SetThreadExecutionState

The MINGW version we compile with in OBS supports
SetThreadExecutionState so lets use it.
Attach Issues:
mod - src/filed/dir_cmd.c Diff File
mod - src/win32/compat/compat.c Diff File

bareos-14.2 78059a96

2013-07-18 10:59:24

mvwieringen

Ported: N/A

Details Diff
Cleanup win api compat layer.

Implemented str_2_BSTR and BSTR_2_str and reformated the code a bit.
Attach Issues:
mod - src/win32/compat/compat.c Diff File
mod - src/win32/include/winapi.h Diff File

bareos-13.2 b62c8cea

2013-07-18 10:59:24

mvwieringen

Ported: N/A

Details Diff
Cleanup win api compat layer.

Implemented str_2_BSTR and BSTR_2_str and reformated the code a bit.
Attach Issues:
mod - src/win32/compat/compat.c Diff File
mod - src/win32/include/winapi.h Diff File

bareos-14.2 2b47741a

2013-07-17 23:28:19

mvwieringen

Ported: N/A

Details Diff
Fill the process environment with an BAREOS_CFGDIR

When we parse a configfile we push the directory we found it in into the
process environment as BAREOS_CFGDIR so you can use that same directory
as %BAREOS_CFGDIR% on windows and $BAREOS_CFGDIR on UNIX when
referencing an other configfile in that same directory.
Attach Issues:
mod - src/lib/parse_conf.c Diff File
mod - src/win32/compat/include/mingwconfig.h Diff File

bareos-14.2 a4bb4971

2013-07-17 19:30:24

mvwieringen

Ported: N/A

Details Diff
Implement a store_alist_dir function

We currently have the following functions:

- store_dir() (For storing a string with shell expansion to a dir/file)
- store_str() (For storing a string)
- store_alist_str() (For storing a list of strings)

we are missing a store_alist_dir() which stores a list of shell
expanded dirs/files.

Fixes 0000209: Implement a store_alist_dir function
Affected Issues
0000209
mod - src/filed/filed_conf.c Diff File
mod - src/lib/parse_conf.c Diff File
mod - src/lib/parse_conf.h Diff File

bareos-14.2 1bbd8576

2013-07-17 17:16:45

mvwieringen

Ported: N/A

Details Diff
do_shell_expansion for default string only when it does not starts with a |
Attach Issues:
mod - src/lib/parse_conf.c Diff File

bareos-13.2 75930b2c

2013-07-17 17:16:45

mvwieringen

Ported: N/A

Details Diff
do_shell_expansion for default string only when it does not starts with a |
Attach Issues:
mod - src/lib/parse_conf.c Diff File

bareos-12.4 f86a2c3b

2013-07-17 17:16:45

mvwieringen

Ported: N/A

Details Diff
do_shell_expansion for default string only when it does not starts with a |
Attach Issues:
mod - src/lib/parse_conf.c Diff File

bareos-14.2 301e17b1

2013-07-13 17:29:43

mvwieringen

Ported: N/A

Details Diff
Implement plugin options passing.

Implement a new feature to pass plugin option as part of the restore process.
Most of the plugin options input was already implemented but for the restore
the options were never pushed to the file daemon. We should pass it to the
filed and raise a bEventPluginCommand event. This way a user can pass in extra
hints to the plugin for the restore process. Currently the plugin only gets
passed in the plugin options that were defined at the moment the backup was made.

The options defined by the user at restore time are passed before the actual
options saved at backup time are passed so the plugin should take care to ignore
any of the options passed in as part of the backup stream being restored
when it already got a override at restore time.

We increased the FD protocol number to 52 to be able to detect if the file daemon
understand the new protocol keyword.

Along the way we tweaked the layout of fileset traversal code somewhat. Added
some spaces and fixed the scoping of the variables somewhat. So you understand
what is going on. And fixed the comments in the filed plugin code.

Fixes 0000207: Implement plugin options passing.
Affected Issues
0000207
mod - src/dird/dird.h Diff File
mod - src/dird/fd_cmds.c Diff File
mod - src/dird/protos.h Diff File
mod - src/dird/restore.c Diff File
mod - src/dird/ua_run.c Diff File
mod - src/filed/authenticate.c Diff File
mod - src/filed/dir_cmd.c Diff File
mod - src/filed/fd_plugins.c Diff File

bareos-13.2 7c1006b2

2013-07-13 17:29:43

mvwieringen

Ported: N/A

Details Diff
Implement plugin options passing.

Implement a new feature to pass plugin option as part of the restore process.
Most of the plugin options input was already implemented but for the restore
the options were never pushed to the file daemon. We should pass it to the
filed and raise a bEventPluginCommand event. This way a user can pass in extra
hints to the plugin for the restore process. Currently the plugin only gets
passed in the plugin options that were defined at the moment the backup was made.

The options defined by the user at restore time are passed before the actual
options saved at backup time are passed so the plugin should take care to ignore
any of the options passed in as part of the backup stream being restored
when it already got a override at restore time.

We increased the FD protocol number to 52 to be able to detect if the file daemon
understand the new protocol keyword.

Along the way we tweaked the layout of fileset traversal code somewhat. Added
some spaces and fixed the scoping of the variables somewhat. So you understand
what is going on. And fixed the comments in the filed plugin code.

Fixes 0000207: Implement plugin options passing.
Affected Issues
0000207
mod - src/dird/dird.h Diff File
mod - src/dird/fd_cmds.c Diff File
mod - src/dird/protos.h Diff File
mod - src/dird/restore.c Diff File
mod - src/dird/ua_run.c Diff File
mod - src/filed/authenticate.c Diff File
mod - src/filed/dir_cmd.c Diff File
mod - src/filed/fd_plugins.c Diff File

bareos-14.2 ccdb4543

2013-07-12 17:37:22

mvwieringen

Ported: N/A

Details Diff
Drop syslog.target from systemd service definitions.

Newer systemd versions implement a internal binary journalling system
which replaces syslog so the syslog.target is no longer available in
newer versions of systemd. So we dropped the dependency on it and hope
that our other dependencies make sure the syslogging is available.

Fixes 0000203: systemctl start bareos-fd.service fails on Fedora 19
Affected Issues
0000203
mod - platforms/systemd/bareos-dir.service.in Diff File
mod - platforms/systemd/bareos-fd.service.in Diff File
mod - platforms/systemd/bareos-sd.service.in Diff File

bareos-13.2 41288bd1

2013-07-12 17:37:22

mvwieringen

Ported: N/A

Details Diff
Drop syslog.target from systemd service definitions.

Newer systemd versions implement a internal binary journalling system
which replaces syslog so the syslog.target is no longer available in
newer versions of systemd. So we dropped the dependency on it and hope
that our other dependencies make sure the syslogging is available.

Fixes 0000203: systemctl start bareos-fd.service fails on Fedora 19
Affected Issues
0000203
mod - platforms/systemd/bareos-dir.service.in Diff File
mod - platforms/systemd/bareos-fd.service.in Diff File
mod - platforms/systemd/bareos-sd.service.in Diff File

bareos-12.4 e89c7d29

2013-07-12 17:37:22

mvwieringen

Ported: N/A

Details Diff
Drop syslog.target from systemd service definitions.

Newer systemd versions implement a internal binary journalling system
which replaces syslog so the syslog.target is no longer available in
newer versions of systemd. So we dropped the dependency on it and hope
that our other dependencies make sure the syslogging is available.

Fixes 0000203: systemctl start bareos-fd.service fails on Fedora 19
Affected Issues
0000203
mod - platforms/systemd/bareos-dir.service.in Diff File
mod - platforms/systemd/bareos-fd.service.in Diff File
mod - platforms/systemd/bareos-sd.service.in Diff File

bareos-14.2 9183f1da

2013-07-12 14:58:16

pstorz


Committer: mvwieringen

Ported: N/A

Details Diff
Trace file to c:/ if working_directory is empty

When the working directory is empty, we now write the
trace file to c:/ instead of ./

When running as service, the workingdirectory seems to empty ,so
that the trace file is written to C:/windows/system32

This has different implications and makes it difficult to watch the
trace file.

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
Attach Issues:
mod - src/lib/message.c Diff File

bareos-13.2 ac8d0f8c

2013-07-12 14:58:16

pstorz


Committer: mvwieringen

Ported: N/A

Details Diff
Trace file to c:/ if working_directory is empty

When the working directory is empty, we now write the
trace file to c:/ instead of ./

When running as service, the workingdirectory seems to empty ,so
that the trace file is written to C:/windows/system32

This has different implications and makes it difficult to watch the
trace file.

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
Attach Issues:
mod - src/lib/message.c Diff File

bareos-12.4 3f24a80f

2013-07-12 14:58:16

pstorz


Committer: mvwieringen

Ported: N/A

Details Diff
Trace file to c:/ if working_directory is empty

When the working directory is empty, we now write the
trace file to c:/ instead of ./

When running as service, the workingdirectory seems to empty ,so
that the trace file is written to C:/windows/system32

This has different implications and makes it difficult to watch the
trace file.

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
Attach Issues:
mod - src/lib/message.c Diff File

bareos-14.2 29b7567f

2013-07-12 13:43:15

mvwieringen

Ported: N/A

Details Diff
Refactor windows version detection code.

Added Windows 8 and Windows Server 2012 and use a switch on major and
minor number instead of a set of ifs.
Attach Issues:
mod - src/win32/filed/main.c Diff File

bareos-13.2 fbc3e99c

2013-07-12 13:43:15

mvwieringen

Ported: N/A

Details Diff
Refactor windows version detection code.

Added Windows 8 and Windows Server 2012 and use a switch on major and
minor number instead of a set of ifs.
Attach Issues:
mod - src/win32/filed/main.c Diff File

bareos-12.4 1f9ab7ca

2013-07-12 13:43:15

mvwieringen

Ported: N/A

Details Diff
Refactor windows version detection code.

Added Windows 8 and Windows Server 2012 and use a switch on major and
minor number instead of a set of ifs.
Attach Issues:
mod - src/win32/filed/main.c Diff File

bareos-14.2 84ea02fa

2013-07-10 20:57:33

mvwieringen

Ported: N/A

Details Diff
Conditionally enable VSS.

It only makes sense to adhere to the director requesting for VSS when we
have any File = statements in any Include block. So we now count the
number of File = statements in all Include blocks of the fileset and if
none are given (Plugins only for example) we ignore the request for VSS.
Attach Issues:
mod - src/filed/backup.c Diff File
mod - src/filed/dir_cmd.c Diff File

bareos-13.2 ede332d7

2013-07-10 20:57:33

mvwieringen

Ported: N/A

Details Diff
Conditionally enable VSS.

It only makes sense to adhere to the director requesting for VSS when we
have any File = statements in any Include block. So we now count the
number of File = statements in all Include blocks of the fileset and if
none are given (Plugins only for example) we ignore the request for VSS.
Attach Issues:
mod - src/filed/backup.c Diff File
mod - src/filed/dir_cmd.c Diff File
 First  Prev  1 2 3 ... 10 ... 20 ... 30 ... 37 38 39 40 41 42 43 ... 50 ... 57 58 59  Next  Last