Changesets: bareos
bareos-13.2 7e8e3983 2013-07-13 17:29 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 41288bd1 2013-07-12 19:37 Marco van Wieringen 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 |
||
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 7d1da986 2013-07-12 17:37
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 519d2f14 2013-07-12 17:37
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 | ||
master 54e868a0 2013-07-12 17:37
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-sd.service.in | Diff File | ||
mod - platforms/systemd/bareos-fd.service.in | Diff File | ||
mod - platforms/systemd/bareos-dir.service.in | Diff File | ||
bareos-13.2 ac8d0f8c 2013-07-12 16:58 Philipp Storz Committer: Marco van Wieringen 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> |
||
mod - src/lib/message.c | Diff File | ||
bareos-13.2 fbc3e99c 2013-07-12 15:43 Marco van Wieringen 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. |
||
mod - src/win32/filed/main.c | Diff File | ||
bareos-13.2 0b6f6b96 2013-07-12 14:58 Committer: 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> |
||
mod - src/lib/message.c | Diff File | ||
bareos-12.4 2e66069e 2013-07-12 14:58 Committer: 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> |
||
mod - src/lib/message.c | Diff File | ||
master 07b1e58d 2013-07-12 14:58 Committer: 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> |
||
mod - src/lib/message.c | Diff File | ||
bareos-13.2 52168e58 2013-07-12 13:43
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. |
||
mod - src/win32/filed/main.c | Diff File | ||
bareos-12.4 b9b01262 2013-07-12 13:43
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. |
||
mod - src/win32/filed/main.c | Diff File | ||
master 0626839d 2013-07-12 13:43
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. |
||
mod - src/win32/filed/main.c | Diff File | ||
bareos-13.2 ede332d7 2013-07-10 22:57 Marco van Wieringen 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. |
||
mod - src/filed/backup.c | Diff File | ||
mod - src/filed/dir_cmd.c | Diff File | ||
bareos-13.2 1856c419 2013-07-10 22:04 Marco van Wieringen Ported: N/A Details Diff |
Fix debugging output and print the right info. We are printing the stuff we send to the SD not what we got back. |
||
mod - src/filed/dir_cmd.c | Diff File | ||
master 2de0c323 2013-07-10 20:57
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. |
||
mod - src/filed/dir_cmd.c | Diff File | ||
mod - src/filed/backup.c | Diff File | ||
bareos-13.2 3ec75fd4 2013-07-10 20:57 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. |
||
mod - src/filed/backup.c | Diff File | ||
mod - src/filed/dir_cmd.c | Diff File | ||
master 4c467e4b 2013-07-10 20:04
Ported: N/A Details Diff |
Fix debugging output and print the right info. We are printing the stuff we send to the SD not what we got back. |
||
mod - src/filed/dir_cmd.c | Diff File | ||
bareos-13.2 c24343d5 2013-07-10 20:04 Ported: N/A Details Diff |
Fix debugging output and print the right info. We are printing the stuff we send to the SD not what we got back. |
||
mod - src/filed/dir_cmd.c | Diff File | ||
bareos-13.2 a5b918a8 2013-07-09 14:51 Marco van Wieringen Ported: N/A Details Diff |
Fix windows bpipe plugin. | ||
mod - src/win32/plugins/fd/bpipe-fd.c | Diff File | ||
bareos-13.2 5c8d6b8a 2013-07-09 12:51
Ported: N/A Details Diff |
Fix windows bpipe plugin. | ||
mod - src/win32/plugins/fd/bpipe-fd.c | Diff File | ||
bareos-12.4 6c56b621 2013-07-09 12:51
Ported: N/A Details Diff |
Fix windows bpipe plugin. | ||
mod - src/win32/plugins/fd/bpipe-fd.c | Diff File | ||
master e91fc068 2013-07-09 12:51
Ported: N/A Details Diff |
Fix windows bpipe plugin. | ||
mod - src/win32/plugins/filed/bpipe-fd.c | Diff File | ||
bareos-13.2 ec9a31a7 2013-07-09 11:52 Marco van Wieringen Ported: N/A Details Diff |
Fixed single-drive mount problem | ||
mod - src/dird/ua_select.c | Diff File | ||
master d518ff2b 2013-07-09 11:25
Ported: N/A Details Diff |
Add config option for storing a diagnostic device. For some setups with an autochanger you might want to query the individual drives for tape alerts. As you cannot open the tape device twice you need to access the drive via a SCSI generic device. We now have a per device diagnostic device config variable which you can expand using a %D in the tape alert cmdline. Normally you should query the autochanger for tape alerts and that should also report any tape drive errors but some devices implement this poorly and as such it doesn't work. This option allows you to work around that and actually ask the drive for any tape alerts. Fixes 0000200: Storage Daemon Tape Alert Useless / Defective |
Affected Issues 0000200 |
|
mod - src/stored/stored_conf.h | Diff File | ||
mod - src/stored/stored_conf.c | Diff File | ||
mod - src/stored/sd_plugins.c | Diff File |