]> git.ipfire.org Git - thirdparty/bacula.git/log
thirdparty/bacula.git
2 years agoregress: Add test with pool overwrite for storage group
Eric Bollengier [Fri, 25 Aug 2023 07:39:46 +0000 (09:39 +0200)] 
regress: Add test with pool overwrite for storage group

2 years agoFix warning with delta_seq on MySQL during restore
Eric Bollengier [Thu, 24 Aug 2023 15:01:29 +0000 (17:01 +0200)] 
Fix warning with delta_seq on MySQL during restore

2 years agoFix mysql warning about OPT_RECONNECT that is deprecated in 8.0.34
Eric Bollengier [Thu, 24 Aug 2023 08:03:32 +0000 (10:03 +0200)] 
Fix mysql warning about OPT_RECONNECT that is deprecated in 8.0.34

2 years agocloud: Fix #10259 Oracle cloud failed behind. Several updates
norbert.bizet [Thu, 24 Aug 2023 10:27:53 +0000 (06:27 -0400)] 
cloud: Fix #10259 Oracle cloud failed behind. Several updates

2 years agotweak compat.ccp remove dead code
Alain Spineux [Wed, 31 May 2023 16:53:38 +0000 (18:53 +0200)] 
tweak compat.ccp remove dead code

2 years agoregress: add zstd3 to zstd-test
Alain Spineux [Mon, 14 Aug 2023 09:29:15 +0000 (11:29 +0200)] 
regress: add zstd3 to zstd-test

- add XAPARAM ZSTD3 and NONE

COMPRESSION ZSTD -->   FD Bytes Written:       123,976 (123.9 KB)   Elapsed time:           1 sec
COMPRESSION ZSTD1 -->   FD Bytes Written:       128,040 (128.0 KB)   Elapsed time:           1 sec
COMPRESSION ZSTD3 -->   FD Bytes Written:       123,976 (123.9 KB)   Elapsed time:           1 sec
COMPRESSION ZSTD10 -->   FD Bytes Written:       110,279 (110.2 KB)   Elapsed time:           1 sec
COMPRESSION ZSTD19 -->   FD Bytes Written:       106,196 (106.1 KB)   Elapsed time:           1 sec
COMPRESSION NONE -->   FD Bytes Written:       548,688 (548.6 KB)   Elapsed time:           1 sec

2 years agoSet default ZSTD level to 3 instead of 10
Alain Spineux [Mon, 14 Aug 2023 09:13:50 +0000 (11:13 +0200)] 
Set default ZSTD level to 3 instead of 10

- add new zstd3 level
- zstd is now an alias for zstd3 instead of zstd10
- 3 is a better compromise between compression and speed
- 10 is way slower than level 3
- WARNING this break compatibility with previous version !
  - the DIR now use a new CODE for zstd10 that is unknown for older FD
  - if you use zstd10 in your FileSet, you MUST upgrade your FD or
    change zstd10 to another level, zstd3 is probably the best choice

2 years agoregress: tweak zstd-test to show the time and size and add XPARAM ZSTD_LEVEL
Alain Spineux [Thu, 10 Aug 2023 13:49:46 +0000 (15:49 +0200)] 
regress: tweak zstd-test to show the time and size and add XPARAM ZSTD_LEVEL

- remove LZO backup that was breaking the check for "Software Compression"
  when LZO is available but ZSTD not
- handle XPARAM ZSTD_LEVEL to chose the compression level
- show time and size to compare different ZSTD level with LZO

2 years agoFix ZSTD compression level ignored in FileSet
Alain Spineux [Thu, 10 Aug 2023 13:41:01 +0000 (15:41 +0200)] 
Fix ZSTD compression level ignored in FileSet

- before all ZSTD* where enabling ZSTD level 10
  now all ZSTD* match there own level and ZSTD match ZSTD10
- embellish the code

2 years agoFix #0010329: No module named 'csi_snapshot'
francisco.garcia [Fri, 11 Aug 2023 10:25:28 +0000 (12:25 +0200)] 
Fix #0010329: No module named 'csi_snapshot'

2 years agoregress: Add check for new custom label format
Eric Bollengier [Tue, 8 Aug 2023 15:45:01 +0000 (17:45 +0200)] 
regress: Add check for new custom label format

2 years agoFix #10307 Add PriorJobName and PriorJobId to the volume label format
Eric Bollengier [Tue, 8 Aug 2023 15:41:42 +0000 (17:41 +0200)] 
Fix #10307 Add PriorJobName and PriorJobId to the volume label format

For Migration and Copy job mostly

  Label Format = ${JobId}_${PriorJobName}_${PriorJobId}

2 years agoDisable garbage collection based on sm_bytes for big systems
Eric Bollengier [Tue, 8 Aug 2023 12:47:10 +0000 (14:47 +0200)] 
Disable garbage collection based on sm_bytes for big systems

When several hundred of jobs are running, dird_free_jcr() ends
up to call garbage collection all the time.

2 years agoAdd tryIncNumConcurrentJobs for CLIENT and STORE class
Eric Bollengier [Tue, 8 Aug 2023 12:46:25 +0000 (14:46 +0200)] 
Add tryIncNumConcurrentJobs for CLIENT and STORE class

2 years agoChange the deadlock check interval to 20mins
Eric Bollengier [Tue, 8 Aug 2023 12:37:10 +0000 (14:37 +0200)] 
Change the deadlock check interval to 20mins

2 years agoFix #10323 about bug in status storage with incorrect devices
Eric Bollengier [Mon, 7 Aug 2023 09:22:04 +0000 (11:22 +0200)] 
Fix #10323 about bug in status storage with incorrect devices

2 years agoFix malware message typo
Eric Bollengier [Wed, 2 Aug 2023 13:52:17 +0000 (15:52 +0200)] 
Fix malware message typo

2 years agoFix @author in k8s plugin and ignore ouput of function check_regress_string_in_log()
francisco.garcia [Wed, 2 Aug 2023 11:29:55 +0000 (13:29 +0200)] 
Fix @author in k8s plugin and ignore ouput of function check_regress_string_in_log()

2 years agok8s: Add compatibility with csi volume snapshots backup
francisco.garcia [Mon, 31 Jul 2023 11:40:59 +0000 (13:40 +0200)] 
k8s: Add compatibility with csi volume snapshots backup

In this feature, you can do backups more consistents with volumesnapshots. It create a snapshot in pvc before do backup.

2 years agoregress: Add k8s tests to check volume snapshots feature
francisco.garcia [Mon, 31 Jul 2023 11:12:54 +0000 (13:12 +0200)] 
regress: Add k8s tests to check volume snapshots feature

2 years agoregress: Add check_string_in_log and generate self-signed certificate
francisco.garcia [Mon, 31 Jul 2023 11:11:21 +0000 (13:11 +0200)] 
regress: Add check_string_in_log and generate self-signed certificate

2 years agok8s: Style consistency in string format.
francisco.garcia [Mon, 24 Jul 2023 11:34:36 +0000 (13:34 +0200)] 
k8s: Style consistency in string format.

2 years agok8s: Fix service upload error and flexible yaml loader
francisco.garcia [Mon, 24 Jul 2023 07:36:19 +0000 (09:36 +0200)] 
k8s: Fix service upload error and flexible yaml loader

2 years agok8s:Typo error
francisco.garcia [Mon, 24 Jul 2023 07:33:02 +0000 (09:33 +0200)] 
k8s:Typo error

2 years agofd: Fix typo on ExcludedBackupDirectories
Jorge Gea [Wed, 26 Jul 2023 11:33:06 +0000 (13:33 +0200)] 
fd: Fix typo on ExcludedBackupDirectories

2 years agoFix postgresql warning
Eric Bollengier [Thu, 20 Jul 2023 11:52:18 +0000 (13:52 +0200)] 
Fix postgresql warning

2 years agoTweak debug level in askdir.c
Eric Bollengier [Wed, 12 Jul 2023 15:03:40 +0000 (17:03 +0200)] 
Tweak debug level in askdir.c

2 years agok8s: Fix #9735 Protocol error when tar file changed while we do backup it
francisco.garcia [Wed, 19 Jul 2023 09:42:48 +0000 (11:42 +0200)] 
k8s: Fix #9735 Protocol error when tar file changed while we do backup it

The problem was resolved changing protocol with metaplugin. Now we can use Q messages. That it's means that is not fatal error and it continues the backup

2 years agok8s: Fix clusterIP when we restore a headless service.
Eric Bollengier [Wed, 19 Jul 2023 15:29:23 +0000 (17:29 +0200)] 
k8s: Fix clusterIP when we restore a headless service.

2 years agok8s: Fix dependence problem with upx package when the kubernetes-pod is created
francisco.garcia [Wed, 19 Jul 2023 12:38:32 +0000 (14:38 +0200)] 
k8s: Fix dependence problem with upx package when the kubernetes-pod is created

The image of kubernetes pod is based from image python3.8-slim. This image is based from Debian 12. And upx binary (upx-ucl package provides it) only is available in: buster, bulleye and sid.

2 years agok8s: Fix problem when upgrade libraries
francisco.garcia [Fri, 14 Jul 2023 16:09:35 +0000 (18:09 +0200)] 
k8s: Fix problem when upgrade libraries

2 years agok8s: Upgrade libraries up to Centos7 supports
francisco.garcia [Fri, 14 Jul 2023 16:04:05 +0000 (18:04 +0200)] 
k8s: Upgrade libraries up to Centos7 supports

2 years agok8s: Fix pip fixed value with variables pip path.
francisco.garcia [Fri, 14 Jul 2023 08:33:35 +0000 (10:33 +0200)] 
k8s: Fix pip fixed value with variables pip path.

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