]> git.sur5r.net Git - bacula/bacula/log
bacula/bacula
7 years agoTweak update version + date
Kern Sibbald [Sat, 11 Nov 2017 14:56:57 +0000 (15:56 +0100)]
Tweak update version + date

7 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.

7 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

7 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

7 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

7 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.

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

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

7 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

7 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

7 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

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

7 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>
7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

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

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

7 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

7 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

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

7 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

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

7 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

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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

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

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

7 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)

7 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

7 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

7 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.

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

7 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

7 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

7 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

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

7 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

7 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

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

7 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

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

7 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.

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

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

7 years agoFix #2925 Do not try to stop non backup jobs (virtualfull, copy, migration, restore...
Eric Bollengier [Mon, 28 Aug 2017 12:47:48 +0000 (14:47 +0200)]
Fix #2925 Do not try to stop non backup jobs (virtualfull, copy, migration, restore, etc...)

The code to handle restart incomplete restore/copy/migration jobs is not implemented.

7 years agobaculum: Fix broken symbolic links for lang files
Marcin Haba [Fri, 25 Aug 2017 15:28:25 +0000 (17:28 +0200)]
baculum: Fix broken symbolic links for lang files

7 years agoTweak: correct typo in date
Kern Sibbald [Tue, 8 Aug 2017 06:17:46 +0000 (08:17 +0200)]
Tweak: correct typo in date

7 years agoTweak update version+date Release-9.0.3
Kern Sibbald [Tue, 8 Aug 2017 05:39:26 +0000 (07:39 +0200)]
Tweak update version+date

7 years agoUpdate ChangeLog+ReleaseNotes
Kern Sibbald [Tue, 8 Aug 2017 05:39:09 +0000 (07:39 +0200)]
Update ChangeLog+ReleaseNotes

7 years agobaculum: Fix access denied error on api install wizard page
Marcin Haba [Sun, 6 Aug 2017 08:26:27 +0000 (10:26 +0200)]
baculum: Fix access denied error on api install wizard page

7 years agobaculum: Remove assigning to api host when user is deleted
Marcin Haba [Sun, 6 Aug 2017 08:13:32 +0000 (10:13 +0200)]
baculum: Remove assigning to api host when user is deleted

7 years agobaculum: Fix empty admin setting
Marcin Haba [Sun, 6 Aug 2017 07:38:39 +0000 (09:38 +0200)]
baculum: Fix empty admin setting

7 years agobaculum: Add ability to assign host to specific user
Marcin Haba [Sun, 6 Aug 2017 07:19:32 +0000 (09:19 +0200)]
baculum: Add ability to assign host to specific user

- Define api host for user
- Fix users working in BWeb
- Drop using user manager
- Separate users code to new portlet

7 years agobaculum: Fix bconsole test connection for new api host that works with new director
Marcin Haba [Sun, 6 Aug 2017 07:05:20 +0000 (09:05 +0200)]
baculum: Fix bconsole test connection for new api host that works with new director

7 years agobaculum: Fix sqlite db support
Marcin Haba [Sat, 5 Aug 2017 18:04:35 +0000 (20:04 +0200)]
baculum: Fix sqlite db support

7 years agobaculum: Fix bconsole connection test in config wizard
Marcin Haba [Tue, 1 Aug 2017 17:19:44 +0000 (19:19 +0200)]
baculum: Fix bconsole connection test in config wizard

7 years agobpipe: Fix compiler warning
Eric Bollengier [Mon, 31 Jul 2017 08:45:12 +0000 (10:45 +0200)]
bpipe: Fix compiler warning

The new GCC reports that the strncpy is incorrect. As the length was
tested just before, this is not a bug fix.

7 years agoTweak remove trailing spaces
Kern Sibbald [Sat, 5 Aug 2017 06:57:35 +0000 (08:57 +0200)]
Tweak remove trailing spaces

7 years agoFix bug #2301 Solaris Available space incorrectly reported by turning off the output...
Kern Sibbald [Thu, 3 Aug 2017 19:15:55 +0000 (21:15 +0200)]
Fix bug #2301 Solaris Available space incorrectly reported by turning off the output for Solaris

7 years agoFix bug #2300 mount/unmount/release of single tape drive does not work
Kern Sibbald [Thu, 3 Aug 2017 19:15:08 +0000 (21:15 +0200)]
Fix bug #2300 mount/unmount/release of single tape drive does not work

7 years agobaculum: Fix writing config for schedule and message names with space
Marcin Haba [Tue, 1 Aug 2017 16:51:44 +0000 (18:51 +0200)]
baculum: Fix writing config for schedule and message names with space

7 years agobaculum: Fix drag & drop file version elements
Marcin Haba [Mon, 31 Jul 2017 05:56:40 +0000 (07:56 +0200)]
baculum: Fix drag & drop file version elements

7 years agobaculum: Add fileset info endpoint and use it in restore wizard
Marcin Haba [Sun, 30 Jul 2017 14:29:53 +0000 (16:29 +0200)]
baculum: Add fileset info endpoint and use it in restore wizard