]> git.sur5r.net Git - bacula/bacula/log
bacula/bacula
6 years agoFix bug #2346 Dir blocks when max reloads reached
Kern Sibbald [Sun, 12 Nov 2017 17:26:02 +0000 (18:26 +0100)]
Fix bug #2346 Dir blocks when max reloads reached

6 years agoregress: add new many-reload-test to standard scripts
Kern Sibbald [Sun, 12 Nov 2017 17:17:01 +0000 (18:17 +0100)]
regress: add new many-reload-test to standard scripts

6 years agoregress: Add test to do more than max reloads
Kern Sibbald [Sun, 12 Nov 2017 17:10:44 +0000 (18:10 +0100)]
regress: Add test to do more than max reloads

6 years agobaculum: Send config to api server as json
Marcin Haba [Sun, 12 Nov 2017 15:58:55 +0000 (16:58 +0100)]
baculum: Send config to api server as json

6 years agoRemove enterprise code that breaks Mac install -- fixes bug #2351
Kern Sibbald [Sun, 12 Nov 2017 16:03:23 +0000 (17:03 +0100)]
Remove enterprise code that breaks Mac install -- fixes bug #2351

6 years agoregress: Move aligned-test to the aligned block in the cdash DartTestfile
Eric Bollengier [Fri, 3 Nov 2017 14:13:40 +0000 (15:13 +0100)]
regress: Move aligned-test to the aligned block in the cdash DartTestfile

6 years agoregress: Tweak scripts/cleanup with FORCE_CLOUD to not report an error
Eric Bollengier [Fri, 3 Nov 2017 08:20:35 +0000 (09:20 +0100)]
regress: Tweak scripts/cleanup with FORCE_CLOUD to not report an error

Sometime, the test finishes with the follwing:

 ===== bsr-opt-test Bacula source OK 21:31:22 =====
Missing access_key
Missing access_key

=> exit status != 0

6 years agoMake qt-console compatible to Qt5 (Qt4 still work)
Norbert Bizet [Fri, 20 Oct 2017 08:29:16 +0000 (10:29 +0200)]
Make qt-console compatible to Qt5 (Qt4 still work)

Replace #include <QtGui> with #include <QtWidgets>
Replace toAscii with toLatin1 (deprecated)
Obsolete Plastic theme and SetCodecForCString

6 years agoMake qt-console compatible to Qt5 (Qt4 still work)
Norbert Bizet [Fri, 20 Oct 2017 08:29:16 +0000 (10:29 +0200)]
Make qt-console compatible to Qt5 (Qt4 still work)

Replace #include <QtGui> with #include <QtWidgets>
Replace toAscii with toLatin1 (deprecated)
Obsolete Plastic theme and SetCodecForCString

6 years agoAdd restore wizard to the tray monitor.
Norbert Bizet [Thu, 2 Nov 2017 14:26:40 +0000 (15:26 +0100)]
Add restore wizard to the tray monitor.

6 years agoPreparation fixes: remove some warning
Norbert Bizet [Thu, 2 Nov 2017 14:25:47 +0000 (15:25 +0100)]
Preparation fixes: remove some warning

6 years agoregress: Fix truncate-test with FORCE_CLOUD=yes
Eric Bollengier [Thu, 2 Nov 2017 15:35:41 +0000 (16:35 +0100)]
regress: Fix truncate-test with FORCE_CLOUD=yes

6 years agoAdd ASSERTD() to track NULL Volume name error
Eric Bollengier [Thu, 2 Nov 2017 09:10:59 +0000 (10:10 +0100)]
Add ASSERTD() to track NULL Volume name error

6 years agoregress: Reduce the output of 2drive-concurrent-test and bsr-opt-test
Eric Bollengier [Thu, 2 Nov 2017 08:51:52 +0000 (09:51 +0100)]
regress: Reduce the output of 2drive-concurrent-test and bsr-opt-test

6 years agoAdd "noautoparent" restore command option to disable the automatic parent directory...
Eric Bollengier [Tue, 24 Oct 2017 12:10:43 +0000 (14:10 +0200)]
Add "noautoparent" restore command option to disable the automatic parent directory selection

At this time, when we select a directory, we mark parent directories for
the restore automatically.

In the NDMP restore process, at this time, when we select a directory
entry, the entire content is restored recursively.

This option can be used to not select automatically parent directories
during a restore session.

6 years agoCorrect FS size calculation for FreeBSD, Solaris, and Windows
Kern Sibbald [Sun, 12 Nov 2017 09:15:59 +0000 (10:15 +0100)]
Correct FS size calculation for FreeBSD, Solaris, and Windows

6 years agobaculum: Enable Portuguese language support in makefile
Marcin Haba [Sat, 11 Nov 2017 15:26:00 +0000 (16:26 +0100)]
baculum: Enable Portuguese language support in makefile

6 years agobaculum: Fix required directives in schedule resource configuration
Marcin Haba [Fri, 10 Nov 2017 18:27:49 +0000 (19:27 +0100)]
baculum: Fix required directives in schedule resource configuration

6 years agobaculum: Fix saving messages resource
Marcin Haba [Fri, 10 Nov 2017 18:10:11 +0000 (19:10 +0100)]
baculum: Fix saving messages resource

6 years agoTweak update version + date
Kern Sibbald [Sat, 11 Nov 2017 14:56:57 +0000 (15:56 +0100)]
Tweak update version + date

6 years agoUpdate ACL/XATTR code and define new ACL/XATTR API for Plugins.
Radosław Korzeniewski [Thu, 9 Nov 2017 11:26:11 +0000 (12:26 +0100)]
Update ACL/XATTR code and define new ACL/XATTR API for Plugins.

The patch redesign ACL/XATTR code separating acl functionality from xattr.
It allows for full conditional compilation on any supported OS. It closes issue: #2295.
The patch adds a new ACl/XATTR API for Plugins.

A new Plugin callback: bRC (*handleXACLdata)(bpContext *ctx, struct xacl_pkt *xacl);
and support data:

- BACL_BACKUP - Plugin ACL data backup,
- BACL_RESTORE - Plugin ACL data restore,
- BXATTR_BACKUP - Plugin XATTR data backup,
- BXATTR_RESTORE - Plugin XATTR data restore

struct xacl_pkt {
   int32_t pkt_size;                  /* Size of this packet */
   int32_t func;                      /* Function code */
   int32_t count;                     /* read/write count */
   char *content;                     /* read/write buffer */
   int32_t pkt_end;                   /* end packet sentinel */
};

Bacula will call handleXACLdata with xacl.func set to one of the defined enum's
and for backup requires xacl.count and xacl.content to be set by a plugin and
if xacl.content is allocated by plugin he is responsible for free and for restore
will setup xacl.count and xacl.content to the data restored.
The Bacula Plugin API will call handleXACLdata during backup with specific xacl.func
multiple times for every file, until a plugin return xacl.count == 0
(similar to pluginIO where no more data to backup is signalled by io->status = 0).
And as usual handleXACLdata has to return bRC_OK when operation was successful
(acl/xattr to backup/restore is a success) or other (bRC_Error) when operation was
unsuccessful. In this case no acl/xattr data will be saved.

6 years agobaculum: Improve slow reloading config resource list
Marcin Haba [Fri, 10 Nov 2017 17:53:01 +0000 (18:53 +0100)]
baculum: Improve slow reloading config resource list

6 years agobaculum: Tweak add missing properties to integer control type validator
Marcin Haba [Fri, 10 Nov 2017 17:48:11 +0000 (18:48 +0100)]
baculum: Tweak add missing properties to integer control type validator

6 years agobaculum: Tweak fix missing closing html tag
Marcin Haba [Fri, 10 Nov 2017 17:47:09 +0000 (18:47 +0100)]
baculum: Tweak fix missing closing html tag

6 years agobaculum: Fix numeric password setting bug reported by Heitor Faria
Marcin Haba [Thu, 9 Nov 2017 20:14:23 +0000 (21:14 +0100)]
baculum: Fix numeric password setting bug reported by Heitor Faria

Add integer type control.

6 years agoUpdate ChangeLog, ReleaseNotes, and version date Release-9.0.5
Kern Sibbald [Thu, 2 Nov 2017 06:58:17 +0000 (07:58 +0100)]
Update ChangeLog, ReleaseNotes, and version date

6 years agobaculum: Enable Portuguese language setting in the api config wizard
Marcin Haba [Wed, 1 Nov 2017 19:28:03 +0000 (20:28 +0100)]
baculum: Enable Portuguese language setting in the api config wizard

6 years agobaculum: Add Portuguese language support to the api part
Wanderlei Huttel [Wed, 1 Nov 2017 19:26:23 +0000 (20:26 +0100)]
baculum: Add Portuguese language support to the api part

6 years agobaculum: Update Portuguese translation in the web part
Wanderlei Huttel [Wed, 1 Nov 2017 19:25:34 +0000 (20:25 +0100)]
baculum: Update Portuguese translation in the web part

6 years agobaculum: Add default paths to json tools and configs in api config wizard
Wanderlei Huttel [Wed, 1 Nov 2017 18:24:16 +0000 (19:24 +0100)]
baculum: Add default paths to json tools and configs in api config wizard

6 years agoUse if exists on dropping MAC table in postgres. Fixes bug #2314
Kern Sibbald [Wed, 1 Nov 2017 17:30:55 +0000 (18:30 +0100)]
Use if exists on dropping MAC table in postgres. Fixes bug #2314

6 years agoFix bdirjson display of Minutes. Fixes bug #2318
Kern Sibbald [Wed, 1 Nov 2017 17:25:03 +0000 (18:25 +0100)]
Fix bdirjson display of Minutes. Fixes bug #2318

6 years agobaculum: Set default language if no language set
Marcin Haba [Wed, 1 Nov 2017 17:10:03 +0000 (18:10 +0100)]
baculum: Set default language if no language set

6 years agobaculum: Tweak add static text to translation files
Marcin Haba [Wed, 1 Nov 2017 16:49:22 +0000 (17:49 +0100)]
baculum: Tweak add static text to translation files

6 years agobaculum: Fix language setting in api
Marcin Haba [Wed, 1 Nov 2017 16:38:10 +0000 (17:38 +0100)]
baculum: Fix language setting in api

6 years agobaculum: Update generated .mo files for api
Marcin Haba [Wed, 1 Nov 2017 15:44:26 +0000 (16:44 +0100)]
baculum: Update generated .mo files for api

6 years agobaculum: Add missing texts to translations
Marcin Haba [Wed, 1 Nov 2017 15:38:33 +0000 (16:38 +0100)]
baculum: Add missing texts to translations

6 years agobaculum: Fix add to translation static texts on the api default page
Marcin Haba [Wed, 1 Nov 2017 15:35:25 +0000 (16:35 +0100)]
baculum: Fix add to translation static texts on the api default page

6 years agobaculum: Fix missing session start
Marcin Haba [Wed, 1 Nov 2017 15:31:48 +0000 (16:31 +0100)]
baculum: Fix missing session start

6 years agoMake verify job log same as other logs -- fixes bug #2328
Kern Sibbald [Wed, 1 Nov 2017 17:05:22 +0000 (18:05 +0100)]
Make verify job log same as other logs -- fixes bug #2328

6 years agoTake a more conservative approach for setting killable true
Kern Sibbald [Wed, 1 Nov 2017 08:40:34 +0000 (09:40 +0100)]
Take a more conservative approach for setting killable true

6 years agoAdd extra safety for readdir buffer
Kern Sibbald [Wed, 1 Nov 2017 07:55:12 +0000 (08:55 +0100)]
Add extra safety for readdir buffer

6 years agoRetab systemd/Makefile.in
Kern Sibbald [Tue, 31 Oct 2017 12:54:43 +0000 (13:54 +0100)]
Retab systemd/Makefile.in

6 years agoDon't require mount for @piddir@
Sven Hartge [Tue, 31 Oct 2017 12:17:54 +0000 (13:17 +0100)]
Don't require mount for @piddir@

The systemd units don't use PID files and the daemons don't write them.
Remove the RequiresMount option for them to unclutter the units.

Signed-off-by: Sven Hartge <sven@svenhartge.de>
6 years agoUse Debian systemd start/stop scripts supplied by Sven Hartge
Kern Sibbald [Tue, 31 Oct 2017 10:04:46 +0000 (11:04 +0100)]
Use Debian systemd start/stop scripts supplied by Sven Hartge

6 years agoregress: Fix error with new perl systems
Eric Bollengier [Mon, 16 Oct 2017 16:08:55 +0000 (18:08 +0200)]
regress: Fix error with new perl systems

6 years agoFix bug #2316 add CacheRetention to Pool
Kern Sibbald [Sun, 29 Oct 2017 16:25:14 +0000 (17:25 +0100)]
Fix bug #2316 add CacheRetention to Pool

6 years agoSkip tape ioctls on FreeBSD when using a FIFO fixes bug #2324
Kern Sibbald [Sun, 29 Oct 2017 16:12:33 +0000 (17:12 +0100)]
Skip tape ioctls on FreeBSD when using a FIFO fixes bug #2324

6 years agoFix bug #2338 to not truncate already truncated volumes
Kern Sibbald [Sun, 29 Oct 2017 11:37:29 +0000 (12:37 +0100)]
Fix bug #2338 to not truncate already truncated volumes

6 years agoregress: make truncate-test check for wrongly truncating an already truncated volume
Kern Sibbald [Sun, 29 Oct 2017 11:36:41 +0000 (12:36 +0100)]
regress: make truncate-test check for wrongly truncating an already truncated volume

6 years agoRemove some old C int code and use bool
Kern Sibbald [Sun, 29 Oct 2017 08:26:05 +0000 (09:26 +0100)]
Remove some old C int code and use bool

6 years agoRemove unused lib/lz4.c.orig file
Kern Sibbald [Sat, 28 Oct 2017 18:45:10 +0000 (20:45 +0200)]
Remove unused lib/lz4.c.orig file

6 years agoUpdate AUTHORS file
Kern Sibbald [Sat, 28 Oct 2017 17:03:10 +0000 (19:03 +0200)]
Update AUTHORS file

6 years agoTweak update version date
Kern Sibbald [Sat, 28 Oct 2017 16:40:04 +0000 (18:40 +0200)]
Tweak update version date

6 years agoMark Volume read-only only if no access rights or read-only partition
Kern Sibbald [Sat, 28 Oct 2017 16:39:12 +0000 (18:39 +0200)]
Mark Volume read-only only if no access rights or read-only partition

6 years agoAdd -P daemon option to supress creating PID file
Kern Sibbald [Sat, 28 Oct 2017 16:35:50 +0000 (18:35 +0200)]
Add -P daemon option to supress creating PID file

6 years agoregress: enhance short-incremental-test
Kern Sibbald [Sat, 28 Oct 2017 16:34:17 +0000 (18:34 +0200)]
regress: enhance short-incremental-test

6 years agoFix too big copy to test FD plugin_ctx
Kern Sibbald [Sat, 28 Oct 2017 05:28:55 +0000 (07:28 +0200)]
Fix too big copy to test FD plugin_ctx

6 years agoBackport Enterprise code
Kern Sibbald [Thu, 26 Oct 2017 05:51:42 +0000 (07:51 +0200)]
Backport Enterprise code

6 years agoWhen read-only volume found mark it in catalog -- fixes bug #2337
Kern Sibbald [Mon, 23 Oct 2017 17:22:52 +0000 (19:22 +0200)]
When read-only volume found mark it in catalog -- fixes bug #2337

6 years agoTweak update version + date
Kern Sibbald [Mon, 23 Oct 2017 16:47:28 +0000 (18:47 +0200)]
Tweak update version + date

6 years agoMake out of space on partition fatal
Kern Sibbald [Mon, 23 Oct 2017 16:45:57 +0000 (18:45 +0200)]
Make out of space on partition fatal

6 years agoFix bug 2323 -- loop exit condition was backward and add error message
Kern Sibbald [Mon, 23 Oct 2017 16:39:36 +0000 (18:39 +0200)]
Fix bug 2323 -- loop exit condition was backward and add error message

6 years agoAdd missing copy-plugin-confs for regress
Kern Sibbald [Mon, 23 Oct 2017 16:26:02 +0000 (18:26 +0200)]
Add missing copy-plugin-confs for regress

6 years agoFix bug reported by jesper@schmitz.computer where bat hangs on FreeBSD
Kern Sibbald [Mon, 23 Oct 2017 15:11:51 +0000 (17:11 +0200)]
Fix bug reported by jesper@schmitz.computer where bat hangs on FreeBSD

6 years agobaculum: Tweak remove message about separate bconsole configs
Marcin Haba [Wed, 11 Oct 2017 18:18:24 +0000 (20:18 +0200)]
baculum: Tweak remove message about separate bconsole configs

6 years agobaculum: Fix reading and writing schedule resource
Marcin Haba [Sun, 8 Oct 2017 16:11:30 +0000 (18:11 +0200)]
baculum: Fix reading and writing schedule resource

6 years agobaculum: Fix undefined offset error during saving director config
Marcin Haba [Fri, 15 Sep 2017 05:51:54 +0000 (07:51 +0200)]
baculum: Fix undefined offset error during saving director config

6 years agobaculum: Fix listing days of week in schedule setting
Marcin Haba [Fri, 15 Sep 2017 05:49:44 +0000 (07:49 +0200)]
baculum: Fix listing days of week in schedule setting

6 years agobaculum: Fix typo in schedule option text
Marcin Haba [Fri, 15 Sep 2017 05:48:34 +0000 (07:48 +0200)]
baculum: Fix typo in schedule option text

6 years agobaculum: Fix saving schedule run directive value
Marcin Haba [Thu, 14 Sep 2017 18:07:50 +0000 (20:07 +0200)]
baculum: Fix saving schedule run directive value

6 years agorpm: Add missing script baculabackupreport and query.sql for Suse
Davide Franco [Tue, 12 Sep 2017 12:24:01 +0000 (14:24 +0200)]
rpm: Add missing script baculabackupreport and query.sql for Suse

6 years agorpm: Add missing libbacsd* file and tapealert script to Suse rpm spec
Davide Franco [Tue, 12 Sep 2017 11:51:11 +0000 (13:51 +0200)]
rpm: Add missing libbacsd* file and tapealert script to Suse rpm spec
file

6 years agorpm: Add missing libs bbconsjson, bdirjson and bsdjson to Suse rpm spec
Davide Franco [Tue, 12 Sep 2017 11:45:17 +0000 (13:45 +0200)]
rpm: Add missing libs bbconsjson, bdirjson and bsdjson to Suse rpm spec
file

6 years agorpm: Update changelog for Bacula Suse rpm spec file
Davide Franco [Tue, 12 Sep 2017 11:41:07 +0000 (13:41 +0200)]
rpm: Update changelog for Bacula Suse rpm spec file

6 years agorpm: Update changelog for aligned rpm spec file
Davide Franco [Tue, 12 Sep 2017 11:40:33 +0000 (13:40 +0200)]
rpm: Update changelog for aligned rpm spec file

6 years agorpm: Add aligned plugin rpm spec file for Suse
Davide Franco [Tue, 12 Sep 2017 11:31:34 +0000 (13:31 +0200)]
rpm: Add aligned plugin rpm spec file for Suse

6 years agorpm: Add bacula-tray-monitor.desktop launcher in scripts directory
Davide Franco [Tue, 12 Sep 2017 11:31:05 +0000 (13:31 +0200)]
rpm: Add bacula-tray-monitor.desktop launcher in scripts directory

6 years agorpm: Add Suse Linux ES 12.1 platform
Davide Franco [Tue, 12 Sep 2017 09:03:31 +0000 (11:03 +0200)]
rpm: Add Suse Linux ES 12.1 platform

6 years agorpm: Add bacula-tray-monitor.desktop file in script dir
Davide Franco [Mon, 11 Sep 2017 11:23:19 +0000 (13:23 +0200)]
rpm: Add bacula-tray-monitor.desktop file in script dir

6 years agoFix typo in make_sqlite3_tables.in submitted by Carsten Leonhardt Release-9.0.4
Kern Sibbald [Wed, 6 Sep 2017 14:45:21 +0000 (16:45 +0200)]
Fix typo in make_sqlite3_tables.in submitted by Carsten Leonhardt

6 years agoUpdate ChangeLog + ReleaseNotes
Kern Sibbald [Wed, 6 Sep 2017 06:57:44 +0000 (08:57 +0200)]
Update ChangeLog + ReleaseNotes

6 years agoUpdate po files
Kern Sibbald [Wed, 6 Sep 2017 06:37:39 +0000 (08:37 +0200)]
Update po files

6 years agocore: bwlimit measure bandwidth
Alain Spineux [Wed, 14 Jun 2017 12:01:12 +0000 (14:01 +0200)]
core: bwlimit measure bandwidth

- measure BW on the 10 last seconds (or more)

6 years agocore: bwlimit handle backlog and allow burst
Alain Spineux [Fri, 2 Jun 2017 14:26:18 +0000 (16:26 +0200)]
core: bwlimit handle backlog and allow burst

6 years agoDo not purge running jobs in autoprune
Eric Bollengier [Tue, 25 Apr 2017 15:22:15 +0000 (17:22 +0200)]
Do not purge running jobs in autoprune

6 years agodon't use add_event() when flag "l" is not set
Alain Spineux [Thu, 17 Aug 2017 09:48:51 +0000 (11:48 +0200)]
don't use add_event() when flag "l" is not set

- add_event() was called when debug level > 50 without testing for flag "l"
- related to #3074 but this is not a fix, this should avoid the problem
  if flag "l" is not used.

6 years agoTweak update version + date
Kern Sibbald [Wed, 6 Sep 2017 06:30:31 +0000 (08:30 +0200)]
Tweak update version + date

6 years agoFix SQLite3 upgrade tables script fixes bug #2306
Kern Sibbald [Tue, 5 Sep 2017 18:28:11 +0000 (20:28 +0200)]
Fix SQLite3 upgrade tables script fixes bug #2306

6 years agobaculum: Fix language setting in config file
Marcin Haba [Tue, 5 Sep 2017 04:13:37 +0000 (06:13 +0200)]
baculum: Fix language setting in config file

6 years agoUpgrade to latest lz4.c to fix bug #2310 bus error on 64 bit Solaris
Kern Sibbald [Sun, 3 Sep 2017 17:52:28 +0000 (19:52 +0200)]
Upgrade to latest lz4.c to fix bug #2310 bus error on 64 bit Solaris

6 years agoRecompile configure.in
Kern Sibbald [Sun, 3 Sep 2017 09:31:12 +0000 (11:31 +0200)]
Recompile configure.in

6 years agoEnsure systemd/bacula.conf is created by configure fixed bug #2307
Kern Sibbald [Sun, 3 Sep 2017 09:30:44 +0000 (11:30 +0200)]
Ensure systemd/bacula.conf is created by configure fixed bug #2307

6 years agoFix compiler warning noted in bug #2309
Kern Sibbald [Sun, 3 Sep 2017 08:44:33 +0000 (10:44 +0200)]
Fix compiler warning noted in bug #2309

6 years agoFix SQLite3 Version bug #2305
Kern Sibbald [Sun, 3 Sep 2017 08:40:00 +0000 (10:40 +0200)]
Fix SQLite3 Version bug #2305

6 years agoRemove unused variable to elimiate compiler warning
Kern Sibbald [Sun, 3 Sep 2017 08:30:14 +0000 (10:30 +0200)]
Remove unused variable to elimiate compiler warning

6 years agoRecompile configure.in
Kern Sibbald [Sun, 3 Sep 2017 07:53:12 +0000 (09:53 +0200)]
Recompile configure.in

6 years agoRevert "Disable SQLite3 support"
Kern Sibbald [Sun, 3 Sep 2017 07:30:20 +0000 (09:30 +0200)]
Revert "Disable SQLite3 support"

This reverts commit 3f376bbd58d44a16032cb45373b11f6fd06d9589.

6 years agoRecompile configure.in
Kern Sibbald [Tue, 29 Aug 2017 14:12:30 +0000 (16:12 +0200)]
Recompile configure.in

6 years agoDisable SQLite3 support
Kern Sibbald [Tue, 29 Aug 2017 14:12:15 +0000 (16:12 +0200)]
Disable SQLite3 support