Changesets: bareos
master 241f5e95 2024-03-07 15:17 Bareos Bot Ported: N/A Details Diff |
Update CHANGELOG.md | ||
mod - CHANGELOG.md | Diff File | ||
master ca40217a 2024-03-07 14:31 Committer: Bareos Bot Ported: N/A Details Diff |
dbcheck: remove messages guarded by g_verbose > 1 As there is no way to set g_verbose to anything but 0 or 1 in dbcheck, this code is unrechable and can be removed safely. |
||
mod - core/src/dird/dbcheck.cc | Diff File | ||
master 689cc224 2024-03-07 10:00 Sebastian Sura Committer: Bareos Bot Ported: N/A Details Diff |
dird-jcr: fix bad use of condition variable | ||
mod - core/src/dird/director_jcr_impl.h | Diff File | ||
mod - core/src/dird/job.cc | Diff File | ||
mod - core/src/dird/jobq.cc | Diff File | ||
mod - core/src/dird/msgchan.cc | Diff File | ||
master 385bc7ad 2024-03-07 09:45 Sebastian Sura Committer: Bareos Bot Ported: N/A Details Diff |
jcr: switch to std::mutex/std::unique_lock | ||
mod - core/src/dird/job.cc | Diff File | ||
mod - core/src/dird/msgchan.cc | Diff File | ||
mod - core/src/dird/ndmp_fhdb_common.cc | Diff File | ||
mod - core/src/dird/ndmp_fhdb_lmdb.cc | Diff File | ||
mod - core/src/dird/ndmp_fhdb_mem.cc | Diff File | ||
mod - core/src/filed/backup.cc | Diff File | ||
mod - core/src/filed/restore.cc | Diff File | ||
mod - core/src/filed/status.cc | Diff File | ||
mod - core/src/filed/verify.cc | Diff File | ||
mod - core/src/filed/verify_vol.cc | Diff File | ||
mod - core/src/include/jcr.h | Diff File | ||
mod - core/src/lib/jcr.cc | Diff File | ||
mod - core/src/stored/reserve.cc | Diff File | ||
mod - core/src/stored/status.cc | Diff File | ||
master 4ad05901 2024-03-07 09:44 Sebastian Sura Committer: Bareos Bot Ported: N/A Details Diff |
thread-util: introduce locked::wait_until() | ||
mod - core/src/lib/thread_util.h | Diff File | ||
master 20682c92 2024-03-07 09:35 Sebastian Sura Committer: Bareos Bot Ported: N/A Details Diff |
stored: fix jcr->authenticate data race The condition variable is not used correctly: // reader 1| while (!unprotected) { 2| wait(cond_var) } // writer 3| unprotected = true; 4| signal(cond_var) The execution order 1->3->4->2 will cause a deadlock. This is why the wait command takes a mutex: Everything that might change the condition to be true needs to lock the mutex, this way we can ensure that we either see the updated value or the wait sees the signal. Since jcr->authenticate is used all over the place in a lot of different situations, this problem could not be easily fixed by just protecting that variable (we do not want weird deadlocks to happen after all). We just do not rely on jcr->authenticate anymore when it comes to waiting on job start. Instead we have a single, properly protected bool `client_available` that we can wait on. This bool obviously needs to be set by whoever authenticates the FD/SD connection, otherwise the job will deadlock. But at least that is easily fixable. |
||
mod - core/src/stored/dir_cmd.cc | Diff File | ||
mod - core/src/stored/fd_cmds.cc | Diff File | ||
mod - core/src/stored/job.cc | Diff File | ||
mod - core/src/stored/ndmp_tape.cc | Diff File | ||
mod - core/src/stored/sd_cmds.cc | Diff File | ||
mod - core/src/stored/stored.cc | Diff File | ||
mod - core/src/stored/stored_jcr_impl.h | Diff File | ||
master dd0200e5 2024-03-07 07:38 Sebastian Sura Committer: Bareos Bot Ported: N/A Details Diff |
dedup-estimate-doc: add man page to table of contents | ||
mod - docs/manuals/source/Appendix/BareosPrograms.rst | Diff File | ||
master 8a72eef9 2024-03-06 21:18 Committer: Bareos Bot Ported: N/A Details Diff |
docs: fix Pool explanation for migration jobs - describe the effect of the Pool statement for Copy and Migration jobs correctly in case of "SQL Query" selection type - fix example configuration |
||
mod - docs/manuals/source/TasksAndConcepts/MigrationAndCopy.rst | Diff File | ||
mod - docs/manuals/source/include/config/DirSelectionPatterns-sql1.conf | Diff File | ||
mod - docs/manuals/source/manually_added_config_directive_descriptions/dir-job-Pool.rst.inc | Diff File | ||
mod - docs/manuals/source/manually_added_config_directive_descriptions/dir-job-SelectionPattern.rst.inc | Diff File | ||
master 48271b59 2024-03-06 14:00 Committer: GitHub Ported: N/A Details Diff |
Merge pull request #1639 Add backport tool |
||
mod - CHANGELOG.md | Diff File | ||
add - devtools/pip-tools/.gitignore | Diff File | ||
mod - devtools/pip-tools/Pipfile | Diff File | ||
mod - devtools/pip-tools/Pipfile.lock | Diff File | ||
rm - devtools/pip-tools/check_sources.egg-info/PKG-INFO | Diff File | ||
rm - devtools/pip-tools/check_sources.egg-info/SOURCES.txt | Diff File | ||
rm - devtools/pip-tools/check_sources.egg-info/dependency_links.txt | Diff File | ||
rm - devtools/pip-tools/check_sources.egg-info/entry_points.txt | Diff File | ||
rm - devtools/pip-tools/check_sources.egg-info/top_level.txt | Diff File | ||
add - devtools/pip-tools/pr_tool/backport.py | Diff File | ||
add - devtools/pip-tools/pr_tool/backport_pr_template.md | Diff File | ||
add - devtools/pip-tools/pr_tool/github.py | Diff File | ||
mod - devtools/pip-tools/pr_tool/main.py | Diff File | ||
master b1de0ac9 2024-03-06 13:59 Ported: N/A Details Diff |
Update CHANGELOG.md | ||
mod - CHANGELOG.md | Diff File | ||
master f6d42929 2024-03-05 10:18 Sebastian Sura Committer: Bareos Bot Ported: N/A Details Diff |
dedup-estimate: stop building on windows | ||
mod - core/src/tools/CMakeLists.txt | Diff File | ||
master c9fc66d3 2024-03-05 10:15 Sebastian Sura Committer: arogge Ported: N/A Details Diff |
vbackup: add always incremental check We should not run if always incremental is set but no jobids are given since this will otherwise cause the VF to consolidate ALL the current jobs into one full, which is definitely not what you want. |
||
mod - core/src/dird/vbackup.cc | Diff File | ||
master efed11bd 2024-03-05 08:14 Sebastian Sura Ported: N/A Details Diff |
wrap: add official test data See: https://datatracker.ietf.org/doc/html/rfc3394.html#section-4.1 |
||
mod - core/src/tests/wrap.cc | Diff File | ||
master 16731f3d 2024-03-05 00:04 Committer: Bareos Bot Ported: N/A Details Diff |
VMware Plugin: Backup and Restore NVRAM The NVRAM of VMs is now backed up and restored when a VM is recreated. This ensures that EFI enabled VMs will boot successfully. Additionally, the exception handling and error messages in the functions connect_vmware() and retrieve_vcthumbprint() were enhanced. The plugin now makes sure to store all files belonging to a recreated VM in the same directory in VMFS. This commit also contains some changes to improve the pylint score. |
||
mod - core/src/plugins/filed/python/vmware/bareos-fd-vmware.py | Diff File | ||
mod - docs/manuals/source/TasksAndConcepts/Plugins/FileDaemonPlugins/VMwarePlugin.rst.inc | Diff File | ||
master e075c867 2024-03-04 12:49 Sebastian Sura Committer: Bareos Bot Ported: N/A Details Diff |
dird-cmd: fix using unchanging bool inside loop | ||
mod - core/src/filed/dir_cmd.cc | Diff File | ||
master 13af6b10 2024-03-04 10:43 Sebastian Sura Ported: N/A Details Diff |
reserve: fix initializing mutex multiple times | ||
mod - core/src/stored/reserve.cc | Diff File | ||
master f82282c2 2024-03-04 10:22 Sebastian Sura Ported: N/A Details Diff |
append: fix not checking for errors | ||
mod - core/src/stored/append.cc | Diff File | ||
master b683b43c 2024-03-04 10:17 Sebastian Sura Ported: N/A Details Diff |
append: add jmsg on no reservation | ||
mod - core/src/stored/append.cc | Diff File | ||
master c0d99c86 2024-03-04 10:10 Sebastian Sura Ported: N/A Details Diff |
reserve: remove impossible if condition Since SetupinewDcrDevice accesses dcr, dcr can never be null after if (rct.store->append) { ... }, so the if would have never fired. Since the branches of the if are basically the same, the SetupNewDcrDevice was extracted out of them. |
||
mod - core/src/stored/reserve.cc | Diff File | ||
master 812e0b0e 2024-03-04 10:06 Sebastian Sura Ported: N/A Details Diff |
reserve: fix error message not being jmsg | ||
mod - core/src/stored/reserve.cc | Diff File | ||
master deb443eb 2024-03-04 09:14 Sebastian Sura Committer: Bareos Bot Ported: N/A Details Diff |
test-config-parser-dir: fix memory leaks | ||
mod - core/src/tests/CMakeLists.txt | Diff File | ||
mod - core/src/tests/test_config_parser_dir.cc | Diff File | ||
master e2bb411b 2024-03-04 08:51 Sebastian Sura Committer: Bareos Bot Ported: N/A Details Diff |
restore-test: fix copyright notice | ||
mod - systemtests/tests/restore/CMakeLists.txt | Diff File | ||
mod - systemtests/tests/restore/testrunner-archive-restore-dir | Diff File | ||
mod - systemtests/tests/restore/testrunner-check-hints | Diff File | ||
mod - systemtests/tests/restore/testrunner-create-backup | Diff File | ||
mod - systemtests/tests/restore/testrunner-error-full-restore | Diff File | ||
mod - systemtests/tests/restore/testrunner-full-restore | Diff File | ||
mod - systemtests/tests/restore/testrunner-multi | Diff File | ||
mod - systemtests/tests/restore/testrunner-restore-dir | Diff File | ||
mod - systemtests/tests/restore/testrunner-restore-file | Diff File | ||
mod - systemtests/tests/restore/testrunner-restore-fileregex | Diff File | ||
mod - systemtests/tests/restore/testrunner-restore-old-archive | Diff File | ||
master 08917401 2024-03-01 13:56 Sebastian Sura Committer: Bareos Bot Ported: N/A Details Diff |
bdedup-estimate: fix up header order for windows | ||
mod - core/src/lib/crypto.h | Diff File | ||
mod - core/src/tools/bdedup-estimate.cc | Diff File | ||
master f327300b 2024-03-01 11:45 Sebastian Sura Committer: Bareos Bot Ported: N/A Details Diff |
job: fix not freeing plugin_options | ||
mod - core/src/dird/job.cc | Diff File | ||
master 0f699e25 2024-03-01 11:43 Sebastian Sura Committer: Bareos Bot Ported: N/A Details Diff |
dird-jcr: fix various fname leaks Instead of hunting down every place where this could get leaked, we instead use PoolMem to do so automatically. |
||
mod - core/src/dird/admin.cc | Diff File | ||
mod - core/src/dird/archive.cc | Diff File | ||
mod - core/src/dird/consolidate.cc | Diff File | ||
mod - core/src/dird/director_jcr_impl.h | Diff File | ||
mod - core/src/dird/fd_cmds.cc | Diff File | ||
mod - core/src/dird/job.cc | Diff File | ||
mod - core/src/dird/verify.cc | Diff File |