]> git.ipfire.org Git - thirdparty/bacula.git/log
thirdparty/bacula.git
2 years agok8s: Fix build compatibility with old versions and RHEL.
francisco.garcia [Fri, 14 Jul 2023 07:23:48 +0000 (09:23 +0200)] 
k8s: Fix build compatibility with old versions and RHEL.

After pip version 23, it's mandatory use --break-system-packages when you don't use a virtual env.
So, in this change I did a change in Makefile to adapt this situation in older and newer versions of pip.

2 years agoFix the selection list bug with jobid=1-2277
Alain Spineux [Tue, 11 Jul 2023 10:25:20 +0000 (12:25 +0200)] 
Fix the selection list bug with jobid=1-2277

- must take in account '\0' AND ','

2 years agoregress: Fix k8s tests
francisco.garcia [Fri, 7 Jul 2023 12:23:53 +0000 (14:23 +0200)] 
regress: Fix k8s tests

2 years agoFix compilation k8s.
francisco.garcia [Fri, 7 Jul 2023 11:57:06 +0000 (13:57 +0200)] 
Fix compilation k8s.

I need change parameter because 'pip' doesn't allow the command '--user'. Command output:

➜  kubernetes-backend git:(fran-16.0-k8s-params) ✗ pip install --user -r requirements.txt
error: externally-managed-environment

× This environment is externally managed
╰─> To install Python packages system-wide, try apt install
    python3-xyz, where xyz is the package you are trying to
    install.

    If you wish to install a non-Debian-packaged Python package,
    create a virtual environment using python3 -m venv path/to/venv.
    Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
    sure you have python3-full installed.

    If you wish to install a non-Debian packaged Python application,
    it may be easiest to use pipx install xyz, which will manage a
    virtual environment for you. Make sure you have pipx installed.

    See /usr/share/doc/python3.11/README.venv for more information.

note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
hint: See PEP 668 for the detailed specification.

So I needed include '--break-system-packages' to manage the EXTERNALLY-MANAGED python.

2 years agokubernetes: Allow parameters with simple quotes
francisco.garcia [Fri, 7 Jul 2023 11:53:51 +0000 (13:53 +0200)] 
kubernetes: Allow parameters with simple quotes

2 years agoFix #10249 Adjust the output of status schedule
Eric Bollengier [Mon, 3 Jul 2023 15:37:36 +0000 (17:37 +0200)] 
Fix #10249 Adjust the output of status schedule

2 years agoFix error message code when a FileDaemon cannot connect a Director
Eric Bollengier [Wed, 28 Jun 2023 15:03:53 +0000 (17:03 +0200)] 
Fix error message code when a FileDaemon cannot connect a Director

2 years agofix ifdef logic in fs_get_free_space()
Alain Spineux [Mon, 26 Jun 2023 09:45:32 +0000 (11:45 +0200)] 
fix ifdef logic in fs_get_free_space()

- this
#if defined(HAVE_WIN32)
#elif defined(HAVE_SYS_STATVFS_H) || !defined(HAVE_WIN32)
#endif
  is equivalent to
#if defined(HAVE_WIN32)
#else
#endif
  as the HAVE_WIN32 are in the if and the elif
- there is no reason to "care" about "statvfs()" as the fallback is to use
  statfs (see the line above, that I reproduce here):
#ifdef HAVE_SYS_STATVFS_H
#include <sys/statvfs.h>
#else
#define statvfs statfs
#endif
- the other commits related to this piece of code are
c8d10999f1789b88f9f93d29b512e7af10fd009d
33b01b743fa5629828f61fa1300234785c999afa
db82b457bf1dede1225a53c37e60d2d30af84b3b

2 years agodocker: Fix potential segfault with incorrect plugin command line
Eric Bollengier [Tue, 20 Jun 2023 07:39:28 +0000 (09:39 +0200)] 
docker: Fix potential segfault with incorrect plugin command line

2 years agoTweak namedpipe for vddk compilation
Eric Bollengier [Tue, 13 Jun 2023 07:03:11 +0000 (09:03 +0200)] 
Tweak namedpipe for vddk compilation

2 years agoUse more specific Job status when verify job is waiting for SD or FD
Eric Bollengier [Mon, 12 Jun 2023 07:05:56 +0000 (09:05 +0200)] 
Use more specific Job status when verify job is waiting for SD or FD

2 years agowin32: tweak fix warning
Alain Spineux [Wed, 7 Jun 2023 10:20:35 +0000 (12:20 +0200)] 
win32: tweak fix warning

/home/bac/workspace/bee/bacula/src/lib/bsys.c:1772:12: warning: ‘init_size’ defined but not used [-Wunused-variable]
 1772 | static int init_size=1024;

2 years agowin32: tweak fix some warning
Alain Spineux [Wed, 7 Jun 2023 10:05:54 +0000 (12:05 +0200)] 
win32: tweak fix some warning
Z:w
ScsiDeviceList.h:100:22: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long unsigned int’ [-Wformat=]
  100 |                   _T("%d:%d:%d:%d"),
      |                      ^~~~~~~~~~~~~
In file included from scsilist.cpp:48:
ScsiDeviceList.h:100:24: note: format string is defined here
  100 |                   _T("%d:%d:%d:%d"),
      |                       ~^
      |                        |
      |                        int
      |                       %ld

home/bac/workspace/bee/bacula/src/tools/fstype.c: In function ‘void print_mtab_item(void*, stat*, const char*, const char*, const char*, const char*)’:
/home/bac/workspace/bee/bacula/src/tools/fstype.c:66:8: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
   66 |       ((void *)st->st_dev), fstype, mountpoint, mntopts);
      |        ^~~~~~~~~~~~~~~~~~
/home/bac/workspace/bee/bacula/src/tools/fstype.c: In function ‘int main(int, char* const*)’:
/home/bac/workspace/bee/bacula/src/tools/fstype.c:138:39: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘u_int64_t’ {aka ‘long long unsigned int’} [-Wformat=]
  138 |          fprintf(stderr, "Found dev=%lx fstype=%s\n", item->dev, item->fstype);
      |                                     ~~^               ~~~~~~~~~
      |                                       |                     |
      |                                       long unsigned int     u_int64_t {aka long long unsigned int}
      |                                     %llx

2 years agowin32: tweak fix warning
Alain Spineux [Wed, 7 Jun 2023 09:48:40 +0000 (11:48 +0200)] 
win32: tweak fix warning

- sendit() already handle the final '\O' no need to include it in the len
- fir warning:
In file included from /home/bac/workspace/bee/bacula/src/stored/status.c:30:
In function ‘void sendit(const char*, int, STATUS_PKT*)’,
    inlined from ‘void list_one_device(char*, DEVICE*, STATUS_PKT*, OutputWriter*)’ at /home/bac/workspace/bee/bacula/src/stored/status.c:407:24,
    inlined from ‘void list_devices(STATUS_PKT*, char*)’ at /home/bac/workspace/bee/bacula/src/stored/status.c:498:25:
/home/bac/workspace/bee/bacula/src/lib/status.h:46:13: warning: ‘void* memcpy(void*, const void*, size_t)’ forming offset 4 is out of the bounds [0, 4] [-Warray-bounds]
   46 |       memcpy(user->msg, msg, len+1);
      |       ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~

2 years agotweak fix warning
Alain Spineux [Tue, 6 Jun 2023 12:58:52 +0000 (14:58 +0200)] 
tweak fix warning

../plugins/fd/fd_common.h:528:32: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘int64_t’ {aka ‘long int’} [-Wformat=]
  528 |       l = fprintf(fp, "time=%lld level=%c key=%s name=%s vollen=%d vol=%s\n",

../plugins/fd/fd_common.h:528:66: warning: format ‘%d’ expects argument of type ‘int’, but argument 7 has type ‘size_t’ {aka ‘long unsigned int’} [-Wformat=]
  528 |       l = fprintf(fp, "time=%lld level=%c key=%s name=%s vollen=%d vol=%s\n",

2 years agotweak unused variable
Alain Spineux [Fri, 2 Jun 2023 10:15:17 +0000 (12:15 +0200)] 
tweak unused variable

../../../plugins/fd/fd_common.h:576:17: warning: variable ‘len’ set but not used [-Wunused-but-set-variable]

2 years agoUse size_t for smartalloc
Eric Bollengier [Wed, 31 May 2023 09:34:23 +0000 (11:34 +0200)] 
Use size_t for smartalloc

2 years agoregress: Tweak list-jobmedia-test with FORCE_SPOOL_DATA
Eric Bollengier [Fri, 26 May 2023 14:11:19 +0000 (16:11 +0200)] 
regress: Tweak list-jobmedia-test with FORCE_SPOOL_DATA

2 years agoregress: Tweak backup-to-null for FORCE_SPOOL_DATA
Eric Bollengier [Fri, 26 May 2023 12:26:23 +0000 (14:26 +0200)] 
regress: Tweak backup-to-null for FORCE_SPOOL_DATA

2 years agoregress: in acl-xattr-test check if client is linked with libacl
Alain Spineux [Wed, 31 May 2023 13:55:16 +0000 (15:55 +0200)] 
regress: in acl-xattr-test check if client is linked with libacl

2 years agoFix windows compilation
Eric Bollengier [Fri, 26 May 2023 15:49:25 +0000 (17:49 +0200)] 
Fix windows compilation

2 years agoregress: Tweak job-spool-test
Eric Bollengier [Fri, 26 May 2023 08:23:47 +0000 (10:23 +0200)] 
regress: Tweak job-spool-test

2 years agoregress: Add FORCE_SPOOL_DATA
Eric Bollengier [Fri, 26 May 2023 07:45:12 +0000 (09:45 +0200)] 
regress: Add FORCE_SPOOL_DATA

2 years agoFix issue with data spooling introduced in 16.0
Eric Bollengier [Thu, 25 May 2023 12:42:44 +0000 (14:42 +0200)] 
Fix issue with data spooling introduced in 16.0

2 years agoregress: Schedule job-spool-test
Eric Bollengier [Thu, 25 May 2023 08:23:10 +0000 (10:23 +0200)] 
regress: Schedule job-spool-test

2 years agoregress: Add job-spool-test
Eric Bollengier [Thu, 25 May 2023 08:22:04 +0000 (10:22 +0200)] 
regress: Add job-spool-test

2 years agoFix MySQL catalog upgrade script with StatusInfo field
Eric Bollengier [Wed, 24 May 2023 15:07:52 +0000 (17:07 +0200)] 
Fix MySQL catalog upgrade script with StatusInfo field

2 years agofix #10137 Volume XXX in unavailable now.
Alain Spineux [Wed, 17 May 2023 16:11:26 +0000 (18:11 +0200)] 
fix #10137 Volume XXX in unavailable now.

- I put my "case"  in the middle of a "fall through" cascade of "case"
- I moved it up above the "cascade"
- I'm not able to reproduce the problem with volumes on disk
- 100% sure that this will change the behavior at the customer level

2 years agofix typo in message "The volume XXX in unavailable"
Alain Spineux [Wed, 17 May 2023 15:29:42 +0000 (17:29 +0200)] 
fix typo in message "The volume XXX in unavailable"

2 years agowin32: Fix joblist for windows
norbert.bizet [Fri, 12 May 2023 16:35:31 +0000 (12:35 -0400)] 
win32: Fix joblist for windows

2 years agoregress: Fix volume-read-only-test
Eric Bollengier [Thu, 6 Apr 2023 15:54:49 +0000 (17:54 +0200)] 
regress: Fix volume-read-only-test

2 years agoCleanup immutability/read-only code
Eric Bollengier [Thu, 6 Apr 2023 15:54:31 +0000 (17:54 +0200)] 
Cleanup immutability/read-only code

2 years agos3_driver: Fix #10130 Add debug to S3 driver
norbert.bizet [Fri, 19 May 2023 12:46:46 +0000 (08:46 -0400)] 
s3_driver: Fix #10130 Add debug to S3 driver

2 years agoamazon_driver: Fix #10130 Add support for endpoint_url
norbert.bizet [Fri, 19 May 2023 10:23:01 +0000 (06:23 -0400)] 
amazon_driver: Fix #10130 Add support for endpoint_url

2 years agoFix #10094 About broken var command
Eric Bollengier [Fri, 28 Apr 2023 16:23:28 +0000 (18:23 +0200)] 
Fix #10094 About broken var command

2 years agowin32: Modify namedpipe to configure the message protocol
Eric Bollengier [Fri, 21 Apr 2023 13:25:41 +0000 (15:25 +0200)] 
win32: Modify namedpipe to configure the message protocol

2 years agoFix #10082 Add Queue RunsWhen to bdirjson
Eric Bollengier [Mon, 24 Apr 2023 11:45:00 +0000 (13:45 +0200)] 
Fix #10082 Add Queue RunsWhen to bdirjson

2 years agoFix #10086: Going backward in BSR because of 2 jobs running in //
Alain Spineux [Fri, 28 Apr 2023 15:50:49 +0000 (17:50 +0200)] 
Fix #10086: Going backward in BSR because of 2 jobs running in //

- modify the split_bsr_loop() code to handle this situation:
  This can happens when two incremental jobs run in //
  As the BSR is written job by job the split is enough, no need to reorganize
  the BSR an move all the parts of the first job before the second one

2 years agofix warning in compat.cpp
norbert.bizet [Thu, 6 Apr 2023 16:40:16 +0000 (12:40 -0400)] 
fix warning in compat.cpp

2 years agoimplement fs_get_free_space for win32
norbert.bizet [Wed, 5 Apr 2023 16:13:25 +0000 (12:13 -0400)] 
implement fs_get_free_space for win32

2 years agoFix #9894 Use Journal instead of Syslog for systemd service output
Eric Bollengier [Tue, 11 Apr 2023 15:34:42 +0000 (17:34 +0200)] 
Fix #9894 Use Journal instead of Syslog for systemd service output

2 years agoEnsure the Director can work with the previous SD after VolRetention modification
Eric Bollengier [Tue, 4 Apr 2023 12:50:19 +0000 (14:50 +0200)] 
Ensure the Director can work with the previous SD after VolRetention modification

2 years agoFix #10020 #9757 Improve Volume Protection code and fix the unprotection code
Eric Bollengier [Fri, 31 Mar 2023 15:03:24 +0000 (17:03 +0200)] 
Fix #10020 #9757 Improve Volume Protection code and fix the unprotection code

31-Mar 13:55 zog8-sd JobId 12: Marking Volume "Test10018" as read-only. Retention set to 31-Mar-2023 13:55 (10 secs).

2 years agoregress: Add tests for unprotection
Eric Bollengier [Fri, 31 Mar 2023 15:02:52 +0000 (17:02 +0200)] 
regress: Add tests for unprotection

2 years agoregress: Add function to test atime with expected value in check_protect()
Eric Bollengier [Fri, 31 Mar 2023 09:21:26 +0000 (11:21 +0200)] 
regress: Add function to test atime with expected value in check_protect()

2 years agoregress: Add tests for MinimumVolumeProtectionTime and VolumeRetention
Eric Bollengier [Fri, 31 Mar 2023 09:19:59 +0000 (11:19 +0200)] 
regress: Add tests for MinimumVolumeProtectionTime and VolumeRetention

2 years agoregress: update read-only-volume test for new feature
Eric Bollengier [Thu, 30 Mar 2023 15:25:27 +0000 (17:25 +0200)] 
regress: update read-only-volume test for new feature

2 years agoFix #10004 Use VolRetention if greater than MinimumVolumeRetention when setting volum...
Eric Bollengier [Thu, 30 Mar 2023 14:44:13 +0000 (16:44 +0200)] 
Fix #10004 Use VolRetention if greater than MinimumVolumeRetention when setting volume to Read-Only

2 years agoregress: Fix store-mngr-freespaceleastused-test
Eric Bollengier [Thu, 30 Mar 2023 11:38:09 +0000 (13:38 +0200)] 
regress: Fix store-mngr-freespaceleastused-test

2 years agoregress: fix store-mngr-freespace-test
Eric Bollengier [Thu, 30 Mar 2023 08:57:50 +0000 (10:57 +0200)] 
regress: fix store-mngr-freespace-test

2 years agoFix #10017 Add support for runscript AtJobCompletion to bdirjson
Eric Bollengier [Thu, 30 Mar 2023 06:57:30 +0000 (08:57 +0200)] 
Fix #10017 Add support for runscript AtJobCompletion to bdirjson

2 years agostore-mngr: Rename LastBackupedTo into LastBackedUpTo
norbert.bizet [Tue, 28 Mar 2023 11:31:09 +0000 (07:31 -0400)] 
store-mngr: Rename LastBackupedTo into LastBackedUpTo

2 years agoregress: Add more tests with update volumeprotect
Eric Bollengier [Tue, 28 Mar 2023 16:08:30 +0000 (18:08 +0200)] 
regress: Add more tests with update volumeprotect

2 years agoFix #10004 Check if volumes are used when setting the volume protection
Eric Bollengier [Tue, 28 Mar 2023 16:07:57 +0000 (18:07 +0200)] 
Fix #10004 Check if volumes are used when setting the volume protection

2 years agoFix missing JobHisto fields in make_mysql_tables
Eric Bollengier [Fri, 24 Mar 2023 06:50:39 +0000 (07:50 +0100)] 
Fix missing JobHisto fields in make_mysql_tables

Manual workaround:

  ALTER TABLE JobHisto
      ADD COLUMN RealStartTime DATETIME,
      ADD COLUMN isVirtualFull     TINYINT    default 0,
      ADD COLUMN CompressRatio     float      default 0,
      ADD COLUMN Rate              float      default 0,
      ADD COLUMN LastReadStorageId Integer    default 0,
      ADD COLUMN LastReadDevice    blob,
      ADD COLUMN WriteStorageId    integer    default 0,
      ADD COLUMN WriteDevice       blob,
      ADD COLUMN Encrypted         int        default 0;

2 years agoFix list jobmedia command
Eric Bollengier [Fri, 17 Mar 2023 10:40:19 +0000 (11:40 +0100)] 
Fix list jobmedia command

2 years agoFix #9981 About segfault in bvfs_get_volume()
Eric Bollengier [Mon, 20 Mar 2023 08:31:32 +0000 (09:31 +0100)] 
Fix #9981 About segfault in bvfs_get_volume()

Introduced with VolType addition.

2 years agoallow double quote escaping in win32 bpipe
norbert.bizet [Mon, 13 Mar 2023 14:54:04 +0000 (10:54 -0400)] 
allow double quote escaping in win32 bpipe

2 years agok8s: Fix 9935 part-2 misspelled reponse instead of response
Alain Spineux [Tue, 14 Mar 2023 14:25:26 +0000 (15:25 +0100)] 
k8s: Fix 9935 part-2 misspelled reponse instead of response

2 years agoTweak key-manager comments
Eric Bollengier [Tue, 14 Mar 2023 08:01:26 +0000 (09:01 +0100)] 
Tweak key-manager comments

2 years agoFix bdb_find_next_volume() with VolEncrypted field
Eric Bollengier [Fri, 10 Mar 2023 08:16:53 +0000 (09:16 +0100)] 
Fix bdb_find_next_volume() with VolEncrypted field

The SQL query was not dealing with the mr->VolEncrypted=-1 value

2 years agoFix typo in grant_mysql_privileges
Eric Bollengier [Fri, 10 Mar 2023 07:56:00 +0000 (08:56 +0100)] 
Fix typo in grant_mysql_privileges

2 years agoregress: Fix verify-vol-test and verify-cat-test
Eric Bollengier [Fri, 10 Mar 2023 06:45:35 +0000 (07:45 +0100)] 
regress: Fix verify-vol-test and verify-cat-test

A file generated by restart-job-virtual-full-test was causing an
issue with the two tests.

2 years agoAdd .ls dironly parameter to list only client directories
Eric Bollengier [Thu, 9 Mar 2023 16:35:47 +0000 (17:35 +0100)] 
Add .ls dironly parameter to list only client directories

2 years agoregress: Schedule exclude-test
Eric Bollengier [Thu, 9 Mar 2023 16:29:34 +0000 (17:29 +0100)] 
regress: Schedule exclude-test

2 years agoregress: Add basic test for FileSet exclude
Eric Bollengier [Thu, 9 Mar 2023 16:29:26 +0000 (17:29 +0100)] 
regress: Add basic test for FileSet exclude

2 years agoregress: Test console runscript status
Eric Bollengier [Thu, 9 Mar 2023 16:08:35 +0000 (17:08 +0100)] 
regress: Test console runscript status

2 years agoFix estimate code with limit
Eric Bollengier [Thu, 9 Mar 2023 15:49:46 +0000 (16:49 +0100)] 
Fix estimate code with limit

2 years agok8s: Fix #9935 name 'response' is not defined in get_pods()
Alain Spineux [Thu, 9 Mar 2023 13:57:14 +0000 (14:57 +0100)] 
k8s: Fix #9935 name 'response' is not defined in get_pods()

- the previous fix #9727 was buggy, I fixed get_pvcs() but
  broke the "weak" get_pods()
- the problem is that __execute() wrapper intercept exceptions
  and return and error dict() or the expected response when no
  exception are generated

2 years agoFix #9945 About incorrect job status after Runscript::Console execution
Eric Bollengier [Thu, 9 Mar 2023 08:01:57 +0000 (09:01 +0100)] 
Fix #9945 About incorrect job status after Runscript::Console execution

2 years agoFix typo in MaximumConcurrentJobPerLevel
Eric Bollengier [Wed, 8 Mar 2023 18:26:52 +0000 (19:26 +0100)] 
Fix typo in MaximumConcurrentJobPerLevel

2 years agoTweak breg.c code
Eric Bollengier [Tue, 7 Mar 2023 19:10:46 +0000 (20:10 +0100)] 
Tweak breg.c code

2 years agoMake Jobs with runscript "Queued" in timeout to wait
Eric Bollengier [Wed, 8 Mar 2023 15:45:46 +0000 (16:45 +0100)] 
Make Jobs with runscript "Queued" in timeout to wait

2 years agoPrune Object records when pruning Files
Eric Bollengier [Fri, 3 Mar 2023 14:55:49 +0000 (15:55 +0100)] 
Prune Object records when pruning Files

2 years agoFix #9933 About incorrect message of the setbandwidth command
Eric Bollengier [Mon, 6 Mar 2023 21:09:12 +0000 (22:09 +0100)] 
Fix #9933 About incorrect message of the setbandwidth command

2 years agoFix #9923 Windows crash when Fileset is empty
Alain Spineux [Tue, 7 Mar 2023 10:34:13 +0000 (11:34 +0100)] 
Fix #9923 Windows crash when Fileset is empty

- this was because of some debuging

2 years agoFix #9912 About Director crash with status dir
Eric Bollengier [Mon, 6 Mar 2023 16:59:20 +0000 (17:59 +0100)] 
Fix #9912 About Director crash with status dir

#3  str_to_int64 (str=0xd5 <Address 0xd5 out of bounds>) at edit.c:72
#4  BDB::bdb_find_next_volume (this=0x7f573403cc28, jcr=jcr@entry=0x7f573400b088, item=<optimized out>, item@entry=-1, InChanger=InChanger@entry=false, mr=mr@entry=0x7f57449796e0) at sql_find.c:586

2 years agoFix orphan buffer with plugin list
Eric Bollengier [Thu, 2 Mar 2023 17:33:11 +0000 (18:33 +0100)] 
Fix orphan buffer with plugin list

2 years agoEnhance MaximumConcurrentJobPerLevel script
Eric Bollengier [Tue, 28 Feb 2023 20:06:11 +0000 (21:06 +0100)] 
Enhance MaximumConcurrentJobPerLevel script

2 years agoReport an error when .query cannot find a suitable plugin
Eric Bollengier [Tue, 28 Feb 2023 08:32:59 +0000 (09:32 +0100)] 
Report an error when .query cannot find a suitable plugin

2 years agoregress: Add test for console runscript
Eric Bollengier [Mon, 27 Feb 2023 10:53:24 +0000 (11:53 +0100)] 
regress: Add test for console runscript

2 years agoregress: Add get_client_name() to functions.pm
Eric Bollengier [Fri, 24 Feb 2023 15:36:24 +0000 (16:36 +0100)] 
regress: Add get_client_name() to functions.pm

2 years agostore-mngr: Fix #8852 #9572 2 new store-mngr strategies and regress tests
norbert.bizet [Fri, 3 Feb 2023 09:07:30 +0000 (04:07 -0500)] 
store-mngr: Fix #8852 #9572 2 new store-mngr strategies and regress tests

2 years agoAdd limit option to the estimate command
Eric Bollengier [Tue, 31 Jan 2023 08:48:55 +0000 (09:48 +0100)] 
Add limit option to the estimate command

2 years agoFix warning reported by new GCC
Eric Bollengier [Wed, 22 Feb 2023 08:14:24 +0000 (09:14 +0100)] 
Fix warning reported by new GCC

2 years agoFix typo in MaximumConcurrentJobPerLevel script
Eric Bollengier [Mon, 20 Feb 2023 08:43:55 +0000 (09:43 +0100)] 
Fix typo in MaximumConcurrentJobPerLevel script

2 years agowin32: code cleanup
Alain Spineux [Fri, 17 Feb 2023 18:10:03 +0000 (19:10 +0100)] 
win32: code cleanup

2 years agoFix #9749: backup windows mount points and cleanup and improve win32 code
Alain Spineux [Fri, 17 Feb 2023 14:42:54 +0000 (15:42 +0100)] 
Fix #9749: backup windows mount points and cleanup and improve win32 code

2 years agowin32: cleanup VSSClient constructor
Alain Spineux [Thu, 16 Feb 2023 10:50:56 +0000 (11:50 +0100)] 
win32: cleanup VSSClient constructor

- VSSClient is a pure class that has virtual methods, using a
  memset() to initialize the class is not appropriate because the object
  include a VPTR that is initialized by the constructor
- gcc 11.3 complains about that
- initializing the class the right way cannot be wrong
- Using C++11 in-member class initializers (we are not building win32 on
  centos 5 anymore but on modern platforms :-)

2 years agowin32: typos & comments
Alain Spineux [Wed, 15 Feb 2023 19:39:40 +0000 (20:39 +0100)] 
win32: typos & comments

2 years agowin32: add helper function
Alain Spineux [Fri, 10 Feb 2023 09:26:05 +0000 (10:26 +0100)] 
win32: add helper function

- add win32_to_unix_slash() to compat.cpp
  simply replace any '\\' into '/'
- add remove_win32_trailing_slash() to compat.cpp
- add dump_name_list() to find.c for debuging fileset

2 years agoregress: in compare_backup_content ignore strange files in Microsoft/Search
Alain Spineux [Wed, 8 Feb 2023 10:30:36 +0000 (11:30 +0100)] 
regress: in compare_backup_content ignore strange files in Microsoft/Search

- Files in C:/ProgramData/Microsoft/Search/Data/Applications/Windows
  don't show up in snapshot, they look like Reparse point
  only the windows explorers show that the file is a reparse point
  command line tools don't
  as estimate don't use VSS, this make a diff between both
- reset "nb" to zero to always show the 10 first files that are in
  the backup but not in estimate

2 years agoFix update_mysql_tables script
Eric Bollengier [Fri, 17 Feb 2023 17:22:26 +0000 (18:22 +0100)] 
Fix update_mysql_tables script

2 years agoFix bconsole path in MaximumConcurrentJobPerLevel script
Eric Bollengier [Thu, 16 Feb 2023 13:57:25 +0000 (14:57 +0100)] 
Fix bconsole path in MaximumConcurrentJobPerLevel script

2 years agoCleanup Jsmg/Dmsg calls
Eric Bollengier [Thu, 16 Feb 2023 11:12:22 +0000 (12:12 +0100)] 
Cleanup Jsmg/Dmsg calls

2 years agoAdd MaximumConcurrentJobPerLevel script for RunScript Job Queue control example
Eric Bollengier [Wed, 15 Feb 2023 11:05:12 +0000 (12:05 +0100)] 
Add MaximumConcurrentJobPerLevel script for RunScript Job Queue control example

2 years agoregress: update runscript-test for cancel status
Eric Bollengier [Mon, 13 Feb 2023 19:17:49 +0000 (20:17 +0100)] 
regress: update runscript-test for cancel status

2 years agoAllow to cancel a job in the jobq with the runscript exit status 2
Eric Bollengier [Mon, 13 Feb 2023 17:11:53 +0000 (18:11 +0100)] 
Allow to cancel a job in the jobq with the runscript exit status 2

2 years agoregress: redurce verify-data-test verbosity
Eric Bollengier [Fri, 10 Feb 2023 14:18:06 +0000 (15:18 +0100)] 
regress: redurce verify-data-test verbosity

2 years agoregress: Tweak runscript-test
Eric Bollengier [Wed, 18 Jan 2023 17:57:28 +0000 (18:57 +0100)] 
regress: Tweak runscript-test