- this can happen if the BW et far away of the network/disk speed
like 500B/s on a system > 100MB/s the ratio is 200000
having a sleep of > 10000s is not surprising
fix stack_trace
- sometime there is no function name, just an address, then
call utility "addr2line"
- when nothing works display the original line (instead of a line
without any function name
Author: Henrique <henrique.faria@baculasystems.com>
Date: Wed May 15 19:21:25 2019 -0300
cdp-client: fixed compilation for Windows by creating copyfile function for Windows on bsys.c
Author: Henrique <henrique.faria@baculasystems.com>
Date: Wed May 15 20:46:59 2019 -0300
cdp-client: fixed copyfile function for Windows
Author: Henrique <henrique.faria@baculasystems.com>
Date: Wed May 1 11:51:43 2019 -0300
lib: disabled get_group_members() function on android
new breaddir() function to replace readdir_r() + core update
- breaddir() is a thread safe replacement for readdir_r()
- remove any usage of readdir_r() and readdir() in the core
- remove NAMELEN() (that was never used except for 3 uses in find_one.c)
Author: Eric Bollengier <eric@baculasystems.com>
Date: Thu May 18 09:19:01 2017 +0200
Change bget_max_mlock() to set the maximum mlock value when the request is 0 or too large
Author: Kern Sibbald <kern@sibbald.com>
Date: Sun May 14 08:04:41 2017 +0200
Fix integer overflow with LL + fix unused label
Author: Eric Bollengier <eric@baculasystems.com>
Date: Fri May 12 17:32:04 2017 +0200
Add bget_max_mlock() to limit the amount of memory that can be locked
Author: Eric Bollengier <eric@baculasystems.com>
Date: Fri May 12 15:58:42 2017 +0200
Add bget_memory() function
Author: Eric Bollengier <eric@baculasystems.com>
Date: Fri May 12 19:18:59 2017 +0200
Correct the bget_max_mlock() function with negative argument
Author: Eric Bollengier <eric@baculasystems.com>
Date: Tue May 26 11:43:06 2015 +0200
PSK: modify bnet_tls_(client|server) to pass the shared key via the SSL*
- instead of the CTX, because for SD <-> FD the auth_key is generated by
the director
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>
PSK: make Bacula's core files related to TLS and authentication ready
- add PSK code to tls.c
- modify cram_md5_respond() to support early "STARTLS"
- the recv() must be done first to see if we get a starttls command
or if we continue cram-md5the old way
- skip TLS verification part when PSK is used
The problem comes from the use of the "old" select() call
that is limited to 1024 file descriptors. We replaced select()
with poll() in the places where we can expect more than 1024
open files.
Add test procedure for the new fd_wait_data() function.
make -C src/lib wait_test
Author: Kern Sibbald <kern@sibbald.com>
Date: Sun Dec 22 15:29:01 2013 +0100
PSK: make Bacula's core files related to TLS and authentication ready
- add PSK code to tls.c
- modify cram_md5_respond() to support early "STARTLS"
- the recv() must be done first to see if we get a starttls command
or if we continue cram-md5the old way
- skip TLS verification part when PSK is used
- remove global variables: dedupengine and bucker_manager
- update protocol SD<->DIR
- extend dedup_dev and BufferedMsgSD to suuport all function
- create "dummy" functions in dev.h
Warning :
- include a dedupengine use counter
- .status storage=XXX dedupengine display all the dedupengine on the SD
instead of the one(s) related to the "device"
dedup: create "loaded reference", a reference that hold embeded data
- A reference can hold data, that is not in the DDE.
this is mostly for small chunk of data.
This is useful when we know a chunk will not dedup or when a chunk
is too small.
The metadata in STREAM_WIN32_DATA is a good candidate
- DedupEngine::decode_ref() help in decoding reference
- add "TLS PSK Enable" to resources
- update hello messages
- rename authenticatebase.c to .cc and add the file to the QT tools
because of a RTTI compilation problem.
I use .cc because it works best with both bacula's CORE and QT
to be compiled as C++ and not C
- call init_crypto() and init_signals() in tray-monitor
PSK: unify authentication into new authenticatebase.c in "bac" library
- new unified AuthenticationBase class in lib/authenticatebase.{c,h}
- AuthenticationBase include the code that is common to all daemons
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: Eric Bollengier <eric@baculasystems.com>
Date: Thu Feb 21 13:16:25 2019 +0100
When some unit tests does not require and use a lock manager and make
tests very fast then lock manager cleanup function is executed before
any lock manager thread has a chence to start which result in leaked
memory false positive.
Create base64 unit tests.
Add base64 unit tests regression script.
Small update to all-unittests.
Update unittests for flist.
Add flist regression unittests.
Add fnmatch unittests and regression tests.
The current unittests fail on on of the already prepared tests. Until
resolved the overall unittests will fail on this one.
- if data looks corrupted, then Win32Filter::have_data() skip the data up
to the end of the input stream.
- the error flag is set when the sizes in the header are <0
Author: Eric Bollengier <eric@baculasystems.com>
Date: Thu Nov 5 16:25:37 2015 +0100
- if data looks corrupted, then Win32Filter::have_data() skip the data up
to the end of the input stream.
- the error flag is set when the sizes in the header are <0
Author: Eric Bollengier <eric@baculasystems.com>
Date: Thu Nov 5 18:59:02 2015 +0100
Tweak author information
Author: Eric Bollengier <eric@baculasystems.com>
Date: Thu Nov 5 16:25:37 2015 +0100
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
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: Kern Sibbald <kern@sibbald.com>
Date: Sun May 4 08:58:54 2014 +0200
Fix dedup option scan bug
Author: Kern Sibbald <kern@sibbald.com>
Date: Sat May 3 16:10:37 2014 +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
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
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
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
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: Kern Sibbald <kern@sibbald.com>
Date: Sat May 3 16:10:37 2014 +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
- This patch avoid for the Dedup option in FileSet to be
overwritten by "Options" blocks that are next to one with
the Dedup option
- the major probleme is that in FileSet, bacula don't merge
Option {} blocks that are next to each other, simply speaking
only the last one is used previous options are ignored.
- Some plugins as the mssql one use AddOptions() that create
a new Options block and hide all already existing options
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
win32: Fix "BackupWrite failed. ERR=The handle is invalid." and "ERR=The process cannot access the file because it is being used by another" with directories
The PluginIO::open() call always returns io->status=0, the code cannot detect
that we cannot open a file for restore.
We use share flags to open directories, we cannot use the .restore hive trick
with directories.
win32: remove FF_PKT->sys_fname attribute and unix_name_to_win32() function
- sys_fname attribute is only used for win32 and only for debugging
- f_name can be used instead
- unix_name_to_win32() is only used for debugging purpose
- sys_fname & unix_name_to_win32() are not appropriate anymore
win32: remove FF_PKT->sys_fname attribute and unix_name_to_win32() function
- sys_fname attribute is only used for win32 and only for debugging
- f_name can be used instead
- unix_name_to_win32() is only used for debugging purpose
- sys_fname & unix_name_to_win32() are not appropriate anymore
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
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
win32: Don't restore the mount point, just create the directory
- BackupWrite() can create a mountpoint, like if we run
the mountvol command.
- We don't want to recreate the Windows mount point
- mount point can only be created on an empty directory,
- the mount point information come only at the end, when the
content has been restored, and then the directory is not
empty anymore.
Implement FileMedia feature and FO_OFFSETS for plugin
- Allow plugins to use the FO_OFFSETS option
- Add SQL support in cats
- Add bvfs commands
- Add FileMedia handling in the Storage Daemon
- Add use FO_OFFSETS option in test plugin
- Add new sql scripts to configure.in
- Update catalog version to 1018
Author: Kern Sibbald <kern@sibbald.com>
Date: Sun May 31 12:33:15 2015 +0200
Fix a number of acl and xattr bugs + give more understandable variable names
PSK: Modify authentication in each daemon to support PSK
- use AuthenticateBase class
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>
PSK: Modify authentication in each daemon to support PSK
- use AuthenticateBase class
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>
Add support for FileSet option Dedup=[none,storage,bothsides]
remove all DEDUP_FORCED_CLIENT
added STREAM_BIT_NO_DEDUPLICATION
use FO_DEDUPLICATION and Dedup_level
The three mode works
Author: Eric Bollengier <eric@baculasystems.com>
Date: Mon May 26 10:26:10 2014 +0200
Work on win32 VSS snapshots
It is now possible to have FAT32 and NTFS drives at the same time
The system will not produce errors about the FAT32 volume, and the
volume will be saved correctly.
The test setup looks like:
c:\ NTFS
c:\mounted NTFS
c:\mounted\test NTFS
d:\ CDROM
e:\ FAT
f:\ NTFS
File=/ OneFS=no
JobId 7: Snapshot mount point: C:\
JobId 7: Snapshot mount point: C:\mounted\
JobId 7: Snapshot mount point: C:\mounted\test\
JobId 7: Snapshot mount point: F:\
File=/ OneFS=yes
JobId 15: Generate VSS snapshots. Driver="Win64 VSS"
JobId 15: Snapshot mount point: C:\
JobId 15: Snapshot mount point: F:\
JobId 15: C:/mounted is a different filesystem. Will not descend from C:/ into it.
PSK: Modify authentication in each daemon to support PSK
- use AuthenticateBase class
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: Eric Bollengier <eric@baculasystems.com>
Date: Mon Feb 29 11:49:11 2016 +0100
Add Console resource and Remote directive to FileDaemon config file
win32: Fix #4349 about a crash during restore in the heartbeat thread
The code to stop the hearbeat will wait 140s at the maximum while
the heartbeat can wait up to 512s per loop. It seems that the pthread_kill()
cannot always unblock the thread waiting on bmicrosleep(). It is leading
to a segfault while releasing the shared bsock.
Author: Eric Bollengier <eric@baculasystems.com>
Date: Mon Nov 28 17:55:48 2016 +0100
Fix #2260 about segfault in bacula-fd when stopping the heartbeat thread
PSK: Add new "TLS PSK Enable" directive to all resources
- add the field to the resources
- create default "psk_ctx" CONTEXT for each of them at startup
Author: Eric Bollengier <eric@baculasystems.com>
Date: Mon Mar 25 18:32:11 2019 +0100
Rename MaximumConnectionTime to ReconnectionTime, Run to Connect and ConnectToDir to AllowFDConnections
Author: Eric Bollengier <eric@baculasystems.com>
Date: Mon Mar 25 17:10:49 2019 +0100
Rename FDCallsDir directives to ConnectToDirector
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: Eric Bollengier <eric@baculasystems.com>
Date: Fri Jun 22 10:47:49 2018 +0200
Display FileDaemon PKI variables in .status header
Author: Eric Bollengier <eric@baculasystems.com>
Date: Mon Feb 29 11:49:11 2016 +0100
Add Console resource and Remote directive to FileDaemon config file
Author: Eric Bollengier <eric@baculasystems.com>
Date: Tue Mar 10 12:06:14 2015 +0100
dedup: Add "Enable Client Rehydration" directive to replace "DedupIndexDirectory"
dedup: new "opportunistic dedup restore" to replace "dedup client cache"
The "opportunistic restore" principle is a replacement for the
"dedup client cache" used in version 8.0.1.
The goal is to avoid the transfer of chunks from the SD at restore time
by reusing identical chunks that could be found on the target itself.
The new design is way simpler and should perform as well.
SEE BEEP-1000 in svn/dev/Projects/BEEP
Conflicts:
bacula/src/filed/backup.c
Author: Kern Sibbald <kern@sibbald.com>
Date: Sat May 3 16:10:37 2014 +0200
PSK: Add new "TLS PSK Enable" directive to all resources
- add the field to the resources
- create default "psk_ctx" CONTEXT for each of them at startup
Author: Eric Bollengier <eric@baculasystems.com>
Date: Mon Mar 25 17:10:49 2019 +0100
Rename FDCallsDir directives to ConnectToDirector
Author: Eric Bollengier <eric@baculasystems.com>
Date: Mon Mar 25 18:32:11 2019 +0100
Rename MaximumConnectionTime to ReconnectionTime, Run to Connect and ConnectToDir to AllowFDConnections
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>
PSK: Add new "TLS PSK Enable" directive to all resources
- add the field to the resources
- create default "psk_ctx" CONTEXT for each of them at startup
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>
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
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
$ cat bsnapshot.conf
mountopts=noexec,nodev <--- default
mountopts=/dev/vgroot/root:nouuid <---- for one device
mountopts=/dev/vgroot/home:nouuid,uid=backup <---- for one device
Author: Eric Bollengier <eric@baculasystems.com>
Date: Thu Feb 5 09:42:01 2015 +0100
Add Snapshot Engine to bacula core
Rename jcr->VSS to jcr->Snapshot and use the same variable on Linux/Windows
Pass snapshot retention to the FD
Add SnapshotRetention to client and job resource
Add documentation about snapshot backend
regress: Add snapshot script for lvm backend
Use retry in lvm unmount procedure
Read config file from sysconfigdir
Load bsnapshot.cfg by default and configure bsnapshot using exepath
Add config file to specify lvm snapshot parameters
Control LVM free space for snapshot
Implement OT_PINT64 in output writer, should display job speed api2 mode status command
regress: Add test to test snapshot bconsole commands
regress: Add test for zfs snapshot
implement zfs driver (linux zfs driver cannot mount snapshots)
regress: Add regress script for snapshots
Include automatically subvolumes with onefs=no
Handle ff->link in strip snapshot path
Scan for subvolumes not listed in mtab
Snapshots can be created/deleted from the catalog
Implement path translation between snapshot
Add JobId to Snapshot table
Add code to execute snapshot script on the FD side
Add more Director snapshots command
Implement CatReq interface for Snapshots
Implement DB snapshot functions
the delete snapshot is now connecting to the FD, and the
FD is calling the snapshot script with the delete argument
Allow to specify env variable in run_command_full_output() and open_bpipe()
Modify cmd_parser to not look for plugin name with use_name option
Add ARG_LIST to generate nice arg1=arg2 output from db_list function
Add tag DT_SNAPSHOT
Add JobId in the list snapshot output
Add list snapshot command
Add JobId to snapshot table
Eric Bollengier [Mon, 20 Apr 2020 13:43:43 +0000 (15:43 +0200)]
BEE Backport bacula/src/filed/fd_plugins.c
This commit is the result of the squash of the following main commits:
Author: Eric Bollengier <eric@baculasystems.com>
Date: Tue Mar 24 14:36:00 2020 +0100
ndmp: Add SMTAPE incremental feature part 1
Author: Eric Bollengier <eric@baculasystems.com>
Date: Wed Mar 4 15:41:15 2020 +0100
Fix compilation of community version + move dedup configuration functions to external file
Author: Eric Bollengier <eric@baculasystems.com>
Date: Wed Jun 19 19:15:35 2019 +0200
Fix #5168 about issue 'Second call to startRestoreFile' with parallel restore jobs with plugins
The plugin->restoreFileStarted and plugin->createFileCalled variables are
stored in the global FileDaemon plugin context, but these variables are
related to jobs. We can fix the issue by moving the variables to the bContext.
Author: Eric Bollengier <eric@baculasystems.com>
Date: Mon Oct 29 16:59:15 2018 +0100
Add snap_fname information for plugins
Author: Eric Bollengier <eric@baculasystems.com>
Date: Mon Oct 29 18:36:44 2018 +0100
Handle only regular files in plugin_option_handle_file()
By default, all kind of files are going in this procedure and
we handle only regular files. Can be extended later.
Eric Bollengier [Mon, 20 Apr 2020 13:42:45 +0000 (15:42 +0200)]
BEE Backport bacula/src/filed/bfdjson.c
This commit is the result of the squash of the following main commits:
Author: Eric Bollengier <eric@baculasystems.com>
Date: Wed Feb 5 12:00:41 2020 +0100
Fix *json segfault on OpenBSD
In memcpy(&res_all, res, sizeof(res_all));
The res_all is likely bigger than res itself. We
copy too much data, and on OpenBSD, we get segfaults.
Author: Eric Bollengier <eric@baculasystems.com>
Date: Tue Jan 14 15:09:05 2020 +0100
Add specific checks when TLS PSK is not available in SSL library
Author: Eric Bollengier <eric@baculasystems.com>
Date: Mon Mar 25 18:32:11 2019 +0100
Rename MaximumConnectionTime to ReconnectionTime, Run to Connect and ConnectToDir to AllowFDConnections
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>
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: Eric Bollengier <eric@baculasystems.com>
Date: Mon Jun 11 09:00:30 2018 +0200
aligned: Add support for indexed streams to Aligned Volumes
Implement FileMedia feature and FO_OFFSETS for plugin
- Allow plugins to use the FO_OFFSETS option
- Add SQL support in cats
- Add bvfs commands
- Add FileMedia handling in the Storage Daemon
- Add use FO_OFFSETS option in test plugin
- Add new sql scripts to configure.in
- Update catalog version to 1018
- negative blowup and hangup are for JobBytes in KB
- add blowup and hangup support in append.c
- the same code is called by SD/FD during backup/restore
in the code
- code is moved in message.c
- in the code I use blowup==-1 instead of blowup<0
- -1 is a "NONE" value
- 0 to disable
Eric Bollengier [Mon, 20 Apr 2020 13:40:04 +0000 (15:40 +0200)]
BEE Backport bacula/src/filed/Makefile.in
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: Henrique <henrique.faria@baculasystems.com>
Date: Tue Jun 11 11:59:50 2019 -0300
Fixed bacula-fd static 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>