Changesets: bareos

bareos-13.2 8d83aaf7

2013-07-31 01:41

Marco van Wieringen

Ported: N/A

Details Diff
Fix restore handling of NDMP when using wrong storage.

For a NDMP restore its needed that the storage passed into the restore
job is a storage definition with paired NDMP storage. When this is not
the case the pstore pointer will remain NULL and we crash in the
build_ndmp_job() function. Now we check if we have paired storage
and also changed the cleanup somewhat so we don't try to close the
bootstrap file etc when we didn't open it (which also lead to a
segmentation fault.)
mod - src/dird/ndmp_dma.c Diff File

bareos-13.2 1830e723

2013-07-30 23:41

mvwieringen adm

Ported: N/A

Details Diff
Fix restore handling of NDMP when using wrong storage.

For a NDMP restore its needed that the storage passed into the restore
job is a storage definition with paired NDMP storage. When this is not
the case the pstore pointer will remain NULL and we crash in the
build_ndmp_job() function. Now we check if we have paired storage
and also changed the cleanup somewhat so we don't try to close the
bootstrap file etc when we didn't open it (which also lead to a
segmentation fault.)
mod - src/dird/ndmp_dma.c Diff File

bareos-12.4 8060d4ff

2013-07-30 23:41

mvwieringen adm

Ported: N/A

Details Diff
Fix restore handling of NDMP when using wrong storage.

For a NDMP restore its needed that the storage passed into the restore
job is a storage definition with paired NDMP storage. When this is not
the case the pstore pointer will remain NULL and we crash in the
build_ndmp_job() function. Now we check if we have paired storage
and also changed the cleanup somewhat so we don't try to close the
bootstrap file etc when we didn't open it (which also lead to a
segmentation fault.)
mod - src/dird/ndmp_dma.c Diff File

master 5ab94222

2013-07-30 23:41

mvwieringen adm

Ported: N/A

Details Diff
Fix restore handling of NDMP when using wrong storage.

For a NDMP restore its needed that the storage passed into the restore
job is a storage definition with paired NDMP storage. When this is not
the case the pstore pointer will remain NULL and we crash in the
build_ndmp_job() function. Now we check if we have paired storage
and also changed the cleanup somewhat so we don't try to close the
bootstrap file etc when we didn't open it (which also lead to a
segmentation fault.)
mod - src/dird/ndmp_dma.c Diff File

bareos-13.2 71f22c1e

2013-07-29 18:29

Marco van Wieringen

Ported: N/A

Details Diff
Check if DISTNAME subdir has a Makefile

When trying to install platform specific scripts make sure the
platform specific DISTNAME subdir has a Makefile (which also
checks if the dir even exists.) This should help for platforms
like altlinux where we set the DISTNAME but for which we don't
have any platform specific scripts.
mod - platforms/Makefile.in Diff File

bareos-13.2 6ca5b50a

2013-07-29 16:29

mvwieringen adm

Ported: N/A

Details Diff
Check if DISTNAME subdir has a Makefile

When trying to install platform specific scripts make sure the
platform specific DISTNAME subdir has a Makefile (which also
checks if the dir even exists.) This should help for platforms
like altlinux where we set the DISTNAME but for which we don't
have any platform specific scripts.
mod - platforms/Makefile.in Diff File

bareos-12.4 56f12304

2013-07-29 16:29

mvwieringen adm

Ported: N/A

Details Diff
Check if DISTNAME subdir has a Makefile

When trying to install platform specific scripts make sure the
platform specific DISTNAME subdir has a Makefile (which also
checks if the dir even exists.) This should help for platforms
like altlinux where we set the DISTNAME but for which we don't
have any platform specific scripts.
mod - platforms/Makefile.in Diff File

master d299450b

2013-07-29 16:29

mvwieringen adm

Ported: N/A

Details Diff
Check if DISTNAME subdir has a Makefile

When trying to install platform specific scripts make sure the
platform specific DISTNAME subdir has a Makefile (which also
checks if the dir even exists.) This should help for platforms
like altlinux where we set the DISTNAME but for which we don't
have any platform specific scripts.
mod - platforms/Makefile.in Diff File

bareos-13.2 586d01dc

2013-07-27 11:58

Marco van Wieringen

Ported: N/A

Details Diff
Add some defensive coding.
mod - src/ndmp/ndma_comm_session.c Diff File
mod - src/ndmp/ndma_cops_backreco.c Diff File
mod - src/ndmp/ndma_cops_labels.c Diff File
mod - src/ndmp/ndma_cops_query.c Diff File
mod - src/ndmp/ndma_ctrl_conn.c Diff File
mod - src/ndmp/ndma_ctst_data.c Diff File
mod - src/ndmp/ndma_ctst_mover.c Diff File
mod - src/ndmp/ndma_ctst_subr.c Diff File
mod - src/ndmp/ndml_conn.c Diff File

bareos-13.2 cf053081

2013-07-27 09:58

mvwieringen adm

Ported: N/A

Details Diff
Add some defensive coding.
mod - src/ndmp/ndma_comm_session.c Diff File
mod - src/ndmp/ndma_cops_backreco.c Diff File
mod - src/ndmp/ndma_cops_labels.c Diff File
mod - src/ndmp/ndma_cops_query.c Diff File
mod - src/ndmp/ndma_ctrl_conn.c Diff File
mod - src/ndmp/ndma_ctst_data.c Diff File
mod - src/ndmp/ndma_ctst_mover.c Diff File
mod - src/ndmp/ndma_ctst_subr.c Diff File
mod - src/ndmp/ndml_conn.c Diff File

bareos-12.4 8e531b4c

2013-07-27 09:58

mvwieringen adm

Ported: N/A

Details Diff
Add some defensive coding.
mod - src/ndmp/ndma_comm_session.c Diff File
mod - src/ndmp/ndma_cops_backreco.c Diff File
mod - src/ndmp/ndma_cops_labels.c Diff File
mod - src/ndmp/ndma_cops_query.c Diff File
mod - src/ndmp/ndma_ctrl_conn.c Diff File
mod - src/ndmp/ndma_ctst_data.c Diff File
mod - src/ndmp/ndma_ctst_mover.c Diff File
mod - src/ndmp/ndma_ctst_subr.c Diff File
mod - src/ndmp/ndml_conn.c Diff File

master a4846cf3

2013-07-27 09:58

mvwieringen adm

Ported: N/A

Details Diff
Add some defensive coding.
mod - src/ndmp/ndml_conn.c Diff File
mod - src/ndmp/ndma_ctst_subr.c Diff File
mod - src/ndmp/ndma_ctst_mover.c Diff File
mod - src/ndmp/ndma_ctst_data.c Diff File
mod - src/ndmp/ndma_ctrl_conn.c Diff File
mod - src/ndmp/ndma_cops_query.c Diff File
mod - src/ndmp/ndma_cops_labels.c Diff File
mod - src/ndmp/ndma_cops_backreco.c Diff File
mod - src/ndmp/ndma_comm_session.c Diff File

master aa9861c5

2013-07-26 17:21

joergs


Committer: mvwieringen adm

Ported: N/A

Details Diff
sample sql queries

provide sample sql queries, that can be used by the bconsole query command.

Fixes 0000083: Bareos packages do not contain query.sql

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
Affected Issues
0000083
mod - src/dird/query.sql Diff File

bareos-13.2 21096523

2013-07-26 14:43

Marco van Wieringen

Ported: N/A

Details Diff
Remove no-op assign.

While writing the sd-sd replication we introduced two assignments
which are in essense no-ops (e.g. assigning a value to a variable
where the source is itself.) The optimizer probably filters it but
for the readability lets remove them.
mod - src/dird/migrate.c Diff File

bareos-13.2 c94d46a9

2013-07-26 12:43

mvwieringen adm

Ported: N/A

Details Diff
Remove no-op assign.

While writing the sd-sd replication we introduced two assignments
which are in essense no-ops (e.g. assigning a value to a variable
where the source is itself.) The optimizer probably filters it but
for the readability lets remove them.
mod - src/dird/migrate.c Diff File

master 47959349

2013-07-26 12:43

mvwieringen adm

Ported: N/A

Details Diff
Remove no-op assign.

While writing the sd-sd replication we introduced two assignments
which are in essense no-ops (e.g. assigning a value to a variable
where the source is itself.) The optimizer probably filters it but
for the readability lets remove them.
mod - src/dird/migrate.c Diff File

bareos-13.2 5ad3aa85

2013-07-25 18:26

Marco van Wieringen

Ported: N/A

Details Diff
Fix backup summary.

Always lookup the media record of the last used volume after calling
db_get_job_volume_names() so we always print the right info and not
lookup the media record based on the current content of jcr->VolumeName
which works only for normal backups but not for virtual fulls as there
it will have the name of the last volume that was read for creating the
virtual full. Looking at the migration code it also does a lookup
of the last volume name returned by db_get_job_volume_names() there.

Fixes 0000211: Wrong data/output/calculation in log of "Last Volume Bytes"
and "Volume Session Time" when doing Virtual Full Backups
mod - src/dird/backup.c Diff File
mod - src/dird/ndmp_dma.c Diff File
mod - src/dird/protos.h Diff File
mod - src/dird/vbackup.c Diff File

bareos-13.2 5e6e5bb5

2013-07-25 16:26

mvwieringen adm

Ported: N/A

Details Diff
Fix backup summary.

Always lookup the media record of the last used volume after calling
db_get_job_volume_names() so we always print the right info and not
lookup the media record based on the current content of jcr->VolumeName
which works only for normal backups but not for virtual fulls as there
it will have the name of the last volume that was read for creating the
virtual full. Looking at the migration code it also does a lookup
of the last volume name returned by db_get_job_volume_names() there.

Fixes 0000211: Wrong data/output/calculation in log of "Last Volume Bytes"
and "Volume Session Time" when doing Virtual Full Backups
Affected Issues
0000211
mod - src/dird/backup.c Diff File
mod - src/dird/ndmp_dma.c Diff File
mod - src/dird/protos.h Diff File
mod - src/dird/vbackup.c Diff File

bareos-12.4 8e089206

2013-07-25 16:26

mvwieringen adm

Ported: N/A

Details Diff
Fix backup summary.

Always lookup the media record of the last used volume after calling
db_get_job_volume_names() so we always print the right info and not
lookup the media record based on the current content of jcr->VolumeName
which works only for normal backups but not for virtual fulls as there
it will have the name of the last volume that was read for creating the
virtual full. Looking at the migration code it also does a lookup
of the last volume name returned by db_get_job_volume_names() there.

Fixes 0000211: Wrong data/output/calculation in log of "Last Volume Bytes"
and "Volume Session Time" when doing Virtual Full Backups
Affected Issues
0000211
mod - src/dird/backup.c Diff File
mod - src/dird/ndmp_dma.c Diff File
mod - src/dird/protos.h Diff File
mod - src/dird/vbackup.c Diff File

master 571d210d

2013-07-25 16:26

mvwieringen adm

Ported: N/A

Details Diff
Fix backup summary.

Always lookup the media record of the last used volume after calling
db_get_job_volume_names() so we always print the right info and not
lookup the media record based on the current content of jcr->VolumeName
which works only for normal backups but not for virtual fulls as there
it will have the name of the last volume that was read for creating the
virtual full. Looking at the migration code it also does a lookup
of the last volume name returned by db_get_job_volume_names() there.

Fixes 0000211: Wrong data/output/calculation in log of "Last Volume Bytes"
and "Volume Session Time" when doing Virtual Full Backups
Affected Issues
0000211
mod - src/dird/vbackup.c Diff File
mod - src/dird/protos.h Diff File
mod - src/dird/ndmp_dma.c Diff File
mod - src/dird/backup.c Diff File

master e347c556

2013-07-23 22:45

mvwieringen adm

Ported: N/A

Details Diff
Fix Makefile.in for new plugin layout.
mod - src/plugins/stored/Makefile.in Diff File
mod - src/plugins/filed/Makefile.in Diff File
mod - src/plugins/dird/Makefile.in Diff File

bareos-13.2 71c8a3a7

2013-07-22 01:45

Marco van Wieringen

Ported: N/A

Details Diff
Tweak plugin entry points layout.
mod - src/plugins/dir/example-plugin-dir.c Diff File
mod - src/plugins/dir/python-dir.c Diff File
mod - src/plugins/fd/bpipe-fd.c Diff File
mod - src/plugins/fd/example-plugin-fd.c Diff File
mod - src/plugins/fd/python-fd.c Diff File
mod - src/plugins/fd/test-deltaseq-fd.c Diff File
mod - src/plugins/fd/test-plugin-fd.c Diff File
mod - src/plugins/sd/example-plugin-sd.c Diff File
mod - src/plugins/sd/python-sd.c Diff File

master b18f431a

2013-07-21 23:45

mvwieringen adm

Ported: N/A

Details Diff
Tweak plugin entry points layout.
mod - src/plugins/stored/python-sd.c Diff File
mod - src/plugins/stored/example-plugin-sd.c Diff File
mod - src/plugins/filed/test-plugin-fd.c Diff File
mod - src/plugins/filed/test-deltaseq-fd.c Diff File
mod - src/plugins/filed/python-fd.c Diff File
mod - src/plugins/filed/example-plugin-fd.c Diff File
mod - src/plugins/filed/bpipe-fd.c Diff File
mod - src/plugins/dird/python-dir.c Diff File
mod - src/plugins/dird/example-plugin-dir.c Diff File

bareos-13.2 9df9a40b

2013-07-21 23:45

mvwieringen

Ported: N/A

Details Diff
Tweak plugin entry points layout.
mod - src/plugins/dir/example-plugin-dir.c Diff File
mod - src/plugins/dir/python-dir.c Diff File
mod - src/plugins/fd/bpipe-fd.c Diff File
mod - src/plugins/fd/example-plugin-fd.c Diff File
mod - src/plugins/fd/python-fd.c Diff File
mod - src/plugins/fd/test-deltaseq-fd.c Diff File
mod - src/plugins/fd/test-plugin-fd.c Diff File
mod - src/plugins/sd/example-plugin-sd.c Diff File
mod - src/plugins/sd/python-sd.c Diff File

bareos-13.2 78029224

2013-07-21 15:30

Marco van Wieringen

Ported: N/A

Details Diff
Only have bpipe-fd.c once and use it for UNIX and Windows.
mod - src/plugins/fd/bpipe-fd.c Diff File
mod - src/win32/plugins/fd/Makefile Diff File
rm - src/win32/plugins/fd/bpipe-fd.c Diff File
 First  Prev  1 2 3 ... 60 ... 120 ... 180 ... 240 ... 300 ... 360 ... 420 ... 480 ... 540 ... 600 ... 618 619 620 621 622 623 624 ... 641 642 643  Next  Last