]> git.sur5r.net Git - bacula/bacula/log
bacula/bacula
17 years agoebl Fix runscript to always execute command after all job type.
Eric Bollengier [Sat, 9 Dec 2006 13:54:30 +0000 (13:54 +0000)]
ebl  Fix runscript to always execute command after all job type.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3776 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoFinal changes
Kern Sibbald [Fri, 8 Dec 2006 14:32:11 +0000 (14:32 +0000)]
Final changes

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3775 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agokes Mark build-depkgs-mingw3 executable in configure process.
Kern Sibbald [Fri, 8 Dec 2006 14:27:10 +0000 (14:27 +0000)]
kes  Mark build-depkgs-mingw3 executable in configure process.
kes  Update autoconf/config.h.in to include LOCALEDIR
kes  Undefine NLS settings for wxWidgets as there is a conflict with
     their way of doing things.
kes  Implement a rpool and rpool_source in jcr.h for Migration jobs.
kes  Change a bunch of ->hdr.name to ->name()
kes  Straighten out handling of read and write pools for Migration, including
     getting the code in the proper order.
kes  Improve migration error messages and debug output.
kes  Shorten code path in migration if nothing found to do.
kes  Implement read/write pool in migration job report.
kes  Move ua_run.c select_job_level code into a subroutine (readability).
kes  Move ua_run.c display_job_parameters into a subroutine.
kes  Do not bash dcr->VolumeName in get_volume_info() because it makes
     restore dependent on a valid catalog containing the Volume name.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3774 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoUpdate migration tests
Kern Sibbald [Fri, 8 Dec 2006 13:12:27 +0000 (13:12 +0000)]
Update migration tests

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3773 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoRename cats_pgsql to cats_postgresql and cats_sqlite to cats_sqlite3. This makes...
Robert Nelson [Fri, 8 Dec 2006 06:49:38 +0000 (06:49 +0000)]
Rename cats_pgsql to cats_postgresql and cats_sqlite to cats_sqlite3.  This makes manual installation in the regression scripts easier.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3772 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoUpdate wxWidgets library.
Robert Nelson [Fri, 8 Dec 2006 00:46:28 +0000 (00:46 +0000)]
Update wxWidgets library.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3771 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoFix typo.
Robert Nelson [Fri, 8 Dec 2006 00:21:31 +0000 (00:21 +0000)]
Fix typo.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3770 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoUse SQLite 3.3.8 in both build environments.
Robert Nelson [Fri, 8 Dec 2006 00:15:41 +0000 (00:15 +0000)]
Use SQLite 3.3.8 in both build environments.

Update to MySQL 5.0.27 since 5.0.22 is no longer available.

Update wxWidgets to 2.7.0 in MinGW environment to match msvc build.

Add new cmd script tools dependency.

Add DVD burning tools.

Add missing make_sqlite3_tables.sql to installer.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3769 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoFinal changes
Kern Sibbald [Thu, 7 Dec 2006 08:08:10 +0000 (08:08 +0000)]
Final changes

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3768 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoReally cleanup gigaslam
Kern Sibbald [Wed, 6 Dec 2006 22:00:10 +0000 (22:00 +0000)]
Really cleanup gigaslam

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3767 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoclean gigaslam
Kern Sibbald [Wed, 6 Dec 2006 21:54:36 +0000 (21:54 +0000)]
clean gigaslam

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3766 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoFix fr.po
Kern Sibbald [Wed, 6 Dec 2006 21:19:22 +0000 (21:19 +0000)]
Fix fr.po

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3765 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoebl 974 messages traduits, 217 traductions approximatives, 1901 messages non-traduits.
Eric Bollengier [Wed, 6 Dec 2006 21:12:03 +0000 (21:12 +0000)]
ebl  974 messages traduits, 217 traductions approximatives, 1901 messages non-traduits.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3764 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoFinal changes
Kern Sibbald [Wed, 6 Dec 2006 19:25:46 +0000 (19:25 +0000)]
Final changes

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3763 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agokes Put make_catalog_backup SQL_BINDIR in an environment variable to
Kern Sibbald [Wed, 6 Dec 2006 18:30:08 +0000 (18:30 +0000)]
kes  Put make_catalog_backup SQL_BINDIR in an environment variable to
     make it easier for the user to change.
kes  Fail any backup job that tries to use encryption and sparse options.
     Hopefully this is a temporary change.
kes  Correct the EndJob return string for non-backup jobs.
kes  Review the encryption restore code.
kes  Implement a new encryption regression test with compression.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3762 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoUpdate
Kern Sibbald [Wed, 6 Dec 2006 18:22:53 +0000 (18:22 +0000)]
Update

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3761 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoFinal changes
Kern Sibbald [Wed, 6 Dec 2006 09:26:23 +0000 (09:26 +0000)]
Final changes

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3760 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoFinal changes
Kern Sibbald [Wed, 6 Dec 2006 09:02:29 +0000 (09:02 +0000)]
Final changes

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3759 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agokes Modify migrate not to fail if nothing found to migrate.
Kern Sibbald [Wed, 6 Dec 2006 08:39:18 +0000 (08:39 +0000)]
kes  Modify migrate not to fail if nothing found to migrate.
kes  Add #undef HAVE_OPENSSL, HAVE_TLS, HAVE_CYRPTO to autoconf/config.h.in
     because they were not always set correctly.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3758 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoebl update
Eric Bollengier [Tue, 5 Dec 2006 18:03:23 +0000 (18:03 +0000)]
ebl  update

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3757 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoebl add media filter to display_media
Eric Bollengier [Tue, 5 Dec 2006 18:02:31 +0000 (18:02 +0000)]
ebl  add media filter to display_media

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3756 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoUpdate configure.in to include python 2.5 search.
Kern Sibbald [Tue, 5 Dec 2006 10:47:18 +0000 (10:47 +0000)]
Update configure.in to include python 2.5 search.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3755 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoBack out unwanted migration change reported by Richard Mortimer.
Kern Sibbald [Tue, 5 Dec 2006 08:19:50 +0000 (08:19 +0000)]
Back out unwanted migration change reported by Richard Mortimer.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3754 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoUpdate
Kern Sibbald [Tue, 5 Dec 2006 08:17:52 +0000 (08:17 +0000)]
Update

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3753 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoebl fix params of display_media
Eric Bollengier [Mon, 4 Dec 2006 18:53:54 +0000 (18:53 +0000)]
ebl  fix params of display_media

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3752 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoebl update
Eric Bollengier [Mon, 4 Dec 2006 18:43:29 +0000 (18:43 +0000)]
ebl  update

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3751 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoebl add mediatype filter to pool view
Eric Bollengier [Mon, 4 Dec 2006 18:42:32 +0000 (18:42 +0000)]
ebl  add mediatype filter to pool view

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3750 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoUpdate ChangeLog + ReleaseNotes
Kern Sibbald [Mon, 4 Dec 2006 18:17:48 +0000 (18:17 +0000)]
Update ChangeLog + ReleaseNotes

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3749 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoUpdate ChangeLog + ReleaseNotes
Kern Sibbald [Mon, 4 Dec 2006 18:14:28 +0000 (18:14 +0000)]
Update ChangeLog + ReleaseNotes

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3748 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agokes Make migration with nothing to do set normal termination.
Kern Sibbald [Mon, 4 Dec 2006 17:25:18 +0000 (17:25 +0000)]
kes  Make migration with nothing to do set normal termination.
kes  Change message when job manually started to say Job queued. ...

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3747 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoUpdate debug output
Kern Sibbald [Mon, 4 Dec 2006 13:01:46 +0000 (13:01 +0000)]
Update debug output

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3746 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agokes Add job report indication of whether or not VSS and Encryption were
Kern Sibbald [Mon, 4 Dec 2006 13:00:01 +0000 (13:00 +0000)]
kes  Add job report indication of whether or not VSS and Encryption were
     used by the FD.
kes  Modify sparseBlock variable name to make the code clearer.
kes  Add more sparse tests to regress using gigaslam sparse file
     generator.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3745 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoFix FileSet options + add gigaslam tests
Kern Sibbald [Mon, 4 Dec 2006 12:56:19 +0000 (12:56 +0000)]
Fix FileSet options + add gigaslam tests

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3744 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agokes Enable data encryption code.
Kern Sibbald [Mon, 4 Dec 2006 09:39:26 +0000 (09:39 +0000)]
kes  Enable data encryption code.
kes  Add gigaslam.c to src/tools. It creates a 1GB file that contains
     only two blocks -- i.e. it is a real sparse file.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3743 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoAdd real sparse tests
Kern Sibbald [Mon, 4 Dec 2006 09:35:45 +0000 (09:35 +0000)]
Add real sparse tests

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3742 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoUse the full file list now that the regression test passes
Landon Fuller [Mon, 4 Dec 2006 04:19:58 +0000 (04:19 +0000)]
Use the full file list now that the regression test passes

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3741 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoRe-implemented the block-preserving encryption restore. In the process, fixed all...
Landon Fuller [Mon, 4 Dec 2006 04:14:34 +0000 (04:14 +0000)]
Re-implemented the block-preserving encryption restore. In the process, fixed all known bugs in handling non-sparse file restoration. Changes include:
   - Removed the "chunk_size" implementation
   - Renamed crypto_count to crypto_buf_len, and crypto_size to crypto_packet_len.
   - Removed unnecessary looping in extract_data()
   - Broke out sparse block handling into its own function
   - Laid some groundwork for adding sparse + encryption support

Testing:
   - Encryption regression tests now pass.
   - Tested sparse file handling changes without encryption enabled.

Known encryption-related bugs remaining:
   - Restoring resource forks is broken; need to set up a seperate decryption context.
   - The latest changes to digest handling with sparse files breaks file signatures.
   - Sparse files are not currently supported when encrypting.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3740 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoMuch smaller, and thus much faster, crypto keys for the regression tests.
Landon Fuller [Mon, 4 Dec 2006 03:21:27 +0000 (03:21 +0000)]
Much smaller, and thus much faster, crypto keys for the regression tests.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3739 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agokes Enable disk seeking on restore.
Kern Sibbald [Sun, 3 Dec 2006 20:01:09 +0000 (20:01 +0000)]
kes  Enable disk seeking on restore.
kes  Implement the SD 'Block Positioning = yes|no' directive. This
     allows the user to turn off block level seeking, but restores
     will be much slower.
kes  Change the word illegal to read invalid in a few places.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3738 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agokes Fix Win32 build, which broke when I added parse_args_only in
Kern Sibbald [Sun, 3 Dec 2006 16:55:06 +0000 (16:55 +0000)]
kes  Fix Win32 build, which broke when I added parse_args_only in
     lib. I'm not sure I got the entry point right for msvc.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3737 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agokes Turn off data encryption. It can be enabled by defining
Kern Sibbald [Sun, 3 Dec 2006 15:48:18 +0000 (15:48 +0000)]
kes  Turn off data encryption. It can be enabled by defining
     DATA_ENCRYPTION in src/version.h and recompiling.
kes  Implement flag to turn off data encryption feature.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3736 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agosplit long lines
Kern Sibbald [Sun, 3 Dec 2006 09:18:11 +0000 (09:18 +0000)]
split long lines

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3735 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agokes Move unserial code in restore.c to a subroutine. Add a bit of debug
Kern Sibbald [Sun, 3 Dec 2006 09:00:00 +0000 (09:00 +0000)]
kes  Move unserial code in restore.c to a subroutine. Add a bit of debug
     code.
kes  Rework a bit of code in backup.c to handle sparse blocks correctly.
     The main problem was that signatures were being generated on blocks
     of zeros, which is unnecessary.
02Dec06
kes  Fix scanner (next_arg) to handle leading double quote correctly.
kes  Modify cd command in restore tree to look at full argument without
     keywords.  This fixes bug #716.
01Dec06
kes  Do not update Migrated Job type if migration does not terminate
     normally. This fixes bug #719.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3734 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoMerge unix regress changes into Windows port.
Robert Nelson [Sat, 2 Dec 2006 14:18:54 +0000 (14:18 +0000)]
Merge unix regress changes into Windows port.

Port migration tests.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3733 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoUpdate SQLite version for MinGW build to match latest used in MSVC build.
Robert Nelson [Sat, 2 Dec 2006 14:13:02 +0000 (14:13 +0000)]
Update SQLite version for MinGW build to match latest used in MSVC build.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3732 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoUpdate
Kern Sibbald [Fri, 1 Dec 2006 20:34:52 +0000 (20:34 +0000)]
Update

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3731 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoDo not update Migrated Job type if migration does not terminate
Kern Sibbald [Fri, 1 Dec 2006 20:31:59 +0000 (20:31 +0000)]
Do not update Migrated Job type if migration does not terminate
     normally. This fixes bug #719.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3730 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agokes Update ReleaseNotes
Kern Sibbald [Fri, 1 Dec 2006 20:20:58 +0000 (20:20 +0000)]
kes  Update ReleaseNotes
kes  Purge Job records from the catalog for Migration. This was
     not properly done previously. This fixes bug #718.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3729 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoUpdate
Kern Sibbald [Fri, 1 Dec 2006 16:50:48 +0000 (16:50 +0000)]
Update

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3728 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoAdd data encryption test
Kern Sibbald [Fri, 1 Dec 2006 16:14:53 +0000 (16:14 +0000)]
Add data encryption test

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3727 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoUpdate
Kern Sibbald [Fri, 1 Dec 2006 14:41:47 +0000 (14:41 +0000)]
Update

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3726 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoebl fix
Eric Bollengier [Fri, 1 Dec 2006 14:12:54 +0000 (14:12 +0000)]
ebl  fix

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3725 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoebl fix bad SQL timestamp in M_CATALOG
Eric Bollengier [Fri, 1 Dec 2006 13:14:49 +0000 (13:14 +0000)]
ebl  fix bad SQL timestamp in M_CATALOG

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3724 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoAdd MinGW changes missed from the previous commit.
Robert Nelson [Fri, 1 Dec 2006 12:32:58 +0000 (12:32 +0000)]
Add MinGW changes missed from the previous commit.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3723 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoAdd Windows port of the regression tests.
Robert Nelson [Fri, 1 Dec 2006 11:54:09 +0000 (11:54 +0000)]
Add Windows port of the regression tests.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3722 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoAdd new files associated with previous commit.
Robert Nelson [Fri, 1 Dec 2006 11:33:49 +0000 (11:33 +0000)]
Add new files associated with previous commit.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3721 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoebl add start /B for win32
Eric Bollengier [Fri, 1 Dec 2006 09:11:40 +0000 (09:11 +0000)]
ebl  add start /B for win32

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3720 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoebl fix missing where argument
Eric Bollengier [Fri, 1 Dec 2006 09:09:27 +0000 (09:09 +0000)]
ebl  fix missing where argument

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3719 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoFix path issues.
Robert Nelson [Fri, 1 Dec 2006 08:45:40 +0000 (08:45 +0000)]
Fix path issues.

Fix SQLite3 build error.

Don't enable unnecessary privileges, its a security problem.

Fix bextract and bscan on Windows.

Fix comment typos.

Fix copyright changes in the tray-monitor so it builds.

Add SQLite3 support to the Windows build.

Remove bdb support from Windows version.

Reworked the installer to facilitate the regression tests.

Improved the database support in the installer.

Automatically detect installed database and program paths.

Start external programs minimized so they don't bother the user.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3718 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoUpdate
Kern Sibbald [Fri, 1 Dec 2006 07:52:57 +0000 (07:52 +0000)]
Update

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3717 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agokes Initialize msg_type to M_INFO in migration. Pointed out by
Kern Sibbald [Fri, 1 Dec 2006 07:51:55 +0000 (07:51 +0000)]
kes  Initialize msg_type to M_INFO in migration. Pointed out by
     Robert Nelson.
kes  Add some fflush() statements for debug output. This should not
     really be necessary and defeats buffering but users continue
     to complain.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3716 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoFix a logic error that resulted in blank md5 sums and encryption signatures to be...
Landon Fuller [Tue, 28 Nov 2006 07:07:42 +0000 (07:07 +0000)]
Fix a logic error that resulted in blank md5 sums and encryption signatures to be saved for non-file entities, eg, directories.
This was non-fatal, but obviously incorrect, in addition to being a waste of cycles and space.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3715 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoFixed two bugs, the first of which is mine:
Landon Fuller [Tue, 28 Nov 2006 07:02:34 +0000 (07:02 +0000)]
Fixed two bugs, the first of which is mine:
    - If a signed digest was incorrectly written for a non-file, do not leak or attempt to validate the digest -- ignore it.
    - If no new data is encrypted, but the output buffer is not empty, there is still data that needs to be written -- don't exit.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3714 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoEverywhere this format string is used, it's passed an integer, not a string.
Landon Fuller [Tue, 28 Nov 2006 04:00:17 +0000 (04:00 +0000)]
Everywhere this format string is used, it's passed an integer, not a string.
Change the format string accordingly. This fixes segfault-on-usage().

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3713 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoTry to update po
Kern Sibbald [Mon, 27 Nov 2006 10:18:26 +0000 (10:18 +0000)]
Try to update po

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3712 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoTry to update po
Kern Sibbald [Mon, 27 Nov 2006 10:18:25 +0000 (10:18 +0000)]
Try to update po

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3711 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoFinal changes
Kern Sibbald [Mon, 27 Nov 2006 10:06:22 +0000 (10:06 +0000)]
Final changes

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3710 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agokes More copyright changes.
Kern Sibbald [Mon, 27 Nov 2006 10:03:06 +0000 (10:03 +0000)]
kes  More copyright changes.
kes  Make sure we don't detach from the despool read device since it
     is a temporary structure where the condition variables are not
     initialized.  Bug #711.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3709 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoebl add mediatype to display_media
Eric Bollengier [Sun, 26 Nov 2006 22:58:57 +0000 (22:58 +0000)]
ebl  add mediatype to display_media

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3708 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoebl fix
Eric Bollengier [Sun, 26 Nov 2006 22:24:32 +0000 (22:24 +0000)]
ebl  fix

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3707 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoAdd Bacula version+date to Client record. This is a very minor
Kern Sibbald [Sun, 26 Nov 2006 16:01:26 +0000 (16:01 +0000)]
Add Bacula version+date to Client record. This is a very minor
     security problem in that passing the version facilitates a hacker's
     life, but it will make support easier.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3706 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoUpdate disk seek debug code
Kern Sibbald [Sun, 26 Nov 2006 14:30:46 +0000 (14:30 +0000)]
Update disk seek debug code

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3705 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoUpdate
Kern Sibbald [Sun, 26 Nov 2006 14:29:45 +0000 (14:29 +0000)]
Update

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3704 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoUpdate version
Kern Sibbald [Sun, 26 Nov 2006 09:27:27 +0000 (09:27 +0000)]
Update version

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3703 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoImplement fixes to make disk seeking work. Currently turned
Kern Sibbald [Sun, 26 Nov 2006 09:26:55 +0000 (09:26 +0000)]
Implement fixes to make disk seeking work.  Currently turned
     off in version.h pending reserch on what problems it will cause
     because of the previous bsnprinf() sign extension bug.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3702 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoExtraction must be disabled here, as it can not be done without access to the keys.
Landon Fuller [Sat, 25 Nov 2006 18:57:54 +0000 (18:57 +0000)]
Extraction must be disabled here, as it can not be done without access to the keys.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3701 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoUpdates for debugging disk seek
Kern Sibbald [Sat, 25 Nov 2006 15:55:25 +0000 (15:55 +0000)]
Updates for debugging disk seek

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3700 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoebl fix
Eric Bollengier [Sat, 25 Nov 2006 14:41:01 +0000 (14:41 +0000)]
ebl  fix

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3699 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoebl add \n to error message
Eric Bollengier [Sat, 25 Nov 2006 14:23:03 +0000 (14:23 +0000)]
ebl  add \n to error message

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3698 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agokes Add Landon's refactor of restore Feature request to the
Kern Sibbald [Sat, 25 Nov 2006 13:38:03 +0000 (13:38 +0000)]
kes  Add Landon's refactor of restore Feature request to the
     projects file.
kes  Tweak debug levels and messages for examining the disk
     seek problem.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3697 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoUpdate restore-disk-seek
Kern Sibbald [Sat, 25 Nov 2006 13:30:40 +0000 (13:30 +0000)]
Update restore-disk-seek

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3696 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoUpdate
Kern Sibbald [Sat, 25 Nov 2006 12:53:24 +0000 (12:53 +0000)]
Update

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3695 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoebl add fileset link
Eric Bollengier [Fri, 24 Nov 2006 20:09:22 +0000 (20:09 +0000)]
ebl  add fileset link

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3694 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoMore migration cleanup
Kern Sibbald [Fri, 24 Nov 2006 11:34:19 +0000 (11:34 +0000)]
More migration cleanup

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3693 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoupdates
Kern Sibbald [Fri, 24 Nov 2006 11:15:12 +0000 (11:15 +0000)]
updates

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3692 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoCleanup some of the error termination code in migration.
Kern Sibbald [Fri, 24 Nov 2006 11:14:59 +0000 (11:14 +0000)]
Cleanup some of the error termination code in migration.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3691 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agokes Separate read/write source strings to keep track of where
Kern Sibbald [Fri, 24 Nov 2006 09:58:28 +0000 (09:58 +0000)]
kes  Separate read/write source strings to keep track of where
     storage devices are used in a job.
kes  Implement a new method of keeping track of which storage
     device is used in a Job.  USTORE keeps both a pointer to the
     resource and to the source string.
kes  Modify all code to use new storage set subroutines in job.c
kes  Modify migrate.c so that the definitive selection of the storage
     resource is done in the do_migration_init() routine prior to
     the job going into the job queue.  This permits accurate
     deadlock detection (same read and write storage resource).
kes  Remove bfill from btape (I think it was a left over stub).

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3690 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoUpdate
Kern Sibbald [Thu, 23 Nov 2006 22:26:18 +0000 (22:26 +0000)]
Update

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3689 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoUpdate date
Kern Sibbald [Wed, 22 Nov 2006 22:51:14 +0000 (22:51 +0000)]
Update date

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3688 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agokes Make sure that the storage for a job is pulled first from
Kern Sibbald [Wed, 22 Nov 2006 15:48:29 +0000 (15:48 +0000)]
kes  Make sure that the storage for a job is pulled first from
     the Pool and if not from the Job.
kes  Ensure that either the Pool or the Job specifies a Storage
     resource.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3687 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoUpdate copyright + fix a few Win32 warnings
Kern Sibbald [Wed, 22 Nov 2006 14:48:30 +0000 (14:48 +0000)]
Update copyright + fix a few Win32 warnings

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3686 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoUpdate copyright
Kern Sibbald [Wed, 22 Nov 2006 14:26:40 +0000 (14:26 +0000)]
Update copyright

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3685 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoUpdate copyright
Kern Sibbald [Wed, 22 Nov 2006 13:27:35 +0000 (13:27 +0000)]
Update copyright

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3684 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoLicense updates
Kern Sibbald [Wed, 22 Nov 2006 12:57:00 +0000 (12:57 +0000)]
License updates

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3683 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoUpdate copyright
Kern Sibbald [Wed, 22 Nov 2006 11:47:10 +0000 (11:47 +0000)]
Update copyright

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3682 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoAdd migration-jobspan-test
Kern Sibbald [Wed, 22 Nov 2006 08:18:33 +0000 (08:18 +0000)]
Add migration-jobspan-test

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3681 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoebl add Error status in update volume=xxx status=yyyy
Eric Bollengier [Tue, 21 Nov 2006 21:13:05 +0000 (21:13 +0000)]
ebl  add Error status in update volume=xxx status=yyyy

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3680 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoebl remove Purged/Recycled status in update media
Eric Bollengier [Tue, 21 Nov 2006 21:10:14 +0000 (21:10 +0000)]
ebl  remove Purged/Recycled status in update media

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3679 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoebl fix
Eric Bollengier [Tue, 21 Nov 2006 21:06:09 +0000 (21:06 +0000)]
ebl  fix

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3678 91ce42f0-d328-0410-95d8-f526ca767f89

17 years agoUpdate copyright
Kern Sibbald [Tue, 21 Nov 2006 20:20:17 +0000 (20:20 +0000)]
Update copyright

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3677 91ce42f0-d328-0410-95d8-f526ca767f89