Changesets: bareos

bareos-12.4 9f707dcd

2013-05-04 13:15

mvwieringen adm

Ported: N/A

Details Diff
Tweaks.

Remove unused variable and only print newline when we realy printed
a triggered line.
mod - src/dird/ua_status.c Diff File

bareos-12.4 0b3d0e94

2013-05-04 13:15

franku

Ported: N/A

Details Diff
If during a backup the filedaemon dies the TrayIcon remains blinking

Solution: If the "status" command fails to execute disable the animated icon.

Fixes 0000165: If during a backup the filedaemon dies the TrayIcon remains blinking

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
Affected Issues
0000165
mod - src/qt-tray-monitor/monitoritem.cpp Diff File

bareos-12.4 a797f6cb

2013-05-04 13:15

mvwieringen adm

Ported: N/A

Details Diff
Try to fix nextpool overide via runcmd.

Fixes 0000160: Job overwrite "nextpool" in run command in bconsole doesn't work
Affected Issues
0000160
mod - src/dird/ua_run.c Diff File

bareos-12.4 ccd4f310

2013-05-04 13:15

pstorz


Committer: mvwieringen adm

Ported: N/A

Details Diff
Added scheduler preview

The new command "status scheduler" shows the status
of the bareos scheduler.
The output first shows what schedule triggers what
jobs, then the scheduler executions of the next
14 days are displayed including the overrides.

By giving the param "schedule=" the display can
be limited to a certain schedule and by giving
"days=" the timeframe for the preview can be
set.

Also, the dotcmd schedule was added, so that the
tab-completion works for giving schedules.

Fixes 0000014: Implement a scheduler preview for up to one year.
Affected Issues
0000014
mod - src/console/console.c Diff File
mod - src/dird/protos.h Diff File
mod - src/dird/scheduler.c Diff File
mod - src/dird/ua_cmds.c Diff File
mod - src/dird/ua_dotcmds.c Diff File
mod - src/dird/ua_status.c Diff File
mod - src/lib/btime.c Diff File
mod - src/lib/btime.h Diff File

bareos-12.4 3f837802

2013-05-04 13:15

mvwieringen adm

Ported: N/A

Details Diff
status scheduler extra features.

- Added support for selecting status scheduler when only the status
keyword is given.
- Allow so see the scheduler preview for a certain client by giving
a client=<clientname> as cmdline option.
- Allow to see the scheduler preview for a certain job by giving
a job=<jobname> as cmdline option.

Fixes 0000014: Implement a scheduler preview for up to one year.
Affected Issues
0000014
mod - src/dird/ua_cmds.c Diff File
mod - src/dird/ua_status.c Diff File

bareos-12.4 5263fa70

2013-05-04 13:15

pstorz


Committer: mvwieringen adm

Ported: N/A

Details Diff
Bugfix travis
mod - .travis.yml Diff File

bareos-12.4 fbb47107

2013-05-04 13:15

pstorz


Committer: mvwieringen adm

Ported: N/A

Details Diff
travis: set hostname to localhost

to prevent problems with name resolution
mod - .travis.yml Diff File

bareos-12.4 e407353f

2013-05-04 13:15

mvwieringen adm

Ported: N/A

Details Diff
Show right info in status slots.

Slot should not be empty but show the correct loaded volume info and
not the first slot after the drive in the enumeration.

Fixes 0000159: Display Error in bconsole for status slots; did not show empty slot after load
Affected Issues
0000159
mod - src/dird/ua_status.c Diff File

bareos-12.4 9d5f6267

2013-05-04 13:15

mvwieringen adm

Ported: N/A

Details Diff
Return right returnvalue on import/export/move cmd.

We were always returning 0 (e.g. operation failed) for
the import/export/move commands. This makes any runscript fail
any next runscript and the Job also fails.

Fixes 0000146: Variable "Job Exit Code" in mailcommand reports always
"Error" when doing copy or migration job
Fixes 0000155: runafterjob doesn't get executed if a runscript directive is
placed before the directive runafterjob
Affected Issues
0000146, 0000155
mod - src/dird/ua_impexp.c Diff File

bareos-12.4 a5244269

2013-05-04 13:15

pstorz


Committer: mvwieringen adm

Ported: N/A

Details Diff
Add icons and fileinfo to windows executables

Updated the icons fileinfo for windows executables

Fixes 0000154: Add icon and file info to windows executables

Conflicts:
src/win32/console/consoleres.rc
Affected Issues
0000154
mod - src/images/bat.svg Diff File
mod - src/qt-console/main.ui Diff File
mod - src/qt-console/prefs.ui Diff File
mod - src/win32/console/Makefile Diff File
add - src/win32/console/consoleres.rc Diff File
mod - src/win32/filed/Makefile Diff File
mod - src/win32/qt-console/bat.pro Diff File
add - src/win32/qt-console/batres.rc Diff File
mod - src/win32/qt-tray-monitor/tray-monitor.pro Diff File
add - src/win32/qt-tray-monitor/traymon.rc Diff File

bareos-12.4 f27e8111

2013-05-04 13:15

joergs


Committer: mvwieringen adm

Ported: N/A

Details Diff
activate debian release numbers on OBS

Debian has no separate field for release numbers,
only version numbers.
Mostly, the release number is added to the version number,
separated by a "-".
OBS has a feature to auto-increment release numbers for RPM packages.
Our modified OBS also enables this feature for DEB packages.
mod - platforms/deb/bareos-Debian_6.0.dsc Diff File
mod - platforms/deb/bareos-xUbuntu_10.04.dsc Diff File
mod - platforms/deb/bareos-xUbuntu_12.04.dsc Diff File
add - platforms/deb/debian.changelog Diff File

bareos-12.4 655932e6

2013-05-04 13:15

pstorz


Committer: mvwieringen adm

Ported: N/A

Details Diff
set correct version for Branch-12.4
mod - platforms/deb/debian.changelog Diff File

bareos-12.4 50beb66a

2013-05-04 13:15

pstorz


Committer: mvwieringen adm

Ported: N/A

Details Diff
traymonitor redesign

- traymonitor redesign by Frank Ueberschar
- traymon animated shows
- added bareos icon to traymon, installer
and fd executable

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
mod - AUTHORS Diff File
mod - autoconf/configure.in 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/console/console.c Diff File
add - src/images/bat.svg Diff File
mod - src/include/baconfig.h Diff File
mod - src/qt-console/bat.pro.in Diff File
mod - src/qt-console/main.qrc Diff File
mod - src/qt-console/mainwin.cpp Diff File
rm - src/qt-console/tray-monitor/tray-monitor.cpp Diff File
rm - src/qt-console/tray-monitor/tray-monitor.h Diff File
rm - src/qt-console/tray-monitor/tray-ui.h Diff File
add - src/qt-tray-monitor/authenticate.h Diff File
add - src/qt-tray-monitor/bareos-tray-monitor.desktop Diff File
add - src/qt-tray-monitor/main.qrc Diff File
add - src/qt-tray-monitor/mainwindow.cpp Diff File
add - src/qt-tray-monitor/mainwindow.h Diff File
add - src/qt-tray-monitor/mainwindow.ui Diff File
add - src/qt-tray-monitor/monitoritem.cpp Diff File
add - src/qt-tray-monitor/monitoritem.h Diff File
add - src/qt-tray-monitor/monitoritemthread.cpp Diff File
add - src/qt-tray-monitor/monitoritemthread.h Diff File
add - src/qt-tray-monitor/monitortab.h Diff File
add - src/qt-tray-monitor/systemtrayicon.cpp Diff File
add - src/qt-tray-monitor/systemtrayicon.h Diff File
add - src/qt-tray-monitor/tray-monitor.cpp Diff File
add - src/qt-tray-monitor/tray-monitor.h Diff File
add - src/qt-tray-monitor/traymenu.cpp Diff File
add - src/qt-tray-monitor/traymenu.h Diff File
mod - src/win32/Makefile.inc Diff File
mod - src/win32/filed/Makefile Diff File
add - src/win32/filed/icon.rc Diff File
mod - src/win32/qt-console/bat.pro Diff File
mod - src/win32/qt-tray-monitor/tray-monitor.pro Diff File

bareos-12.4 92d628dc

2013-05-04 13:15

mvwieringen adm

Ported: N/A

Details Diff
Rebuild configure.
mod - configure Diff File

bareos-12.4 57e2c162

2013-05-04 13:15

pstorz


Committer: mvwieringen adm

Ported: N/A

Details Diff
Switch to new version 12.4.3
mod - configure Diff File
mod - debian/changelog Diff File
mod - platforms/deb/bareos-Debian_6.0.dsc Diff File
mod - platforms/deb/bareos-xUbuntu_12.04.dsc Diff File
mod - platforms/rpms/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 - src/include/version.h Diff File
mod - src/win32/filed/icon.rc Diff File

master 3dd3e35c

2013-05-04 13:15

pstorz


Committer: mvwieringen adm

Ported: N/A

Details Diff
traymonitor redesign

- traymonitor redesign by Frank Ueberschar
- traymon animated shows
- added bareos icon to traymon, installer
and fd executable

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
mod - src/win32/qt-tray-monitor/tray-monitor.pro Diff File
mod - src/win32/qt-console/bat.pro Diff File
add - src/win32/filed/icon.rc Diff File
mod - src/win32/filed/Makefile Diff File
mod - src/win32/Makefile.inc Diff File
add - src/qt-tray-monitor/traymenu.h Diff File
add - src/qt-tray-monitor/traymenu.cpp Diff File
add - src/qt-tray-monitor/tray-monitor.h Diff File
add - src/qt-tray-monitor/tray-monitor.cpp Diff File
add - src/qt-tray-monitor/systemtrayicon.h Diff File
add - src/qt-tray-monitor/systemtrayicon.cpp Diff File
add - src/qt-tray-monitor/monitortab.h Diff File
add - src/qt-tray-monitor/monitoritemthread.h Diff File
add - src/qt-tray-monitor/monitoritemthread.cpp Diff File
add - src/qt-tray-monitor/monitoritem.h Diff File
add - src/qt-tray-monitor/monitoritem.cpp Diff File
add - src/qt-tray-monitor/mainwindow.ui Diff File
add - src/qt-tray-monitor/mainwindow.h Diff File
add - src/qt-tray-monitor/mainwindow.cpp Diff File
add - src/qt-tray-monitor/main.qrc Diff File
add - src/qt-tray-monitor/bareos-tray-monitor.desktop Diff File
add - src/qt-tray-monitor/authenticate.h Diff File
rm - src/qt-console/tray-monitor/tray-ui.h Diff File
rm - src/qt-console/tray-monitor/tray-monitor.h Diff File
rm - src/qt-console/tray-monitor/tray-monitor.cpp Diff File
mod - src/qt-console/mainwin.cpp Diff File
mod - src/qt-console/main.qrc Diff File
mod - src/qt-console/bat.pro.in Diff File
mod - src/include/baconfig.h Diff File
add - src/images/bat.svg Diff File
mod - src/console/console.c Diff File
mod - platforms/win32/winbareos64.spec Diff File
mod - platforms/win32/winbareos32.spec Diff File
mod - platforms/win32/winbareos.nsi Diff File
mod - platforms/win32/winbareos-nsi.spec Diff File
mod - platforms/win32/tray-monitor-conf.patch Diff File
mod - autoconf/configure.in Diff File
mod - AUTHORS Diff File

bareos-12.4 40953f53

2013-05-04 13:15

mvwieringen adm

Ported: N/A

Details Diff
Remove obscure beef variable.

As we don't have an enterprise version we don't need a bareos
enable enterprise feature flag.
mod - scripts/btraceback.dbx Diff File
mod - scripts/btraceback.gdb Diff File
mod - src/dird/ua_status.c Diff File
mod - src/filed/fd_plugins.c Diff File
mod - src/filed/fd_plugins.h Diff File
mod - src/include/version.h Diff File
mod - src/lib/message.c Diff File
mod - src/stored/status.c Diff File
mod - src/win32/lib/make_def Diff File

bareos-12.4 d8d10637

2013-05-04 13:14

mvwieringen adm

Ported: N/A

Details Diff
mig_jcr is freed to early.

Because the mig_jcr is already freed in the migration_cleanup() function
all info is lost when we get to the after runscript. This is a design
error so we moved the freeing of the mig_jcr now to just before the Job
actually exits and has done all its work.

Fixes 0000139: export command in a RunScript ressource does not get the
correct volume when doing scheduled JobType Copy
Affected Issues
0000139
mod - src/dird/job.c Diff File
mod - src/dird/migrate.c Diff File

bareos-12.4 9f6b0e85

2013-05-04 13:14

mvwieringen adm

Ported: N/A

Details Diff
Fix memory leak.
mod - src/lib/bnet_server.c Diff File
mod - src/lib/bsock.c Diff File

bareos-12.4 bc8dd47d

2013-05-04 13:14

joergs


Committer: mvwieringen adm

Ported: N/A

Details Diff
bareos-director requires bareos-database-tools

make_catalog_backup.pl (from bareos-director) requires bareso-dbcheck (from bareos-database-tools).

Fixes 0000148: bareos-director requires bareos-database-tools

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
Affected Issues
0000148
mod - debian/control Diff File
mod - platforms/rpms/bareos.spec Diff File

bareos-12.4 8ef93394

2013-05-04 13:14

pstorz


Committer: mvwieringen adm

Ported: N/A

Details Diff
Better handling of existing config files

When existing configuration files are found, in interactive mode the
user is asked if the existing config file should be kept and the newly
generated file is stored aside as config.new.

Also, the user can choose to move the existing file to config.old, and
install the new one in the original place.
This is what is done in silent installation mode.

The default for the uninstaller is now to keep existing config files.
In silent mode, the uninstaller will remove existing config files.

Fixes 0000140: Winbareos installer renames old config when updating

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
Affected Issues
0000140
mod - platforms/win32/winbareos.nsi Diff File

bareos-12.4 7e0c09d1

2013-05-04 13:14

mvwieringen adm

Ported: N/A

Details Diff
Tweak layout.
mod - src/dird/ua_cmds.c Diff File

bareos-12.4 dd6abc89

2013-05-04 13:14

pstorz


Committer: mvwieringen adm

Ported: N/A

Details Diff
Switch to gcc 4.8

Unfortunately, with gcc 4.8, libc now is called
- libgcc_s_sjlj-1.dll on 32Bit Windows
- libgcc_s_seh-1.dll on 64Bit Windows

This patch adapts to that fact.

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
mod - platforms/win32/winbareos-nsi.spec Diff File
mod - platforms/win32/winbareos.nsi Diff File

bareos-12.4 8b23951f

2013-05-04 13:14

mvwieringen adm

Ported: N/A

Details Diff
For migration/copy Jobs need to look at mig_jcr.

Added new %V option to expansion variables which is the same as %v
but always prints the destination Volumes a Job used. For migration
and copy Jobs this expansion looks at the mig_jcr pointer in the JCR.

As this mig_jcr only exists in the director the %V is expanded in
the callback expansion function in the director as in the generic
expansion function is compiled as part of the generic shared library
we are missing that variable there.

While implementing this expansion also reformated the whole function
as the switch statement was wrongly indented. Removed unneeded break
statements after a return. Document what is expanded in the callback
expansion function.

Fixes 0000139: export command in a RunScript ressource does not get the
correct volume when doing scheduled JobType Copy
Affected Issues
0000139
mod - src/dird/dird_conf.c Diff File
mod - src/lib/util.c Diff File

bareos-12.4 dff45e8e

2013-05-04 13:14

mvwieringen adm

Ported: N/A

Details Diff
Fix statistics retention default value.

60s * 60m * 24h * 31d * 12m * 5 != 5 years
60s * 60m * 365d * 5 != 5 years

But the second value is much closer then using 12 months with
31 days of which 4 months have 30 days and one has either 28
e.g. 3 days less or at best 29 days so 2 days less. When multiplied
with 5 years this mean you calculate something 30+ days to much.
mod - src/dird/dird_conf.c Diff File
 First  Prev  1 2 3 ... 70 ... 140 ... 210 ... 280 ... 350 ... 420 ... 490 ... 560 ... 630 ... 643 644 645 646 647 648 649 650 651  Next  Last