]> git.ipfire.org Git - thirdparty/bacula.git/log
thirdparty/bacula.git
4 years agoAdd missing error handling in do_vbackup()
Michal Rakowski [Mon, 3 Aug 2020 15:01:33 +0000 (17:01 +0200)] 
Add missing error handling in do_vbackup()

4 years agomysql: add Primary Key to each table created when sql_require_primary_key flag is...
Michal Rakowski [Sun, 2 Aug 2020 20:55:28 +0000 (22:55 +0200)] 
mysql: add Primary Key to each table created when sql_require_primary_key flag is turned on

4 years agoregress: new fdsourceaddress-tryout
Alain Spineux [Mon, 3 Aug 2020 12:55:32 +0000 (14:55 +0200)] 
regress: new fdsourceaddress-tryout

4 years agotweak comment about not using SO_REUSEADDR for Dir & Fd SourceAddress
Alain Spineux [Mon, 3 Aug 2020 10:07:29 +0000 (12:07 +0200)] 
tweak comment about not using SO_REUSEADDR for Dir & Fd SourceAddress

4 years agoregress: add simple backup & restore test aka "simple-test"
Alain Spineux [Mon, 3 Aug 2020 09:30:14 +0000 (11:30 +0200)] 
regress: add simple backup & restore test aka "simple-test"

4 years agoReopen trace file after reload_config()
Alain Spineux [Wed, 22 Jul 2020 13:30:59 +0000 (15:30 +0200)] 
Reopen trace file after reload_config()

4 years agoReopen trace file in WORKING dir after read of configuration file
Alain Spineux [Wed, 22 Jul 2020 11:54:45 +0000 (13:54 +0200)] 
Reopen trace file in WORKING dir after read of configuration file

- the trace file is first open in current directory when the daemon is started
  with -d XXX
- close it and reopen it in the working directory after the load of
  the config file

4 years agorpms: Add GPFS support to Redhat/SLES
Eric Bollengier [Wed, 15 Jul 2020 15:55:16 +0000 (17:55 +0200)] 
rpms: Add GPFS support to Redhat/SLES

4 years agoFix typos bug #2478
Carsten Leonhardt [Mon, 31 Aug 2020 07:05:14 +0000 (09:05 +0200)] 
Fix typos bug #2478

4 years agoClarify SD vbackup device error message
Kern Sibbald [Mon, 17 Aug 2020 16:38:48 +0000 (18:38 +0200)] 
Clarify SD vbackup device error message

4 years agoupdate configure
Eric Bollengier [Wed, 5 Aug 2020 09:01:02 +0000 (11:01 +0200)] 
update configure

4 years agoFix restore issue in community version reported by big-vol-test
Eric Bollengier [Wed, 5 Aug 2020 08:51:34 +0000 (10:51 +0200)] 
Fix restore issue in community version reported by big-vol-test

4 years agoBEE Backport bacula/src/win32/filed/vss_generic.cpp
Alain Spineux [Wed, 5 Aug 2020 08:08:32 +0000 (10:08 +0200)] 
BEE Backport bacula/src/win32/filed/vss_generic.cpp

This commit is the result of the squash of the following main commits:

Author: Alain Spineux <alain@baculasystems.com>
Date:   Tue Aug 28 17:14:31 2018 +0200

    snapshot: maintain both paths instead of stripping and unstripping

    - snap_fname is the path inside the snapshot used for "system" operation
    - fname is the path from the FileSet used for display and for SD or DIR
      "computation"
    - when snapshot is not in used, both are equal

4 years agoBEE Backport bacula/src/win32/filed/vss.h
Alain Spineux [Wed, 5 Aug 2020 08:08:29 +0000 (10:08 +0200)] 
BEE Backport bacula/src/win32/filed/vss.h

This commit is the result of the squash of the following main commits:

Author: Alain Spineux <alain@baculasystems.com>
Date:   Tue Jun 12 18:42:49 2018 +0200

    win32: plugin memory allocation cleanup

    - use bmalloc(len) instead of new char[len] (also for WCHAR)
    - always use bfree() (or safe_bfree()) for memory allocated with bmalloc()
     (instead of delete or safe_delete())

4 years agoBEE Backport bacula/src/win32/filed/vss.cpp
Alain Spineux [Wed, 5 Aug 2020 08:08:25 +0000 (10:08 +0200)] 
BEE Backport bacula/src/win32/filed/vss.cpp

This commit is the result of the squash of the following main commits:

Author: Alain Spineux <alain@baculasystems.com>
Date:   Tue Aug 28 17:14:31 2018 +0200

    snapshot: maintain both paths instead of stripping and unstripping

    - snap_fname is the path inside the snapshot used for "system" operation
    - fname is the path from the FileSet used for display and for SD or DIR
      "computation"
    - when snapshot is not in used, both are equal

Author: Alain Spineux <alain@baculasystems.com>
Date:   Tue Jun 12 18:42:49 2018 +0200

    win32: plugin memory allocation cleanup

    - use bmalloc(len) instead of new char[len] (also for WCHAR)
    - always use bfree() (or safe_bfree()) for memory allocated with bmalloc()
     (instead of delete or safe_delete())

Author: Alain Spineux <alain@baculasystems.com>
Date:   Mon Mar 26 18:23:06 2018 +0200

    win32: update compat.cpp "file" functions to use new path functions

    - statDir
    - stat 2
    - GetApplicationName
    - win32_chmod win32_chdir win32_mkdir
    - win32_getcwd file_open utime
    - symlink
    - stat
    - breaddir
    - opendir

Author: Alain Spineux <alain@baculasystems.com>
Date:   Mon Mar 26 14:27:18 2018 +0200

    win32: new wchar_path_2_wutf8() && wutf8_path_2_wchar()

    - both functions convet UTTF8 <-> UTF16 and
      escape/unescape invalid UTF16 stream
    - see more in documentation

4 years agoBEE Backport bacula/src/win32/filed/Makefile
Eric Bollengier [Wed, 5 Aug 2020 08:08:14 +0000 (10:08 +0200)] 
BEE Backport bacula/src/win32/filed/Makefile

This commit is the result of the squash of the following main commits:

Author: Eric Bollengier <eric@baculasystems.com>
Date:   Fri Jan 10 18:12:08 2020 +0100

    Rename BEE_XXX_YYY_SRCS into EXTRA_XXX_YYY_SRCS and add --disable-bee ./configure option

Author: Eric Bollengier <eric@baculasystems.com>
Date:   Mon Apr 1 11:04:12 2019 +0200

    Fix windows compilation

Author: Eric Bollengier <eric@baculasystems.com>
Date:   Wed Mar 20 14:53:33 2019 +0100

    Add FD Calls Director feature to ease client behind NAT access

     - Implement scheduler in Client side to activate the feature
     - Refactor Run resource between the director and the file daemon
     - Allow to use the Director resource to connect a Director for the proxy command and the FDCallsDir
     - Add FDCallsDir state in show client
     - Add code to handle permanent connections bsock_meeting

    New Directive
     FileDaemon:Director:FDCallsDir=<yes/no>
     FileDaemon:Director:FDCallsDirReconnect=<time>
     FileDaemon:Director:FDCallsDirSchedule=<resource>

     Director:Client:FDCallsDir=<yes/no>

    New Resource
     FileDaemon:Schedule

Author: Kern Sibbald <kern@sibbald.com>
Date:   Sat Dec 27 10:16:52 2014 +0100

    Add license to files without any

4 years agoBEE Backport bacula/src/win32/wx-console/Makefile
Kern Sibbald [Wed, 5 Aug 2020 08:07:19 +0000 (10:07 +0200)] 
BEE Backport bacula/src/win32/wx-console/Makefile

This commit is the result of the squash of the following main commits:

Author: Kern Sibbald <kern@sibbald.com>
Date:   Wed May 20 14:50:02 2015 +0200

    More copyright notices

4 years agoBEE Backport bacula/src/win32/tools/Makefile
Eric Bollengier [Wed, 5 Aug 2020 08:07:00 +0000 (10:07 +0200)] 
BEE Backport bacula/src/win32/tools/Makefile

This commit is the result of the squash of the following main commits:

Author: Norbert Bizet <norbert.bizet@baculasystems.com>
Date:   Wed May 8 12:19:14 2019 -0400

    cdp-client: Add exe to installers. Modify tools makefile.

Author: Eric Bollengier <eric.bollengier@baculasystems.com>
Date:   Fri May 3 09:04:25 2019 +0000

    cdp: Fix windows cdp-client build

Author: Eric Bollengier <eric@baculasystems.com>
Date:   Wed Mar 20 14:53:33 2019 +0100

    Add FD Calls Director feature to ease client behind NAT access

     - Implement scheduler in Client side to activate the feature
     - Refactor Run resource between the director and the file daemon
     - Allow to use the Director resource to connect a Director for the proxy command and the FDCallsDir
     - Add FDCallsDir state in show client
     - Add code to handle permanent connections bsock_meeting

    New Directive
     FileDaemon:Director:FDCallsDir=<yes/no>
     FileDaemon:Director:FDCallsDirReconnect=<time>
     FileDaemon:Director:FDCallsDirSchedule=<resource>

     Director:Client:FDCallsDir=<yes/no>

    New Resource
     FileDaemon:Schedule

4 years agoBEE Backport bacula/src/win32/libwin32/main.cpp
Git Backport Process [Wed, 5 Aug 2020 08:06:27 +0000 (10:06 +0200)] 
BEE Backport bacula/src/win32/libwin32/main.cpp

This commit is the result of the squash of the following main commits:

4 years agoBEE Backport bacula/src/win32/libwin32/aboutDialog.cpp
Git Backport Process [Wed, 5 Aug 2020 08:05:37 +0000 (10:05 +0200)] 
BEE Backport bacula/src/win32/libwin32/aboutDialog.cpp

4 years agoBEE Backport bacula/src/win32/libbac/Makefile
Kern Sibbald [Wed, 5 Aug 2020 08:05:05 +0000 (10:05 +0200)] 
BEE Backport bacula/src/win32/libbac/Makefile

This commit is the result of the squash of the following main commits:

Author: Kern Sibbald <kern@sibbald.com>
Date:   Thu May 21 11:32:54 2015 +0200

    More license updates

4 years agoBEE Backport bacula/src/win32/lib/make_def64
Kern Sibbald [Wed, 5 Aug 2020 08:04:54 +0000 (10:04 +0200)] 
BEE Backport bacula/src/win32/lib/make_def64

This commit is the result of the squash of the following main commits:

Author: Kern Sibbald <kern@sibbald.com>
Date:   Fri Jan 9 11:32:55 2015 +0100

    Change bplugin_list to b_plugin_list which is more appropriate

4 years agoBEE Backport bacula/src/win32/lib/make_def32
Kern Sibbald [Wed, 5 Aug 2020 08:04:52 +0000 (10:04 +0200)] 
BEE Backport bacula/src/win32/lib/make_def32

This commit is the result of the squash of the following main commits:

4 years agoBEE Backport bacula/src/win32/lib/Makefile
Eric Bollengier [Wed, 5 Aug 2020 08:04:44 +0000 (10:04 +0200)] 
BEE Backport bacula/src/win32/lib/Makefile

This commit is the result of the squash of the following main commits:

4 years agoBEE Backport bacula/src/win32/cats/Makefile
Eric Bollengier [Wed, 5 Aug 2020 08:04:16 +0000 (10:04 +0200)] 
BEE Backport bacula/src/win32/cats/Makefile

This commit is the result of the squash of the following main commits:

Author: Eric Bollengier <eric@baculasystems.com>
Date:   Fri Jan 10 18:12:08 2020 +0100

    Rename BEE_XXX_YYY_SRCS into EXTRA_XXX_YYY_SRCS and add --disable-bee ./configure option

Author: Eric Bollengier <eric@baculasystems.com>
Date:   Mon Aug 26 10:16:15 2019 +0200

    Add bee objects to Win32 makefiles

4 years agoBEE Backport ./make_def
Git Backport Process [Wed, 5 Aug 2020 08:03:52 +0000 (10:03 +0200)] 
BEE Backport ./make_def

4 years agoBEE Backport bacula/src/win32/dird/who.h
Eric Bollengier [Wed, 5 Aug 2020 08:03:13 +0000 (10:03 +0200)] 
BEE Backport bacula/src/win32/dird/who.h

This commit is the result of the squash of the following main commits:

Author: Eric Bollengier <eric@baculasystems.com>
Date:   Tue Apr 5 16:43:36 2016 +0200

    Allow to run multiple VSS jobs at the same time

4 years agoBEE Backport bacula/src/win32/dird/service.cpp
Git Backport Process [Wed, 5 Aug 2020 08:03:01 +0000 (10:03 +0200)] 
BEE Backport bacula/src/win32/dird/service.cpp

This commit is the result of the squash of the following main commits:

4 years agoBEE Backport bacula/src/win32/dird/main.cpp
Git Backport Process [Wed, 5 Aug 2020 08:02:42 +0000 (10:02 +0200)] 
BEE Backport bacula/src/win32/dird/main.cpp

This commit is the result of the squash of the following main commits:

4 years agoBEE Backport bacula/src/win32/dird/Makefile
Eric Bollengier [Wed, 5 Aug 2020 08:02:39 +0000 (10:02 +0200)] 
BEE Backport bacula/src/win32/dird/Makefile

This commit is the result of the squash of the following main commits:

Author: Eric Bollengier <eric@baculasystems.com>
Date:   Fri Jan 10 18:12:08 2020 +0100

    Rename BEE_XXX_YYY_SRCS into EXTRA_XXX_YYY_SRCS and add --disable-bee ./configure option

4 years agoBEE Backport bacula/src/win32/stored/who.h
Eric Bollengier [Wed, 5 Aug 2020 08:02:30 +0000 (10:02 +0200)] 
BEE Backport bacula/src/win32/stored/who.h

This commit is the result of the squash of the following main commits:

Author: Eric Bollengier <eric@baculasystems.com>
Date:   Tue Apr 5 16:43:36 2016 +0200

    Allow to run multiple VSS jobs at the same time

4 years agoBEE Backport bacula/src/win32/stored/Makefile
Eric Bollengier [Wed, 5 Aug 2020 08:02:25 +0000 (10:02 +0200)] 
BEE Backport bacula/src/win32/stored/Makefile

This commit is the result of the squash of the following main commits:

Author: Eric Bollengier <eric@baculasystems.com>
Date:   Thu Mar 19 18:09:32 2020 +0100

    more work on QT5 for windows

Author: Eric Bollengier <eric@baculasystems.com>
Date:   Mon Jan 27 17:45:42 2020 +0100

    Add libsd objects to win32 Makefile for bacula-sd

Author: Eric Bollengier <eric@baculasystems.com>
Date:   Fri Jan 10 18:12:08 2020 +0100

    Rename BEE_XXX_YYY_SRCS into EXTRA_XXX_YYY_SRCS and add --disable-bee ./configure option

Author: Eric Bollengier <eric@baculasystems.com>
Date:   Fri Oct 5 16:45:40 2018 +0200

    Fix windows compilation

4 years agoBEE Backport bacula/src/win32/stored/trayMonitor.cpp
Kern Sibbald [Wed, 5 Aug 2020 08:02:19 +0000 (10:02 +0200)] 
BEE Backport bacula/src/win32/stored/trayMonitor.cpp

This commit is the result of the squash of the following main commits:

4 years agoBEE Backport bacula/src/win32/stored/service.cpp
Kern Sibbald [Wed, 5 Aug 2020 08:02:16 +0000 (10:02 +0200)] 
BEE Backport bacula/src/win32/stored/service.cpp

This commit is the result of the squash of the following main commits:

4 years agoBEE Backport bacula/src/win32/stored/main.cpp
Git Backport Process [Wed, 5 Aug 2020 08:01:58 +0000 (10:01 +0200)] 
BEE Backport bacula/src/win32/stored/main.cpp

This commit is the result of the squash of the following main commits:

4 years agoBEE Backport ./xwinconfig.h
Kern Sibbald [Wed, 5 Aug 2020 08:01:25 +0000 (10:01 +0200)] 
BEE Backport ./xwinconfig.h

This commit is the result of the squash of the following main commits:

Author: Kern Sibbald <kern@sibbald.com>
Date:   Wed Jan 7 15:20:59 2015 +0100

    Put back old code prior to excessive edits

Author: Kern Sibbald <kern@sibbald.com>
Date:   Sun May 6 11:12:45 2012 +0200

    Remove new MySQL libs detection code + cleanup MYSQL unused and dup defines

Author: Kern Sibbald <kern@sibbald.com>
Date:   Mon Mar 26 16:37:16 2012 +0200

    Rename unused file winconfig.h in compat

4 years agoBEE Backport bacula/src/win32/compat/mingwconfig.h
Eric Bollengier [Wed, 5 Aug 2020 08:01:11 +0000 (10:01 +0200)] 
BEE Backport bacula/src/win32/compat/mingwconfig.h

This commit is the result of the squash of the following main commits:

Author: Eric Bollengier <eric@baculasystems.com>
Date:   Thu Mar 19 18:09:32 2020 +0100

    more work on QT5 for windows

4 years agoBEE Backport bacula/src/win32/compat/compat.cpp
Alain Spineux [Wed, 5 Aug 2020 08:01:02 +0000 (10:01 +0200)] 
BEE Backport bacula/src/win32/compat/compat.cpp

This commit is the result of the squash of the following main commits:

Author: Eric Bollengier <eric@baculasystems.com>
Date:   Tue Jun 2 13:42:07 2020 +0200

    win32: Fix org#2547 About possible NULL pointer dereference in get_memory_info

Author: Henrique <henrique.faria@baculasystems.com>
Date:   Tue Apr 30 20:07:27 2019 -0300

    win32: added flock implementation

Author: Eric Bollengier <eric@baculasystems.com>
Date:   Fri Mar 1 16:50:32 2019 +0100

    Fix win32 compilation

Author: Alain Spineux <alain@baculasystems.com>
Date:   Mon Nov 12 11:07:04 2018 +0100

    win32: Fix #4286 about the restore of a volume root directory with the hidden & system attributes

    - Detect root directories like C:\ or C:\mount_point
      and setup st_rdev=WIN32_ROOT_POINT to tell restore to not restore
      the hidden and system attributes
    - Be aware that there is 2 different "directories" (1) the parent
      directory like c:\mount_point and (2) the root directory of the volume
      that your are attaching to the parent. The attributes that you see is
      the attribute of (1) but for drive letters, their is no (1) then
      you see always (2) (that are hidden and system).
      When VSS snapshot is used

Author: Kern Sibbald <kern@sibbald.com>
Date:   Tue Nov 6 09:56:32 2018 +0100

    win32: Fix bug #2421 by Adam about quoting Windows paths in CreateChildProcess()

Author: Radosław Korzeniewski <radekk@inteos.pl>
Date:   Mon Jul 23 19:33:19 2018 +0200

    Fix bacula.client.*.memory.heap metric for windows.

Author: Norbert Bizet <norbert.bizet@baculasystems.com>
Date:   Fri Jul 13 16:45:34 2018 +0200

    bpipe: adapt 'e' mode to win32 in compat.

Author: Alain Spineux <alain@baculasystems.com>
Date:   Mon Jun 18 03:14:52 2018 +0200

    win32: Add function to test wchar_path_2_wutf8() & co

Author: Alain Spineux <alain@baculasystems.com>
Date:   Sat Apr 28 05:06:20 2018 +0200

    win32: Add attributes_to_stat()

    - the code to fill in the stat structure was replicated at 3 different
      places

Author: Alain Spineux <alain@baculasystems.com>
Date:   Sat Apr 28 07:42:58 2018 +0200

    win32: Rewrite of the stat() and reparse point detection

    - combine all stat() functions
    - statDir() i& stat2() are not used anymore
    - adjuste find_one for directory symlink

Author: Alain Spineux <alain@baculasystems.com>
Date:   Wed Apr 25 12:11:21 2018 +0200

    win32 new attribute_to_mode() feeds st_mode from Windows attributes

    - the same code is used a 3 places
    - notice that statDir() was blindly assigning S_IFDIR, attribute_to_mode()
      don't. Did I introduce a new bug ? (just in case)

Author: Alain Spineux <alain@baculasystems.com>
Date:   Mon Mar 26 18:23:06 2018 +0200

    win32: update compat.cpp "file" functions to use new path functions

    - statDir
    - stat 2
    - GetApplicationName
    - win32_chmod win32_chdir win32_mkdir
    - win32_getcwd file_open utime
    - symlink
    - stat
    - breaddir
    - opendir

Author: Alain Spineux <alain@baculasystems.com>
Date:   Mon Mar 26 14:27:18 2018 +0200

    win32: new wchar_path_2_wutf8() && wutf8_path_2_wchar()

    - both functions convet UTTF8 <-> UTF16 and
      escape/unescape invalid UTF16 stream
    - see more in documentation

Author: Alain Spineux <alain@baculasystems.com>
Date:   Mon Mar 26 17:26:27 2018 +0200

    win32: Add norm_wchar_win32_path()

Author: Eric Bollengier <eric@baculasystems.com>
Date:   Thu May 4 14:11:32 2017 +0200

    windows: Detect ACL changes on files and directories during Incremental jobs

Author: Kern Sibbald <kern@sibbald.com>
Date:   Fri May 3 12:57:38 2013 +0200

    Try to fix IPv6 on Windows using Microsoft inetpton

Author: Eric Bollengier <eric@baculasystems.com>
Date:   Fri Jul 6 15:43:08 2012 +0200

    Implement symlink() call for win32

4 years agoBEE Backport bacula/src/win32/compat/winapi.h
Alain Spineux [Wed, 5 Aug 2020 07:59:57 +0000 (09:59 +0200)] 
BEE Backport bacula/src/win32/compat/winapi.h

This commit is the result of the squash of the following main commits:

4 years agoBEE Backport bacula/src/win32/compat/compat.h
Git Backport Process [Wed, 5 Aug 2020 07:59:49 +0000 (09:59 +0200)] 
BEE Backport bacula/src/win32/compat/compat.h

This commit is the result of the squash of the following main commits:

Author: Henrique <henrique.faria@baculasystems.com>
Date:   Tue Apr 30 20:07:27 2019 -0300

    win32: added flock implementation

Author: Radosław Korzeniewski <radekk@inteos.pl>
Date:   Mon Jul 16 14:33:42 2018 +0200

    Fix bsock compilation on windows based on Eric's patch.

Author: Eric Bollengier <eric@baculasystems.com>
Date:   Wed Jul 4 10:50:46 2018 +0200

    win32: Fix director compilation

Author: Alain Spineux <alain@baculasystems.com>
Date:   Mon Mar 26 18:23:06 2018 +0200

    win32: update compat.cpp "file" functions to use new path functions

    - statDir
    - stat 2
    - GetApplicationName
    - win32_chmod win32_chdir win32_mkdir
    - win32_getcwd file_open utime
    - symlink
    - stat
    - breaddir
    - opendir

4 years agoFix the jobLevel, fileSet and Client into Copy/Migrate-job
Alain Spineux [Fri, 31 Jul 2020 13:57:14 +0000 (15:57 +0200)] 
Fix the jobLevel, fileSet and Client into Copy/Migrate-job

- Use the FileSet, and the Client from the Job Record instead of the Job
  resource.
- Use the JobLevel from the JobRecord, it was wrongly set to copy-job Level
  in "Fix bug #2286 copied jobs always have level=Incremental"
- These values can all be overwritten in the command line or by the
  Scheduler, that is why they must be taken from the Job Record.
- Notice that values copied into wjcr goes into the volume and then
  a bscan of the copy should restore the right value into the catalog

4 years agoRemove duplicate code in setup_resume_job() about JobType and JobLevel
Alain Spineux [Thu, 30 Jul 2020 12:35:40 +0000 (14:35 +0200)] 
Remove duplicate code in setup_resume_job() about JobType and JobLevel

4 years agoDo not call mac_cleanup() twice when an error is raised
Alain Spineux [Thu, 30 Jul 2020 12:33:10 +0000 (14:33 +0200)] 
Do not call mac_cleanup() twice when an error is raised

- mac_cleanup() was called twice when an error was raised in do_mac()

4 years agotweak remove unused declaration of find_jobids_of_pool_uncopied_jobs()
Alain Spineux [Thu, 30 Jul 2020 09:24:40 +0000 (11:24 +0200)] 
tweak remove unused declaration of find_jobids_of_pool_uncopied_jobs()

- this function is static mac_sql.c then cannot be used somewhere else

4 years agoFix #6557 Suppress message "Error: bsock.c:394 Wrote 4 bytes" after a BNET_TERMINATE
Alain Spineux [Fri, 24 Jul 2020 12:36:06 +0000 (14:36 +0200)] 
Fix #6557 Suppress message "Error: bsock.c:394 Wrote 4 bytes" after a BNET_TERMINATE

    - Quiet this type of message
      Error: bsock.c:394 Wrote 4 bytes ..... , but only 0 accepted.
    - Don't fix the issue that generate the message, just suppress the message.

4 years agoFix accurate SQL query for SQLite, remove "()" around the query
Alain Spineux [Tue, 28 Jul 2020 14:48:43 +0000 (16:48 +0200)] 
Fix accurate SQL query for SQLite, remove "()" around the query

4 years agoFix org#2551 About the 'show catalog' command that is truncating the db_driver
Eric Bollengier [Thu, 23 Jul 2020 08:51:41 +0000 (10:51 +0200)] 
Fix org#2551 About the 'show catalog' command that is truncating the db_driver

Reported by Wanderlei Huttel

4 years agoRevert PKEY-related part of commit bf9310c220
Michal Rakowski [Wed, 22 Jul 2020 09:07:34 +0000 (11:07 +0200)] 
Revert PKEY-related part of commit bf9310c220

4 years agoAdd missing error handling for database queries
Michal Rakowski [Tue, 21 Jul 2020 12:39:27 +0000 (14:39 +0200)] 
Add missing error handling for database queries

4 years agoFix #6602 About wrong message in case of setting '0' bandwidth limit
Michal Rakowski [Fri, 17 Jul 2020 10:49:56 +0000 (12:49 +0200)] 
Fix #6602 About wrong message in case of setting '0' bandwidth limit

4 years agoFix depend target in filed/Makefile.in
Eric Bollengier [Tue, 21 Jul 2020 12:14:28 +0000 (14:14 +0200)] 
Fix depend target in filed/Makefile.in

4 years agoFix compilation with GPFS
Eric Bollengier [Tue, 21 Jul 2020 07:11:36 +0000 (09:11 +0200)] 
Fix compilation with GPFS

4 years agoFix windows compilation
Eric Bollengier [Mon, 20 Jul 2020 14:13:31 +0000 (16:13 +0200)] 
Fix windows compilation

4 years agoFix compilation
Eric Bollengier [Mon, 20 Jul 2020 14:01:37 +0000 (16:01 +0200)] 
Fix compilation

4 years agogpfs: Detect libgpfs.so in gpfsdir
Eric Bollengier [Mon, 20 Jul 2020 12:29:01 +0000 (14:29 +0200)] 
gpfs: Detect libgpfs.so in gpfsdir

4 years agoFix compilation with GPFS
Eric Bollengier [Mon, 20 Jul 2020 12:17:02 +0000 (14:17 +0200)] 
Fix compilation with GPFS

4 years agoDo not display NOTICE messages after PostgreSQL commands
Eric Bollengier [Mon, 20 Jul 2020 11:31:09 +0000 (13:31 +0200)] 
Do not display NOTICE messages after PostgreSQL commands

4 years agoUse DROP TABLE IF EXISTS in cats library to avoid errors with missing tables
Eric Bollengier [Mon, 20 Jul 2020 11:25:16 +0000 (13:25 +0200)] 
Use DROP TABLE IF EXISTS in cats library to avoid errors with missing tables

4 years agogpfs: Add GPFS in status client output (debug level > 0)
Eric Bollengier [Mon, 20 Jul 2020 08:42:22 +0000 (10:42 +0200)] 
gpfs: Add GPFS in status client output (debug level > 0)

4 years agoDisplay GPFS support in config.out
Eric Bollengier [Mon, 20 Jul 2020 08:14:38 +0000 (10:14 +0200)] 
Display GPFS support in config.out

4 years agoDo not check for libgpfs in ./configure
Eric Bollengier [Fri, 17 Jul 2020 13:39:18 +0000 (15:39 +0200)] 
Do not check for libgpfs in ./configure

4 years agoFix #4053 About wrong error message during virtual backup
Michal Rakowski [Thu, 16 Jul 2020 14:25:57 +0000 (16:25 +0200)] 
Fix #4053 About wrong error message during virtual backup

4 years agoAvoid concurrent initialization of the same device in the Storage Daemon
Alain Spineux [Wed, 3 Jun 2020 16:43:50 +0000 (18:43 +0200)] 
Avoid concurrent initialization of the same device in the Storage Daemon

- device that failed at first initialization can be "retried" when trying
  to use it (run, label, ..). Be sure that concurrent try of using
  an uninitialized device will not initiate concurrent initialization.

4 years agoregress: make sure estat=1 reports verbose ERROR
Norbert Bizet [Wed, 24 Jun 2020 12:26:54 +0000 (08:26 -0400)] 
regress: make sure estat=1 reports verbose  ERROR

4 years agoregress: copy-job-test fix SpoolData directive setup using SPOOLDATA_JOB
Alain Spineux [Fri, 17 Jul 2020 08:57:02 +0000 (10:57 +0200)] 
regress: copy-job-test fix SpoolData directive setup using SPOOLDATA_JOB

- SPOOLDATA_RUN was erroneously controlling the directive too

4 years agoFix #6573 copy-job ignores run spooldata=(yes/no) argument
Alain Spineux [Fri, 17 Jul 2020 08:54:51 +0000 (10:54 +0200)] 
Fix #6573 copy-job ignores run spooldata=(yes/no) argument

- copy jobs was always following the directive in the copy-job

4 years agoregress: tweak test-copy to support param SPOOLDATA_JOB & SPOOLDATA_RUN
Alain Spineux [Wed, 15 Jul 2020 14:28:26 +0000 (16:28 +0200)] 
regress: tweak test-copy to support param SPOOLDATA_JOB & SPOOLDATA_RUN

- mantis # 6573

4 years agoTweak LOCK_GUARD() macro again
Alain Spineux [Wed, 15 Jul 2020 11:48:35 +0000 (13:48 +0200)] 
Tweak LOCK_GUARD() macro again

- this time we have added macro PFL() & VFL() that are identical to P & V
  but with line.
- use these PFL & VFL into lock_guard()
- reenable LOCK_GUARD() with auto generated name

4 years agoAdd possibility to express size/speed units in KiB, MiB, GiB and TiB
Michal Rakowski [Wed, 15 Jul 2020 17:21:09 +0000 (19:21 +0200)] 
Add possibility to express size/speed units in KiB, MiB, GiB and TiB

4 years agoFix #6575 add message during setting debug parameters for Director
Michal Rakowski [Mon, 13 Jul 2020 07:05:59 +0000 (09:05 +0200)] 
Fix #6575 add message during setting debug parameters for Director

4 years agoregress: add test for setting debug options
Michal Rakowski [Wed, 15 Jul 2020 07:27:04 +0000 (09:27 +0200)] 
regress: add test for setting debug options

4 years agoregress: Add regress script for GPFS code
Radoslaw Korzeniewski [Wed, 15 Jul 2020 15:08:15 +0000 (17:08 +0200)] 
regress: Add regress script for GPFS code

4 years agoAdd GPFS configure code
Radoslaw Korzeniewski [Wed, 15 Jul 2020 15:04:20 +0000 (17:04 +0200)] 
Add GPFS configure code

4 years agoAdd GPFS ACL/XATTR Support
Eric Bollengier [Wed, 15 Jul 2020 15:01:23 +0000 (17:01 +0200)] 
Add GPFS ACL/XATTR Support

Author: Radosław Korzeniewski <radekk@inteos.pl>
Date:   Tue Jul 14 11:13:36 2020 +0000

    regress: GPFS regression test scripts

Author: Radosław Korzeniewski <radekk@inteos.pl>
Date:   Tue Jul 14 11:13:06 2020 +0000

    gpfs: Fix for incorrect Default ACL handling

Author: Radosław Korzeniewski <radekk@inteos.pl>
Date:   Tue Jul 14 10:32:30 2020 +0000

    regress: WIP: GPFS regression

Author: Radosław Korzeniewski <radekk@inteos.pl>
Date:   Mon Jul 13 12:29:17 2020 +0000

    regress: GPFS regression tests

Author: Radosław Korzeniewski <radekk@inteos.pl>
Date:   Mon Jul 13 08:54:38 2020 +0000

    regress: Add gpfs regress test config variable

Author: Radosław Korzeniewski <radekk@inteos.pl>
Date:   Fri Jul 10 14:22:36 2020 +0000

    regress: Fix regress-utils.sh script

Author: Radosław Korzeniewski <radekk@inteos.pl>
Date:   Fri Jul 10 13:45:46 2020 +0000

    Fix broken configure for ACL/AFS detection

Author: Radosław Korzeniewski <radekk@inteos.pl>
Date:   Fri Jul 10 12:25:48 2020 +0000

    gpfs: GPFS ACL restore

Author: Radosław Korzeniewski <radekk@inteos.pl>
Date:   Fri Jul 10 10:43:43 2020 +0000

    gpfs: GPFS ACL restore

Author: Radosław Korzeniewski <radekk@inteos.pl>
Date:   Thu Jul 9 14:27:09 2020 +0000

    gpfs: General GPFS ACL backup ready

Author: Radosław Korzeniewski <radekk@inteos.pl>
Date:   Thu Jul 9 10:15:57 2020 +0000

    gpfs: Update build for GPFS/AFS dependency count

Author: Radosław Korzeniewski <radekk@inteos.pl>
Date:   Thu Jun 25 03:24:30 2020 -0400

    gpfs: Fix gpfslib loading routine

Author: Radosław Korzeniewski <radekk@inteos.pl>
Date:   Wed Jun 24 10:47:53 2020 -0400

    gpfs: GPFS support update build

Author: Radosław Korzeniewski <radekk@inteos.pl>
Date:   Wed Jun 24 07:37:46 2020 -0400

    gpfs: GPFS support

Author: Radosław Korzeniewski <radekk@inteos.pl>
Date:   Wed Jun 24 07:10:31 2020 -0400

    gpfs: Create GPFSLIB as a singleton

Author: Radosław Korzeniewski <radekk@inteos.pl>
Date:   Wed Jun 24 03:35:48 2020 -0400

    Fix compilation warning

Author: Radosław Korzeniewski <radekk@inteos.pl>
Date:   Tue Jun 23 11:51:40 2020 -0400

    gpfs: GPFS lib dynamic load

Author: Radosław Korzeniewski <radekk@inteos.pl>
Date:   Mon Jun 22 16:46:03 2020 +0200

    gpfs: gpfs acl

Author: Radosław Korzeniewski <radekk@inteos.pl>
Date:   Mon Jun 22 09:59:26 2020 -0400

    gpfs: gpfs acl

Author: Radosław Korzeniewski <radekk@inteos.pl>
Date:   Thu Apr 9 10:01:14 2020 -0400

    fstype: Update FS type handling functions

Author: Radosław Korzeniewski <radekk@inteos.pl>
Date:   Wed Apr 8 13:36:11 2020 -0400

    gpfs: Untested GPFS ACL routines

Author: Radosław Korzeniewski <radekk@inteos.pl>
Date:   Wed Apr 8 11:53:33 2020 -0400

    gpfs: Add GPFS libs detection

Author: Radosław Korzeniewski <radekk@inteos.pl>
Date:   Wed Apr 8 11:52:21 2020 -0400

    gpfs: Define GPFS streams

4 years agoFix #6270 About incorrect JobId displayed in "list joblog"
Eric Bollengier [Wed, 13 May 2020 11:30:46 +0000 (13:30 +0200)] 
Fix #6270 About incorrect JobId displayed in "list joblog"

4 years agoBEE Backport regress/tests/restart-job-test
Eric Bollengier [Mon, 3 Aug 2020 14:42:28 +0000 (16:42 +0200)] 
BEE Backport regress/tests/restart-job-test

4 years agoBEE Backport regress/scripts/functions.pm
Eric Bollengier [Mon, 3 Aug 2020 14:21:17 +0000 (16:21 +0200)] 
BEE Backport regress/scripts/functions.pm

4 years agoBEE Backport regress/tests/maxtime-test regress/tests/restart-accurate-job-test
Eric Bollengier [Mon, 3 Aug 2020 14:18:47 +0000 (16:18 +0200)] 
BEE Backport regress/tests/maxtime-test regress/tests/restart-accurate-job-test

4 years agoBEE Backport regress/tests/hardlink-test
Eric Bollengier [Mon, 3 Aug 2020 13:29:28 +0000 (15:29 +0200)] 
BEE Backport regress/tests/hardlink-test

4 years agoBEE Backport regress/scripts/new-test-bacula-dir.conf.in
Eric Bollengier [Mon, 3 Aug 2020 12:46:16 +0000 (14:46 +0200)] 
BEE Backport regress/scripts/new-test-bacula-dir.conf.in

4 years agoTweak stored/Makefile.in and tools/Makefile.in
Eric Bollengier [Mon, 3 Aug 2020 12:20:07 +0000 (14:20 +0200)] 
Tweak stored/Makefile.in and tools/Makefile.in

4 years agoFix compilation
Eric Bollengier [Mon, 3 Aug 2020 11:57:24 +0000 (13:57 +0200)] 
Fix compilation

4 years agoupdate configure
Eric Bollengier [Mon, 3 Aug 2020 11:55:24 +0000 (13:55 +0200)] 
update configure

4 years agoAdd EXTRA_XXX_SRCS to ./configure.in
Eric Bollengier [Mon, 3 Aug 2020 11:55:18 +0000 (13:55 +0200)] 
Add EXTRA_XXX_SRCS to ./configure.in

4 years agoBEE Backport regress/scripts/async.sh
Alain Spineux [Tue, 21 Jul 2020 08:57:40 +0000 (10:57 +0200)] 
BEE Backport regress/scripts/async.sh

Author: Alain Spineux <alain@baculasystems.com>
Date:   Wed Oct 16 19:28:20 2019 +0200

    regress: add a Dedup resource and make async.sh rebuild the SD plugins

Author: Alain Spineux <alain@baculasystems.com>
Date:   Wed Jul 30 09:27:07 2014 +0200

    regress: add support for ${MAKEOPT} to async.sh

Author: Alain Spineux <alain@baculasystems.com>
Date:   Wed Jul 23 01:40:04 2014 +0200

    regress: async.sh, check that bin/bacula exists before to use it

Author: Alain Spineux <alain@baculasystems.com>
Date:   Wed Jul 16 10:07:46 2014 +0200

    regress: do a kill -KILL in scripts/cleanup

    this speedup each test by 10s, because the script do some sleep when using default
    script/cleanup is called only at the begining of each test => not side effect

Author: Alain Spineux <alain@baculasystems.com>
Date:   Tue Jul 15 18:37:33 2014 +0200

    regress: scripts/async don't recompile if no source file have changed

    grep rsync output to see if files have been copied from BACULA_SOURCE

Author: Alain Spineux <alain@baculasystems.com>
Date:   Mon Jul 14 17:12:02 2014 +0200

    regress: make script/async.sh  take advantage of the improved make

Author: Alain Spineux <alain@baculasystems.com>
Date:   Tue Jul 1 09:55:35 2014 +0200

    regress: new scripts/async.sh

    async.sh do a rsync from BACULA_SOURCE in regress
    and try to do a safe rebuild and display errors a soon as it see it.
    This is only a very helpfull hack
    this is not 100% safe, dont hesitate to use "make setup"
    I use "make setup" often when I change bacula.h or important .h files

4 years agoBEE Backport regress scripts
Eric Bollengier [Tue, 21 Jul 2020 08:49:34 +0000 (10:49 +0200)] 
BEE Backport regress scripts

4 years agoFix #6599 About a segfault in the Director with debuglevel >= 900
Alain Spineux [Thu, 16 Jul 2020 08:23:47 +0000 (10:23 +0200)] 
Fix #6599 About a segfault in the Director with debuglevel >= 900

- globals can be NULL when called from dump_each_resource()
  in parse_config()
- the dump is called from inside the parser, before the globals
  are initialized
- No other solution than checking "globals" inside the getNumConcurrentXX()
  and isEnable() methods

4 years agoFix update_mysql_tables_1021_to_1022 for debian
Eric Bollengier [Wed, 15 Jul 2020 18:06:03 +0000 (20:06 +0200)] 
Fix update_mysql_tables_1021_to_1022 for debian

4 years agoFix mysql table creation issue with Events table
Eric Bollengier [Wed, 15 Jul 2020 13:42:36 +0000 (15:42 +0200)] 
Fix mysql table creation issue with Events table

4 years agoQuick fix for LOCK_GUARD macro for the release
Alain Spineux [Mon, 13 Jul 2020 16:38:18 +0000 (18:38 +0200)] 
Quick fix for LOCK_GUARD macro for the release

- you can still use the LOCK_GUARD macro, but only once in a block as
  the variable name is unique
- __LINE__ and __FILE__ are not used

4 years agoDisable LOCK_GUARD macro
Eric Bollengier [Tue, 14 Jul 2020 18:51:32 +0000 (20:51 +0200)] 
Disable LOCK_GUARD macro

4 years agoFix #6472 Create resource "globals" when loading a new resource, not at first use
Alain Spineux [Mon, 6 Jul 2020 15:02:24 +0000 (17:02 +0200)] 
Fix #6472 Create resource "globals" when loading a new resource, not at first use

- always create "globals" and avoid to have to test & create a global
  before to use it.
- replace the setNumConcurrentXXX() by incNumConcurrentXXX()
  as the "setNumConcurrentXXX()" was always used to increment
- now the "count" is always accurate, even if it can be > max
- add some comments

4 years agoRelease globals for the schedule in terminate_dird()
Alain Spineux [Mon, 6 Jul 2020 14:07:23 +0000 (16:07 +0200)] 
Release globals for the schedule in terminate_dird()

4 years agoAdd LOCK_GUARD() macro that add _FILE_ & _LINE_ to the lock_guard class
Alain Spineux [Mon, 6 Jul 2020 13:11:00 +0000 (15:11 +0200)] 
Add LOCK_GUARD() macro that add _FILE_ & _LINE_ to the lock_guard class

- LOCK_GUARD() create a lock_guard variable with an "automatic" name
  that try to be unique,merging "lock_guard_" and the current line number
  __LINE__.
  to use __LINE__ in an identifier, we need two level of macro

4 years agocloud: Fix build. Include correct class header.
Norbert Bizet [Mon, 6 Jul 2020 09:36:57 +0000 (05:36 -0400)] 
cloud: Fix build. Include correct class header.

4 years agocloud: Fix #6457 About segfault in glacier restore due to s3ctx initialization in...
Norbert Bizet [Fri, 3 Jul 2020 14:26:22 +0000 (10:26 -0400)] 
cloud: Fix #6457 About segfault in glacier restore due to s3ctx initialization in s3_cloud_glacier

4 years agoFix bdirjson Autochanger display
Eric Bollengier [Wed, 1 Jul 2020 12:35:47 +0000 (14:35 +0200)] 
Fix bdirjson Autochanger display

4 years agoTry to fix segfault in .status dir running command
Eric Bollengier [Tue, 30 Jun 2020 14:08:09 +0000 (16:08 +0200)] 
Try to fix segfault in .status dir running  command

4 years agoFix #6464 Add an event message when a volume is purged
Eric Bollengier [Mon, 29 Jun 2020 08:00:50 +0000 (10:00 +0200)] 
Fix #6464 Add an event message when a volume is purged

4 years agoAllow some extra characters in EventsSource catalog field
Eric Bollengier [Mon, 29 Jun 2020 07:58:06 +0000 (09:58 +0200)] 
Allow some extra characters in EventsSource catalog field