]>
git.ipfire.org Git - thirdparty/bacula.git/log
Eric Bollengier [Mon, 2 Feb 2026 07:53:24 +0000 (08:53 +0100)]
regress: Add delete-volume-test in DartTestfile.txt.in
Eric Bollengier [Mon, 2 Feb 2026 07:52:53 +0000 (08:52 +0100)]
regress: Add test delete-volume-test
Eric Bollengier [Mon, 2 Feb 2026 07:32:57 +0000 (08:32 +0100)]
Fix org#2376 Update numvols after deleting a volume
Eric Bollengier [Fri, 5 Sep 2025 09:15:24 +0000 (11:15 +0200)]
Fix loggin errors in dbcheck and in filed/restore.c
https://gitlab.bacula.org/bacula-community-edition/bacula-community/-/issues/2759
Thanks to Hlib Horzhynskyy for the report
Eric Bollengier [Fri, 5 Sep 2025 08:37:41 +0000 (10:37 +0200)]
bat: Fix restore progress bar
https://gitlab.bacula.org/bacula-community-edition/bacula-community/-/issues/2758
Thanks to Hlib Korzhynskyy
Eric Bollengier [Mon, 19 May 2025 06:34:31 +0000 (08:34 +0200)]
update configure
Corey Hickey [Mon, 19 May 2025 02:17:33 +0000 (19:17 -0700)]
fix detection of zstd
This fixes an issue where if the curl lib is not found, then zstd will
not be supported.
The detection method for both curl and zstd uses a shell variable 'error'.
Unless we unset the variable afterward, the results of the curl check
carry over to the zstd check.
Eric Bollengier [Thu, 24 Apr 2025 13:52:38 +0000 (15:52 +0200)]
Update italian translation
Thanks to Luca Vercelli
Eric Bollengier [Thu, 24 Apr 2025 13:22:07 +0000 (15:22 +0200)]
docs: Add documentation about contribution in README
Bacula uses unusual contribution workflow, where instead of
merge-requests changes have to be sent via issues. So make sure it is
documented.
Fixes: https://gitlab.bacula.org/bacula-community-edition/bacula-community/-/issues/2726
Thanks Konstantin Kharlamov
Eric Bollengier [Thu, 27 Mar 2025 14:32:40 +0000 (15:32 +0100)]
rpms: Add bacula-snapshot package
Eric Bollengier [Wed, 26 Mar 2025 14:32:26 +0000 (15:32 +0100)]
regress: Fix pretest with FORCE_ENCRYPTION
Eric Bollengier [Tue, 25 Mar 2025 16:21:05 +0000 (17:21 +0100)]
update copyrights
Eric Bollengier [Tue, 25 Mar 2025 16:06:19 +0000 (17:06 +0100)]
update changelog and releasenotes
Eric Bollengier [Tue, 25 Mar 2025 16:17:58 +0000 (17:17 +0100)]
update version
Marcin Haba [Wed, 26 Mar 2025 04:35:29 +0000 (05:35 +0100)]
baculum: Update version
Marcin Haba [Wed, 26 Mar 2025 04:34:40 +0000 (05:34 +0100)]
baculum: Update release notes
Eric Bollengier [Thu, 20 Mar 2025 10:39:05 +0000 (11:39 +0100)]
Fix compilation variable in var.c and expand.c
The original library has the same issue, it returns
local or static variables in some cases.
Eric Bollengier [Tue, 22 Oct 2024 09:48:35 +0000 (11:48 +0200)]
regress: Add check with bextract/ZSTD
Francisco Manuel Garcia Botella [Fri, 8 Nov 2024 17:08:19 +0000 (18:08 +0100)]
k8s: Fix get provisioner permissions
Francisco Manuel Garcia Botella [Fri, 27 Sep 2024 15:30:25 +0000 (17:30 +0200)]
k8s: Get images from repositories with auth
Francisco Manuel Garcia Botella [Mon, 14 Oct 2024 07:16:22 +0000 (09:16 +0200)]
k8s: Add pvc clean up from old backup jobs
Francisco Manuel Garcia Botella [Thu, 26 Sep 2024 09:22:45 +0000 (11:22 +0200)]
k8s: Add pvc annotation takes precedence without pod annotation
Francisco Manuel Garcia Botella [Thu, 26 Sep 2024 07:29:10 +0000 (09:29 +0200)]
k8s: Add parallel job in same namespace
Francisco Manuel Garcia Botella [Tue, 24 Sep 2024 07:16:02 +0000 (09:16 +0200)]
k8s: Fix show pvdatada message when you don't use it
Francisco Manuel Garcia Botella [Mon, 23 Sep 2024 22:10:20 +0000 (00:10 +0200)]
k8s: Add new level(In pvc annotations) in selection of backup mode
Eric Bollengier [Mon, 3 Mar 2025 08:22:56 +0000 (09:22 +0100)]
Fix org#2748 About compilation error with ZSTD and not LZO enabled
Eric Bollengier [Fri, 29 Nov 2024 17:05:27 +0000 (18:05 +0100)]
Fix #11251 About bcopy not mounting correctly volumes provided with -i option
Eric Bollengier [Mon, 3 Mar 2025 07:59:49 +0000 (08:59 +0100)]
Fix org#2751 About typo in update_postgresql_tables_1025_to_1026.in
Eric Bollengier [Tue, 22 Oct 2024 09:48:15 +0000 (11:48 +0200)]
Fix #11197 About error when using bextract on ZSTD compressed data
Eric Bollengier [Wed, 4 Dec 2024 16:27:53 +0000 (17:27 +0100)]
Fix org#2738 About error message with generated fileset
Eric Bollengier [Wed, 4 Dec 2024 08:06:22 +0000 (09:06 +0100)]
bpipe: Fix org#2737 About segfault with bpipe
p_ctx->cmd is allocated with strdup() and released with
smartalloc and it causes the segfault.
Thanks to Marcin for this report.
Eric Bollengier [Wed, 25 Sep 2024 07:57:51 +0000 (09:57 +0200)]
Update bsmtp copyright information
As part of an ongoing license audit in Fedora, I reached out to Wietse Venema regarding the licensing of his smtp client code, which makes up the original core of bsmtp.c. Wietse wietse@porcupine.org replied quickly and attached a GPG signed license text consisting of a permissive license grant for that work.
Tom Callaway
@spotrh
Francisco Manuel Garcia Botella [Thu, 6 Jun 2024 11:32:44 +0000 (13:32 +0200)]
k8s: Fix restore problem where pod require the pvc data when it starts
norbert.bizet [Thu, 21 Dec 2023 14:55:07 +0000 (09:55 -0500)]
cloud: reapply usefull previous changes
norbert.bizet [Thu, 21 Dec 2023 09:05:27 +0000 (04:05 -0500)]
Revert "cloud storage: Fix #10291 Assume that driver ls can return an error when scanning an unexistant cloud volume and loosen the conditions that handle this case"
This reverts commit
28ba97c0958b0a609b1ff11d560bc804b8fc1c65 .
Eric Bollengier [Thu, 4 Jul 2024 06:54:11 +0000 (08:54 +0200)]
Fix windows compilation
Eric Bollengier [Thu, 29 Aug 2024 08:25:37 +0000 (10:25 +0200)]
Fix #11058 About fsync error reported for tape driver
Eric Bollengier [Wed, 21 Aug 2024 09:15:16 +0000 (11:15 +0200)]
regress: Tweak store-mngr-leastused-test output
Eric Bollengier [Thu, 15 Aug 2024 14:33:27 +0000 (16:33 +0200)]
regress: Add prune-many-jobs-test
Eric Bollengier [Fri, 9 Aug 2024 09:29:13 +0000 (11:29 +0200)]
Check for backquote in check_for_invalid_chars() function
Eric Bollengier [Wed, 7 Aug 2024 13:09:40 +0000 (15:09 +0200)]
Fix #11048 About LastBackedUpTo StorageGroup policy not correctly set
Jorge Gea [Tue, 9 Jul 2024 16:00:37 +0000 (18:00 +0200)]
metaplugin: Include bacula jobid in the backend calls as BACULA_JOBID env variable
Eric Bollengier [Thu, 4 Jul 2024 12:32:12 +0000 (14:32 +0200)]
Use bfopen instead of fopen in various tools
Eric Bollengier [Thu, 4 Jul 2024 11:34:16 +0000 (13:34 +0200)]
win32: Limit the scope of the open files
Eric Bollengier [Thu, 4 Jul 2024 11:00:18 +0000 (13:00 +0200)]
Add handle-list.exe tool in tools/Makefile
Eric Bollengier [Thu, 4 Jul 2024 11:00:05 +0000 (13:00 +0200)]
regress: Add tool to list open handle on windows
Eric Bollengier [Fri, 5 Jul 2024 10:35:39 +0000 (12:35 +0200)]
Disable orphan file detection
Eric Bollengier [Thu, 20 Jun 2024 08:31:51 +0000 (10:31 +0200)]
Fix #10985 Report the FD/SD Encryption in the Job record and the job output
The SQL Job record has now the Encrypted field proprely updated
at the end of a job.
The date can be encrypted by the FD and/or the SD, the value
of the SQL field is the following:
0 : no encryption
1 : FD encryption
2 : SD encryption
3 : FD and SD encryption
Eric Bollengier [Thu, 4 Jul 2024 15:26:34 +0000 (17:26 +0200)]
Use bclose_from() in daemon.c
Francisco Manuel Garcia Botella [Thu, 4 Jul 2024 09:02:14 +0000 (11:02 +0200)]
Add k8s dependency versions in requirements
Eric Bollengier [Wed, 3 Jul 2024 17:19:50 +0000 (19:19 +0200)]
Cleanup code in open_bpipe() when closing open files
Refactor the code that is responsible to close open files.
Eric Bollengier [Wed, 3 Jul 2024 17:16:41 +0000 (19:16 +0200)]
Add helper functions to close open files
Eric Bollengier [Wed, 3 Jul 2024 13:46:52 +0000 (15:46 +0200)]
Use O_CLOEXEC in pid/stat file management
Eric Bollengier [Wed, 3 Jul 2024 13:45:07 +0000 (15:45 +0200)]
Add SOCK_CLOEXEC to bnet_server sockets
Francisco Manuel Garcia Botella [Tue, 2 Jul 2024 07:34:09 +0000 (09:34 +0200)]
k8s: Fix #
0011005 : ModuleNotFoundError: No module named 'baculak8s.plugins.k8sbackend.ingress'
Francisco Manuel Garcia Botella [Thu, 13 Jun 2024 06:28:32 +0000 (08:28 +0200)]
deploy: limit urllib3 version to be compatible with rhel8
Francisco Manuel Garcia Botella [Wed, 12 Jun 2024 09:57:19 +0000 (11:57 +0200)]
k8s: Avoid pvc data when pvc is in Pending status.
k8s: Fix redoing backup when pvcdata is 0 bytes and the backup mode is standard
Added tests
francisco garcia [Tue, 11 Jun 2024 11:19:31 +0000 (11:19 +0000)]
deploy: create dockerfile to fast k8s compilation in rhel platform
Francisco Manuel Garcia Botella [Thu, 6 Jun 2024 15:29:25 +0000 (17:29 +0200)]
regress: Fix some bugs in tests
Francisco Manuel Garcia Botella [Thu, 6 Jun 2024 11:37:32 +0000 (13:37 +0200)]
regress: Add new make rule to sync source code with regress code
Francisco Manuel Garcia Botella [Thu, 6 Jun 2024 11:36:28 +0000 (13:36 +0200)]
regress: Add more k8s tests
Francisco Manuel Garcia Botella [Thu, 6 Jun 2024 11:34:29 +0000 (13:34 +0200)]
regress: Add documentation to k8s tests
Francisco Manuel Garcia Botella [Tue, 4 Jun 2024 08:47:32 +0000 (10:47 +0200)]
k8s: Add more options to debug
francisco garcia [Tue, 21 May 2024 12:33:01 +0000 (12:33 +0000)]
regress: k8s testing
Alain Spineux [Wed, 5 Jun 2024 16:08:10 +0000 (18:08 +0200)]
Fix #10947 time output without century for locale that use multi bytes utf8
- in Korean strftime("%b") is a 3 unicode char encoded in 5 bytes (in utf8)
- before
Daemon started 28- 5<EC><9B>2024 15:55, conf reloaded 28- 5월-2024 19:03:10
-after
Daemon started 28- 5월-24 15:55, conf reloaded 28- 5월-2024 19:03:10
Alain Spineux [Fri, 22 Mar 2024 09:24:26 +0000 (10:24 +0100)]
BSOCK improve POLL to detect and report errors
- when I was crashing my SD during my dedup2 tests,
the FD was oftent stuck with thread using 100% cpu.
This patch solved the problem, now the FD just terminate
the job.
Alain Spineux [Mon, 5 Feb 2024 15:21:16 +0000 (16:21 +0100)]
show minimal backtrace if gdb is not installed
- here is a sample, lines in the stack trace are doubled
with and witout demanglind/addr2line
Attempt to dump locks
threadid=0x7ffaa63fe640 max=2 current=-1
threadid=0x7ffaa53fc640 max=3 current=-1
threadid=0x7ffaa5bfd640 max=0 current=-1
threadid=0x7ffaa6bff640 max=0 current=-1
threadid=0x7ffaa7a2a080 max=0 current=-1
Attempt to dump current JCRs. njcrs=1
threadid=0x7ffaa53fc640 JobId=2 JobStatus=R jcr=0x7ffa98025728 name=RestoreFiles.2024-02-07_19.45.34_04
use_count=1 killable=1
JobType=R JobLevel=F
sched_time=07-Feb-2024 19:45 start_time=07-Feb-2024 19:45
end_time=01-Jan-1970 01:00 wait_time=01-Jan-1970 01:00
db=(nil) db_batch=(nil) batch_started=0
dcr=0x7ffa98000908 volumename=TestVolume001 dev=0x7ffa9800bbe8 newvol=0 reserved=1 locked=0
List plugins. Hook count=0
/home/bac/workspace/bee/regress/bin/libbacsd-18.0.0.so(_Z12read_recordsP3DCRPFbS0_P10DEV_RECORDEPFbS0_E+0x11b) [0x7ffaa806b275]
/home/bac/workspace/bee/regress/bin/libbacsd-18.0.0.so:read_records(DCR*, bool (*)(DCR*, DEV_RECORD*), bool (*)(DCR*))
/home/bac/workspace/bee/regress/bin/libbacsd-18.0.0.so(_Z12do_read_dataP3JCR+0x43c) [0x7ffaa80695f4]
/home/bac/workspace/bee/regress/bin/libbacsd-18.0.0.so:do_read_data(JCR*)
/home/bac/workspace/bee/regress/bin/bacula-sd(+0x234a7) [0x5558cd5db4a7]
/home/bac/workspace/bee/regress/build/src/stored/fd_cmds.c:431
/home/bac/workspace/bee/regress/bin/bacula-sd(+0x2281a) [0x5558cd5da81a]
/home/bac/workspace/bee/regress/build/src/stored/fd_cmds.c:234
/home/bac/workspace/bee/regress/bin/bacula-sd(+0x22473) [0x5558cd5da473]
/home/bac/workspace/bee/regress/build/src/stored/fd_cmds.c:176
/home/bac/workspace/bee/regress/bin/bacula-sd(+0x25025) [0x5558cd5dd025]
/home/bac/workspace/bee/regress/build/src/stored/job.c:252
/home/bac/workspace/bee/regress/bin/bacula-sd(+0x17f53) [0x5558cd5cff53]
/home/bac/workspace/bee/regress/build/src/stored/dircmd.c:255
/home/bac/workspace/bee/regress/bin/libbac-18.0.0.so(workq_server+0x45f) [0x7ffaa7f9e0fe]
/home/bac/workspace/bee/regress/bin/libbac-18.0.0.so:workq_server()
/home/bac/workspace/bee/regress/bin/libbac-18.0.0.so(lmgr_thread_launcher+0xf7) [0x7ffaa7faa2b4]
/home/bac/workspace/bee/regress/bin/libbac-18.0.0.so:lmgr_thread_launcher()
/lib/x86_64-linux-gnu/libc.so.6(+0x94ac3) [0x7ffaa7894ac3]
./nptl/pthread_create.c:442
/lib/x86_64-linux-gnu/libc.so.6(+0x126850) [0x7ffaa7926850]
./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:83
Please install GDB.
Alain Spineux [Wed, 17 Jan 2024 15:25:45 +0000 (16:25 +0100)]
Detect unsolvable volume cycle in split_bsr_loop()
- Fix empty part: when a cycle inside a job was detected, the function
was creating an empty part (splitting at offset 0), that was causing
a fatal error in the restore
- this make that the first part to restore is totally empty and
generate the messages from the SD and from the FD:
SD - Fatal error: No Volume names found for restore.
FD - Fatal error: job.c:3694 Bad response from SD to Read Data command. Wanted 3000 OK data
- in the trace file we have a split at off=0
BSR: Split the BSR at off=0 at the beginning of jobnum=1 ....
Signed-off-by: Alain Spineux <alain@baculasystems.com>
Francisco Manuel Garcia Botella [Tue, 14 May 2024 11:10:06 +0000 (13:10 +0200)]
k8s: Avoid pvcs backup when the pvc status is Terminating
Francisco Manuel Garcia Botella [Thu, 9 May 2024 11:15:18 +0000 (13:15 +0200)]
k8s: Add dockerfile to create an image to compile k8s plugin in any debian/ubuntu distribution
Francisco Manuel Garcia Botella [Thu, 9 May 2024 11:12:49 +0000 (13:12 +0200)]
k8s: Add Ingress integration backup/restore
Francisco Manuel Garcia Botella [Fri, 10 May 2024 09:39:44 +0000 (11:39 +0200)]
k8s: Fix #
0010901 - Problem when restore service clusterIPs
Eric Bollengier [Thu, 28 Mar 2024 09:50:17 +0000 (10:50 +0100)]
Fix Client/Uname field not always updated after a status client
Eric Bollengier [Thu, 28 Mar 2024 09:23:13 +0000 (10:23 +0100)]
regress: Add test for uname update
Eric Bollengier [Mon, 23 Sep 2024 07:11:27 +0000 (09:11 +0200)]
win32: Fix unwanted debug messages in windows File Daemon
Marcin Haba [Tue, 17 Sep 2024 12:44:55 +0000 (14:44 +0200)]
Add Francisco to AUTHORS file
Marcin Haba [Tue, 17 Sep 2024 12:18:18 +0000 (12:18 +0000)]
Merge branch 'francisco.garcia-15.0-baculum-m365EmailList-query-params' into 'Branch-15.0'
baculum: Add new query parameters in M365EmailList endpoint
See merge request bacula-community-edition/bacula-community!3
Francisco Manuel Garcia Botella [Wed, 4 Sep 2024 10:27:24 +0000 (10:27 +0000)]
baculum: Add new query parameters in M365EmailList endpoint
Eric Bollengier [Tue, 7 May 2024 16:51:33 +0000 (18:51 +0200)]
Fix compilation issue with zstd and without lzo
Marcin Haba [Fri, 21 Jun 2024 14:31:51 +0000 (16:31 +0200)]
baculum: Add enable and disable client, storage, job and schedule endpoints
Marcin Haba [Mon, 10 Jun 2024 11:48:58 +0000 (13:48 +0200)]
baculum: Fix missing scopes on supported OAuth2 scope list
Marcin Haba [Fri, 7 Jun 2024 14:25:37 +0000 (16:25 +0200)]
baculum: Fix compatibility with very old PHP 5.4
Marcin Haba [Mon, 3 Jun 2024 13:58:09 +0000 (15:58 +0200)]
baculum: Add cloud storage status to SD status endpoint
Marcin Haba [Sun, 26 May 2024 19:38:07 +0000 (21:38 +0200)]
baculum: Fix #2722 port from Bacularis fix for displaying schedule list
Marcin Haba [Thu, 4 Apr 2024 09:25:23 +0000 (11:25 +0200)]
baculum: Fix sorting in filesets endpoint if unique filesets parameter is used
Eric Bollengier [Wed, 17 Apr 2024 07:39:31 +0000 (09:39 +0200)]
Enforce malware database download from Abuse.ch
Alain Spineux [Tue, 16 Apr 2024 13:42:45 +0000 (15:42 +0200)]
regress: tweak tests/tls-test for testing org#2714 fix
Alain Spineux [Tue, 16 Apr 2024 13:38:57 +0000 (15:38 +0200)]
Fix org#2714 Fails to take TLS Allowed CN into account
- verify_list is never used
Eric Bollengier [Mon, 25 Mar 2024 17:34:24 +0000 (18:34 +0100)]
regress: Add rot13 plugin
Marcin Haba [Thu, 28 Mar 2024 12:01:57 +0000 (13:01 +0100)]
baculum: Update API documentation
Marcin Haba [Thu, 28 Mar 2024 11:51:50 +0000 (12:51 +0100)]
baculum: Add name and sort parameters to filesets filter
Eric Bollengier [Mon, 25 Mar 2024 17:08:20 +0000 (18:08 +0100)]
regress: Fix unittests on ubunbut where sh is dash
Eric Bollengier [Mon, 25 Mar 2024 17:06:55 +0000 (18:06 +0100)]
regress: Fix crc32-unittests
Eric Bollengier [Mon, 25 Mar 2024 15:34:41 +0000 (16:34 +0100)]
regress: Fix console-acl-test
Eric Bollengier [Thu, 16 Mar 2023 09:20:50 +0000 (10:20 +0100)]
regress: Check restore menu with consoles
- menu item 1
- menu item 2
- menu item 3
- menu item 11
regress: Add test for restore jobid= parameter
regress: Add tests for file=? restore with restricted console
Eric Bollengier [Mon, 25 Mar 2024 13:41:44 +0000 (14:41 +0100)]
regress: Fix loading of test-plugin
Eric Bollengier [Tue, 28 Mar 2023 07:40:27 +0000 (09:40 +0200)]
regress: Fix runscript-test
Use MaximumConcurrentJobPerLevel script instead of a simplified version
Eric Bollengier [Fri, 22 Mar 2024 09:48:41 +0000 (10:48 +0100)]
Fix copyright
Eric Bollengier [Fri, 22 Mar 2024 09:43:28 +0000 (10:43 +0100)]
update changelog and releasenotes
Marcin Haba [Fri, 22 Mar 2024 09:39:48 +0000 (10:39 +0100)]
baculum: Update version