]> git.sur5r.net Git - bacula/rescue/log
bacula/rescue
17 years agoFix job byte reporting -- the digest code runs in verify.c and increases this value.
Landon Fuller [Sun, 10 Dec 2006 01:37:49 +0000 (01:37 +0000)]
Fix job byte reporting -- the digest code runs in verify.c and increases this value.
The better solution is to digest the stream as we receive it, thus removing the need to re-read from disk at all, but that requires more extensive and potentially destabilizing changes.

17 years agoThis commit fixes backup and restore of HFS+ resource forks.
Landon Fuller [Sat, 9 Dec 2006 23:50:00 +0000 (23:50 +0000)]
This commit fixes backup and restore of HFS+ resource forks.
Unrelated to the above, I added a long-missing 'break' statement in HFS+ attribute handling that resulted in restore failures.

17 years agoupdate
Eric Bollengier [Sat, 9 Dec 2006 20:35:03 +0000 (20:35 +0000)]
update

17 years agoFix missing end enumerate
Kern Sibbald [Sat, 9 Dec 2006 18:14:41 +0000 (18:14 +0000)]
Fix missing end enumerate

17 years agofix underscores
Kern Sibbald [Sat, 9 Dec 2006 18:05:15 +0000 (18:05 +0000)]
fix underscores

17 years agofix underscores
Kern Sibbald [Sat, 9 Dec 2006 18:05:14 +0000 (18:05 +0000)]
fix underscores

17 years agoUpdate patch to match kes change in environment variable.
Scott Barninger [Sat, 9 Dec 2006 15:33:00 +0000 (15:33 +0000)]
Update patch to match kes change in environment variable.

17 years agoebl update copyright
Eric Bollengier [Sat, 9 Dec 2006 14:30:15 +0000 (14:30 +0000)]
ebl  update copyright

17 years agoebl update copyright
Eric Bollengier [Sat, 9 Dec 2006 14:25:02 +0000 (14:25 +0000)]
ebl  update copyright

17 years agoebl Fix runscript to always execute command after all job type.
Eric Bollengier [Sat, 9 Dec 2006 13:59:40 +0000 (13:59 +0000)]
ebl  Fix runscript to always execute command after all job type.

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.

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

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.

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

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.

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

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

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.

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

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

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

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

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.

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

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.

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

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

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

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.

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

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

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.

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.

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

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

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

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

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

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

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. ...

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

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.

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

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.

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

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

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.

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.

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.

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.

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.

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

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.

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.

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.

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

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.

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.

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

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

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

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

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

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.

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.

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.

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

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

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.

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

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.

18 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.

18 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.

18 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().

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

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

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

18 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.

18 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

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

18 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.

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

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

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

18 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.

18 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.

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

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

18 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

18 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.

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

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

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

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

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

18 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.

18 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).

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

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

18 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.