Changesets: bareos

master 289bf7e7

2019-03-19 15:37

arogge_adm

Ported: N/A

Details Diff
dird: warn if NDMP environment not available
mod - core/src/cats/sql_get.cc Diff File
mod - core/src/dird/ndmp_dma_restore_NDMP_BAREOS.cc Diff File
mod - core/src/dird/ndmp_dma_restore_NDMP_NATIVE.cc Diff File

bareos-18.2 42afaef8

2019-03-19 15:37

arogge_adm

Ported: N/A

Details Diff
dird: warn if NDMP environment not available
mod - core/src/cats/sql_get.cc Diff File
mod - core/src/dird/ndmp_dma_restore_NDMP_BAREOS.cc Diff File
mod - core/src/dird/ndmp_dma_restore_NDMP_NATIVE.cc Diff File

bareos-18.2 4a59db27

2019-03-19 11:50

arogge_adm

Ported: N/A

Details Diff
docs: implement franku's review comments
mod - docs/manuals/en/new_main_reference/source/developers/generaldevel.rst Diff File

master 356eacd5

2019-03-18 18:00

arogge_adm

Ported: N/A

Details Diff
remove const on by-value parameters

This was added to enforce a best practice that
can be checked in a much nicer way using tools.
mod - core/src/cats/cats.h Diff File
mod - core/src/cats/sql_get.cc Diff File
mod - core/src/lib/volume_session_info.h Diff File

bareos-18.2 9a893df2

2019-03-18 18:00

arogge_adm

Ported: N/A

Details Diff
remove const on by-value parameters

This was added to enforce a best practice that
can be checked in a much nicer way using tools.
mod - core/src/cats/cats.h Diff File
mod - core/src/cats/sql_get.cc Diff File
mod - core/src/lib/volume_session_info.h Diff File

bareos-17.2 8a9008d7

2019-03-18 17:51

arogge_adm


Committer: GitHub

Ported: N/A

Details Diff
stored: fix crash in status command (0000161)

* stored: fix crash in status command

master 4c5de8d2

2019-03-18 17:42

arogge_adm

Ported: N/A

Details Diff
cats: handle empty/non-empty environment correctly

The previous version did not detect whether the
NDMP environment contained values or not.
This new version correctly detects the amount of
environment values returned from the database
and returns success/failure as expected by the
calling code (i.e. return false when there is no
environment in the database).
mod - core/src/cats/cats.h Diff File
mod - core/src/cats/sql_get.cc Diff File

bareos-18.2 71df59b9

2019-03-18 17:42

arogge_adm

Ported: N/A

Details Diff
cats: handle empty/non-empty environment correctly

The previous version did not detect whether the
NDMP environment contained values or not.
This new version correctly detects the amount of
environment values returned from the database
and returns success/failure as expected by the
calling code (i.e. return false when there is no
environment in the database).
mod - core/src/cats/cats.h Diff File
mod - core/src/cats/sql_get.cc Diff File

bareos-17.2 e32e0057

2019-03-18 15:41

arogge_adm

Ported: N/A

Details Diff
stored: fix corner-case crash during job cancel

When jcr->store_bsock was null during job cancellation
the director would crash.

This patch was backported from commit d0d1ccb9.
mod - src/dird/sd_cmds.c Diff File

bareos-18.2 a942ecac

2019-03-16 18:33

joergs

Ported: N/A

Details Diff
docs: (Sphinx) update doc by running auto conversion script
mod - docs/manuals/en/new_main_reference/source/Appendix/BackwardCompatibility.rst Diff File
mod - docs/manuals/en/new_main_reference/source/Appendix/BareosPrograms.rst Diff File
mod - docs/manuals/en/new_main_reference/source/Appendix/CatalogTables.rst Diff File
mod - docs/manuals/en/new_main_reference/source/Appendix/Debugging.rst Diff File
mod - docs/manuals/en/new_main_reference/source/Appendix/DisasterRecoveryUsingBareos.rst Diff File
mod - docs/manuals/en/new_main_reference/source/Appendix/Howtos.rst Diff File
mod - docs/manuals/en/new_main_reference/source/Appendix/OperatingSystems.rst Diff File
mod - docs/manuals/en/new_main_reference/source/Appendix/ReleaseNotes.rst Diff File
mod - docs/manuals/en/new_main_reference/source/Appendix/SystemRequirements.rst Diff File
mod - docs/manuals/en/new_main_reference/source/Appendix/TheBootstrapFile.rst Diff File
mod - docs/manuals/en/new_main_reference/source/Appendix/Troubleshooting.rst Diff File
mod - docs/manuals/en/new_main_reference/source/Configuration/Console.rst Diff File
mod - docs/manuals/en/new_main_reference/source/Configuration/CustomizingTheConfiguration.rst Diff File
mod - docs/manuals/en/new_main_reference/source/Configuration/Director.rst Diff File
mod - docs/manuals/en/new_main_reference/source/Configuration/Messages.rst Diff File
mod - docs/manuals/en/new_main_reference/source/Configuration/Monitor.rst Diff File
mod - docs/manuals/en/new_main_reference/source/Configuration/StorageDaemon.rst Diff File
mod - docs/manuals/en/new_main_reference/source/IntroductionAndTutorial/GettingStartedWithBareos.rst Diff File
mod - docs/manuals/en/new_main_reference/source/IntroductionAndTutorial/InstallingBareos.rst Diff File
mod - docs/manuals/en/new_main_reference/source/IntroductionAndTutorial/InstallingBareosWebui.rst Diff File
mod - docs/manuals/en/new_main_reference/source/IntroductionAndTutorial/Tutorial.rst Diff File
mod - docs/manuals/en/new_main_reference/source/IntroductionAndTutorial/UpdatingBareos.rst Diff File
mod - docs/manuals/en/new_main_reference/source/TasksAndConcepts/AlwaysIncrementalBackupScheme.rst Diff File
mod - docs/manuals/en/new_main_reference/source/TasksAndConcepts/AutochangerSupport.rst Diff File
mod - docs/manuals/en/new_main_reference/source/TasksAndConcepts/AutomatedDiskBackup.rst Diff File
mod - docs/manuals/en/new_main_reference/source/TasksAndConcepts/BareosConsole.rst Diff File
mod - docs/manuals/en/new_main_reference/source/TasksAndConcepts/BareosSecurityIssues.rst Diff File
mod - docs/manuals/en/new_main_reference/source/TasksAndConcepts/CatalogMaintenance.rst Diff File
mod - docs/manuals/en/new_main_reference/source/TasksAndConcepts/DataEncryption.rst Diff File
mod - docs/manuals/en/new_main_reference/source/TasksAndConcepts/DataSpooling.rst Diff File
mod - docs/manuals/en/new_main_reference/source/TasksAndConcepts/HowToManuallyTransferDataVolumes.rst Diff File
mod - docs/manuals/en/new_main_reference/source/TasksAndConcepts/MigrationAndCopy.rst Diff File
mod - docs/manuals/en/new_main_reference/source/TasksAndConcepts/NdmpBackupsWithBareos.rst Diff File
mod - docs/manuals/en/new_main_reference/source/TasksAndConcepts/NetworkSetup.rst Diff File
mod - docs/manuals/en/new_main_reference/source/TasksAndConcepts/Plugins.rst Diff File
mod - docs/manuals/en/new_main_reference/source/TasksAndConcepts/StorageBackends.rst Diff File
mod - docs/manuals/en/new_main_reference/source/TasksAndConcepts/TheRestoreCommand.rst Diff File
mod - docs/manuals/en/new_main_reference/source/TasksAndConcepts/TheWindowsVersionOfBareos.rst Diff File
mod - docs/manuals/en/new_main_reference/source/TasksAndConcepts/TransportEncryption.rst Diff File
mod - docs/manuals/en/new_main_reference/source/TasksAndConcepts/VolumeManagement.rst Diff File
mod - docs/manuals/en/new_main_reference/source/config-directive-description/dir-client-HardQuota.rst.inc Diff File
mod - docs/manuals/en/new_main_reference/source/config-directive-description/dir-client-SoftQuotaGracePeriod.rst.inc Diff File
mod - docs/manuals/en/new_main_reference/source/config-directive-description/dir-client-StrictQuotas.rst.inc Diff File
mod - docs/manuals/en/new_main_reference/source/config-directive-description/dir-console-JobAcl.rst.inc Diff File
mod - docs/manuals/en/new_main_reference/source/config-directive-description/dir-director-StatisticsRetention.rst.inc Diff File
mod - docs/manuals/en/new_main_reference/source/config-directive-description/dir-director-Subscriptions.rst.inc Diff File
mod - docs/manuals/en/new_main_reference/source/config-directive-description/dir-director-VerId.rst.inc Diff File
mod - docs/manuals/en/new_main_reference/source/config-directive-description/dir-job-Client.rst.inc Diff File
mod - docs/manuals/en/new_main_reference/source/config-directive-description/dir-job-Run.rst.inc Diff File
mod - docs/manuals/en/new_main_reference/source/config-directive-description/dir-job-RunAfterFailedJob.rst.inc Diff File
mod - docs/manuals/en/new_main_reference/source/config-directive-description/dir-job-RunBeforeJob.rst.inc Diff File
mod - docs/manuals/en/new_main_reference/source/config-directive-description/dir-job-RunScript.rst.inc Diff File
mod - docs/manuals/en/new_main_reference/source/config-directive-description/dir-job-StripPrefix.rst.inc Diff File
mod - docs/manuals/en/new_main_reference/source/config-directive-description/dir-job-Type.rst.inc Diff File
mod - docs/manuals/en/new_main_reference/source/config-directive-description/dir-job-WriteBootstrap.rst.inc Diff File
mod - docs/manuals/en/new_main_reference/source/config-directive-description/dir-messages-MailCommand.rst.inc Diff File
mod - docs/manuals/en/new_main_reference/source/config-directive-description/dir-messages-Syslog.rst.inc Diff File
mod - docs/manuals/en/new_main_reference/source/config-directive-description/dir-pool-ActionOnPurge.rst.inc Diff File
mod - docs/manuals/en/new_main_reference/source/config-directive-description/dir-pool-AutoPrune.rst.inc Diff File
mod - docs/manuals/en/new_main_reference/source/config-directive-description/dir-pool-Catalog.rst.inc Diff File
mod - docs/manuals/en/new_main_reference/source/config-directive-description/dir-pool-CatalogFiles.rst.inc Diff File
mod - docs/manuals/en/new_main_reference/source/config-directive-description/dir-pool-Recycle.rst.inc Diff File
mod - docs/manuals/en/new_main_reference/source/config-directive-description/dir-storage-AutoChanger.rst.inc Diff File
mod - docs/manuals/en/new_main_reference/source/config-directive-description/dir-storage-Device.rst.inc Diff File
mod - docs/manuals/en/new_main_reference/source/config-directive-description/fd-client-AllowedJobCommand.rst.inc Diff File
mod - docs/manuals/en/new_main_reference/source/config-directive-description/fd-client-AllowedScriptDir.rst.inc Diff File
mod - docs/manuals/en/new_main_reference/source/config-directive-description/fd-client-Compatible.rst.inc Diff File
mod - docs/manuals/en/new_main_reference/source/config-directive-description/fd-client-FdAddresses.rst.inc Diff File
mod - docs/manuals/en/new_main_reference/source/config-directive-description/fd-client-MaximumConcurrentJobs.rst.inc Diff File
mod - docs/manuals/en/new_main_reference/source/config-directive-description/fd-client-PkiCipher.rst.inc Diff File
mod - docs/manuals/en/new_main_reference/source/config-directive-description/sd-autochanger-ChangerCommand.rst.inc Diff File
mod - docs/manuals/en/new_main_reference/source/config-directive-description/sd-autochanger-ChangerDevice.rst.inc Diff File
mod - docs/manuals/en/new_main_reference/source/config-directive-description/sd-device-AlertCommand.rst.inc Diff File
mod - docs/manuals/en/new_main_reference/source/config-directive-description/sd-device-ArchiveDevice.rst.inc Diff File
mod - docs/manuals/en/new_main_reference/source/config-directive-description/sd-device-AutomaticMount.rst.inc Diff File
mod - docs/manuals/en/new_main_reference/source/config-directive-description/sd-device-BsfAtEom.rst.inc Diff File
mod - docs/manuals/en/new_main_reference/source/config-directive-description/sd-device-DeviceOptions.rst.inc Diff File
mod - docs/manuals/en/new_main_reference/source/config-directive-description/sd-device-DeviceType.rst.inc Diff File
mod - docs/manuals/en/new_main_reference/source/config-directive-description/sd-device-LabelMedia.rst.inc Diff File
mod - docs/manuals/en/new_main_reference/source/config-directive-description/sd-device-MinimumBlockSize.rst.inc Diff File
mod - docs/manuals/en/new_main_reference/source/config-directive-description/sd-device-UnmountCommand.rst.inc Diff File
mod - docs/manuals/en/new_main_reference/source/config-directive-description/sd-storage-Compatible.rst.inc Diff File
mod - docs/manuals/en/new_main_reference/source/config-directive-description/sd-storage-MaximumConcurrentJobs.rst.inc Diff File

bareos-18.2 0e086da2

2019-03-16 18:29

joergs

Ported: N/A

Details Diff
docs (Sphinx): cleanup
rm - docs/manuals/en/new_main_reference/README.txt Diff File
mod - docs/manuals/en/new_main_reference/source/_extensions/bareos-ext.py Diff File
mod - docs/manuals/en/new_main_reference/source/conf.py Diff File

bareos-18.2 ee99f902

2019-03-16 18:25

joergs

Ported: N/A

Details Diff
docs (Style Guide): major enhancement

The Style Guide should now be at a usable level.
mod - docs/manuals/en/new_main_reference/latex-scan.py Diff File
add - docs/manuals/en/style_guide/source/BareosSpecificFormatting.rst Diff File
add - docs/manuals/en/style_guide/source/BareosSpecificFormatting/BareosConfiguration.rst Diff File
add - docs/manuals/en/style_guide/source/BareosSpecificFormatting/BareosHostNames.rst Diff File
add - docs/manuals/en/style_guide/source/BareosSpecificFormatting/BareosLogging.rst Diff File
add - docs/manuals/en/style_guide/source/BareosSpecificFormatting/BareosVersions.rst Diff File
add - docs/manuals/en/style_guide/source/BareosSpecificFormatting/Bconsole.rst Diff File
add - docs/manuals/en/style_guide/source/BareosSpecificFormatting/DocumentFileStructure.rst Diff File
add - docs/manuals/en/style_guide/source/BareosSpecificFormatting/Limitation.rst Diff File
add - docs/manuals/en/style_guide/source/BareosSpecificFormatting/Release.rst Diff File
add - docs/manuals/en/style_guide/source/BareosSpecificFormatting/Ticket.rst Diff File
add - docs/manuals/en/style_guide/source/CommonNames.rst Diff File
add - docs/manuals/en/style_guide/source/Gotchas.rst Diff File
add - docs/manuals/en/style_guide/source/SpecificFormatting.rst Diff File
add - docs/manuals/en/style_guide/source/_extensions Diff File
rm - docs/manuals/en/style_guide/source/bareos.rst Diff File
rm - docs/manuals/en/style_guide/source/conf.py Diff File
add - docs/manuals/en/style_guide/source/conf.py Diff File
add - docs/manuals/en/style_guide/source/example/code-block-bareosconfig.rst.inc Diff File
add - docs/manuals/en/style_guide/source/example/code-block-bareoslog.rst.inc Diff File
add - docs/manuals/en/style_guide/source/example/code-block-bconsole-configure-add.rst.inc Diff File
add - docs/manuals/en/style_guide/source/example/code-block-bnf.rst.inc Diff File
add - docs/manuals/en/style_guide/source/example/code-block-cfg-mysql.rst.inc Diff File
add - docs/manuals/en/style_guide/source/example/code-block-shell-session.rst.inc Diff File
add - docs/manuals/en/style_guide/source/example/code-block-sql-create-index.rst.inc Diff File
add - docs/manuals/en/style_guide/source/example/github-commit.rst.inc Diff File
add - docs/manuals/en/style_guide/source/example/github-pull-request.rst.inc Diff File
add - docs/manuals/en/style_guide/source/example/limitation-vm-configuration.rst.inc Diff File
add - docs/manuals/en/style_guide/source/example/logfile.rst.inc Diff File
add - docs/manuals/en/style_guide/source/example/os.rst.inc Diff File
add - docs/manuals/en/style_guide/source/example/releasenotes-template.rst.inc Diff File
add - docs/manuals/en/style_guide/source/example/releasenotes.rst.inc Diff File
add - docs/manuals/en/style_guide/source/example/sinceVersion-configuration-scheme.rst.inc Diff File
add - docs/manuals/en/style_guide/source/example/ticket.rst.inc Diff File
add - docs/manuals/en/style_guide/source/example/urls.rst.inc Diff File
add - docs/manuals/en/style_guide/source/get-version.sh Diff File
rm - docs/manuals/en/style_guide/source/images.rst Diff File
rm - docs/manuals/en/style_guide/source/important_text.rst Diff File
mod - docs/manuals/en/style_guide/source/index.rst Diff File
rm - docs/manuals/en/style_guide/source/naming.rst Diff File
rm - docs/manuals/en/style_guide/source/releases.rst Diff File
rm - docs/manuals/en/style_guide/source/seldom_text.rst Diff File
rm - docs/manuals/en/style_guide/source/trouble.rst Diff File

bareos-18.2 f527eae2

2019-03-16 16:16

joergs

Ported: N/A

Details Diff
docs (Sphinx): added roles and NDMP substitutions

Adapted limitation directive: show limitation as admonition.

Added roles:
* bcommand
* os
* sinceVersion
* ticket

Added NDMP substitutions.

Configure issue extension to refer to our Github project https://github.com/bareos/bareos/.
mod - docs/manuals/en/new_main_reference/latex-scan.py Diff File
mod - docs/manuals/en/new_main_reference/source/_extensions/bareos-ext.py Diff File
mod - docs/manuals/en/new_main_reference/source/_extensions/limitation.py Diff File
mod - docs/manuals/en/new_main_reference/source/conf.py Diff File

bareos-18.2 d99ed76b

2019-03-15 15:33

joergs

Ported: N/A

Details Diff
docs (Latex2Sphinx): use Bareos specific syntax highlighting

and increase the usage of :config:option:.
mod - docs/manuals/en/new_main_reference/latex-scan.py Diff File

bareos-18.2 b0bbd9d7

2019-03-15 15:30

joergs

Ported: N/A

Details Diff
docs (Sphinx): rename extensions to _extensions

This is done, to make RST contents better distinguishable from other items.
mod - docs/manuals/en/new_main_reference/source/conf.py Diff File

bareos-18.2 c8007161

2019-03-15 15:28

joergs

Ported: N/A

Details Diff
docs (Sphinx): move autogenerated into include subdirectory
add - docs/manuals/en/new_main_reference/source/autogenerated Diff File

bareos-18.2 67cec37a

2019-03-15 15:22

joergs

Ported: N/A

Details Diff
docs (Sphinx): added Bareos specific lexer for syntax highlighting
mod - docs/manuals/en/new_main_reference/source/conf.py Diff File
add - docs/manuals/en/new_main_reference/source/extensions/bareos_lexers.py Diff File

master 76104e4d

2019-03-15 14:57

arogge_adm

Ported: N/A

Details Diff
improve code based on franku's review

- actually use std::string instead of char*
- use a reference to VolSessionInfo
- add str_to_uint16()/str_to_uint32()
mod - core/src/cats/cats.h Diff File
mod - core/src/cats/sql_get.cc Diff File
mod - core/src/dird/ndmp_dma_restore_NDMP_NATIVE.cc Diff File
mod - core/src/lib/edit.h Diff File
mod - core/src/lib/volume_session_info.h Diff File

bareos-18.2 d1c50079

2019-03-15 14:57

arogge_adm

Ported: N/A

Details Diff
improve code based on franku's review

- actually use std::string instead of char*
- use a reference to VolSessionInfo
- add str_to_uint16()/str_to_uint32()
mod - core/src/cats/cats.h Diff File
mod - core/src/cats/sql_get.cc Diff File
mod - core/src/dird/ndmp_dma_restore_NDMP_NATIVE.cc Diff File
mod - core/src/lib/edit.h Diff File
mod - core/src/lib/volume_session_info.h Diff File

master a3affbea

2019-03-15 13:49

arogge_adm


Committer: GitHub

Ported: N/A

Details Diff
Merge pull request 0000159 from bareos/dev/arogge/master/acl-buildflag

cmake: ignore acl setting on win32
mod - core/CMakeLists.txt Diff File

master 3ac644bb

2019-03-14 11:50

arogge_adm

Ported: N/A

Details Diff
cmake: disable acl on win32 by default

a previous patch broke win32 builds when it failed
a build with acl enabled, but libacl was not
available.
As win32 does not require libacl to support acl
we simply ignore wether or not libacl is available
on win32.
mod - core/CMakeLists.txt Diff File

master a2014835

2019-03-14 10:28

arogge_adm

Ported: N/A

Details Diff
dird: redesign GetNdmpEnvironmentString() API

Fixes 0001056: NDMP restore on 16.2.5 and above does
not fill NDMP environment correctly

Previously one overload of the function
GetNdmpEnvironmentString() wanted a JobDbRecord*
and expected jr->VolSessionId and jr->VolSessionTime
to contain the values for the volume from which the
restore happens. These had to be filled manually
before calling GetNdmlEnvironmentString() which had
not been done since 16.2.5 resulting in 0001056.

This patch now redesigns the API for all overloads
of GetNdmpEnviromentString() to make it harder
to misuse.

We also add a new struct VolumeSessionInfo to wrap
a pair of VolumeSessionId and VolumeSessionTime.
These two numbers are only meaningful together, so
they now have their own container.
Affected Issues
0001056
mod - core/src/cats/cats.h Diff File
mod - core/src/cats/sql_get.cc Diff File
mod - core/src/dird/ndmp_dma_restore_NDMP_BAREOS.cc Diff File
mod - core/src/dird/ndmp_dma_restore_NDMP_NATIVE.cc Diff File
add - core/src/lib/volume_session_info.h Diff File

bareos-18.2 e514ec5b

2019-03-14 10:28

arogge_adm

Ported: N/A

Details Diff
dird: redesign GetNdmpEnvironmentString() API

Fixes 0001056: NDMP restore on 16.2.5 and above does
not fill NDMP environment correctly

Previously one overload of the function
GetNdmpEnvironmentString() wanted a JobDbRecord*
and expected jr->VolSessionId and jr->VolSessionTime
to contain the values for the volume from which the
restore happens. These had to be filled manually
before calling GetNdmlEnvironmentString() which had
not been done since 16.2.5 resulting in 0001056.

This patch now redesigns the API for all overloads
of GetNdmpEnviromentString() to make it harder
to misuse.

We also add a new struct VolumeSessionInfo to wrap
a pair of VolumeSessionId and VolumeSessionTime.
These two numbers are only meaningful together, so
they now have their own container.
Affected Issues
0001056
mod - core/src/cats/cats.h Diff File
mod - core/src/cats/sql_get.cc Diff File
mod - core/src/dird/ndmp_dma_restore_NDMP_BAREOS.cc Diff File
mod - core/src/dird/ndmp_dma_restore_NDMP_NATIVE.cc Diff File
add - core/src/lib/volume_session_info.h Diff File

master cfc97d3f

2019-03-10 14:52

pstorz


Committer: franku

Ported: N/A

Details Diff
systemtests: optimize multiplied-device-test

- Only run one backup and restore run
- enable parallel run with other tests
mod - systemtests/tests/multiplied-device-test/etc/bareos/bareos-dir.d/director/bareos-dir.conf.in Diff File
mod - systemtests/tests/multiplied-device-test/etc/bareos/bareos-fd.d/client/myself.conf.in Diff File
mod - systemtests/tests/multiplied-device-test/etc/bareos/bareos-sd.d/storage/bareos-sd.conf.in Diff File
mod - systemtests/tests/multiplied-device-test/testrunner Diff File

bareos-18.2 ed3a293d

2019-03-10 14:17

joergs

Ported: N/A

Details Diff
docs (Latex): removed BareosMainReference from package
mod - docs/debian/docs Diff File
 First  Prev  1 2 3 ... 60 ... 120 ... 180 ... 240 ... 300 ... 303 304 305 306 307 308 309 ... 360 ... 420 ... 480 ... 540 ... 600 ... 610 611 612  Next  Last