]> git.sur5r.net Git - bacula/rescue/log
bacula/rescue
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.

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.

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.

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

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

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

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

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.

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

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

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.

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

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

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

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.

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.

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

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

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

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.

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

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

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

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

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

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.

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

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

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

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.

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

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

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

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

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

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

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

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

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

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

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

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

17 years agoRemove alloc.c and semlock.c from Windows build.
Robert Nelson [Tue, 21 Nov 2006 17:05:01 +0000 (17:05 +0000)]
Remove alloc.c and semlock.c from Windows build.

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

17 years agoebl fix
Eric Bollengier [Tue, 21 Nov 2006 16:53:03 +0000 (16:53 +0000)]
ebl  fix

17 years agoReplace explicit checks for "/" with calls to IsPathSeparator, strchr with first_path...
Robert Nelson [Tue, 21 Nov 2006 16:45:13 +0000 (16:45 +0000)]
Replace explicit checks for "/" with calls to IsPathSeparator, strchr with first_path_separator and strrchr with last_path_separator.

Use serialization routines for crypto length fix.

Fix 64 bit offset problems on Windows by replacing off_t with new boffset_t.

17 years agoUpdate copyrights
Kern Sibbald [Tue, 21 Nov 2006 16:13:58 +0000 (16:13 +0000)]
Update copyrights

17 years agoFix vsnprintf() problem printing unsigned numbers.
Robert Nelson [Tue, 21 Nov 2006 16:10:00 +0000 (16:10 +0000)]
Fix vsnprintf() problem printing unsigned numbers.

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

17 years agoStart applying new FSFE copyright.
Kern Sibbald [Tue, 21 Nov 2006 12:58:20 +0000 (12:58 +0000)]
Start applying new FSFE copyright.

17 years agoebl fix
Eric Bollengier [Tue, 21 Nov 2006 12:34:13 +0000 (12:34 +0000)]
ebl  fix

17 years agoebl 938 messages traduits, 135 traductions approximatives, 1787 messages non-traduits.
Eric Bollengier [Mon, 20 Nov 2006 19:16:54 +0000 (19:16 +0000)]
ebl  938 messages traduits, 135 traductions approximatives, 1787 messages non-traduits.

18 years agoebl fix
Eric Bollengier [Mon, 20 Nov 2006 15:38:35 +0000 (15:38 +0000)]
ebl  fix

18 years agoebl fix french words
Eric Bollengier [Mon, 20 Nov 2006 15:00:01 +0000 (15:00 +0000)]
ebl  fix french words

18 years agoAdd additional error messages in acquiring a drive for read.
Kern Sibbald [Mon, 20 Nov 2006 13:30:22 +0000 (13:30 +0000)]
Add additional error messages in acquiring a drive for read.

18 years agokes Make WritePartAfterJob the default so that the last DVD part
Kern Sibbald [Mon, 20 Nov 2006 08:02:15 +0000 (08:02 +0000)]
kes  Make WritePartAfterJob the default so that the last DVD part
     always gets written to the DVD by default.
kes  Add additional error messages in migration.
kes  Suppress redundant error messages in migration (possibly more to do).
kes  Apply Martin's fix (updated to 1.39) that takes into account
     run storage overrides in the Director status display.
kes  Implement, but turn off the submitted code that sets the EOT
     model on FreeBSD machines. Turning on this code is too risky at
     this point in the development.

18 years agoebl update
Eric Bollengier [Sun, 19 Nov 2006 12:11:17 +0000 (12:11 +0000)]
ebl  update

18 years agoebl update
Eric Bollengier [Sun, 19 Nov 2006 11:53:33 +0000 (11:53 +0000)]
ebl  update

18 years agoebl Display system log with Job log
Eric Bollengier [Sun, 19 Nov 2006 11:52:04 +0000 (11:52 +0000)]
ebl  Display system log with Job log

18 years agoebl udpate
Eric Bollengier [Sun, 19 Nov 2006 11:17:40 +0000 (11:17 +0000)]
ebl  udpate

18 years ago9Nov06
Kern Sibbald [Sun, 19 Nov 2006 09:43:51 +0000 (09:43 +0000)]
9Nov06
kes  Implement unique dbid routine for migration to prevent the same
     JobId from being migrated twice. This should fix bug #709.
18Nov06
kes  Apply Jaime Ventura's 'mail on success' patch.

18 years agoebl add french install note
Eric Bollengier [Sat, 18 Nov 2006 20:38:44 +0000 (20:38 +0000)]
ebl  add french install note

18 years agoebl add bconsole.pl to remove Bconsole.pm/Expect from brestore.pl
Eric Bollengier [Sat, 18 Nov 2006 20:37:58 +0000 (20:37 +0000)]
ebl  add bconsole.pl to remove Bconsole.pm/Expect from brestore.pl

18 years agoebl update
Eric Bollengier [Sat, 18 Nov 2006 20:21:53 +0000 (20:21 +0000)]
ebl  update

18 years agoebl update
Eric Bollengier [Sat, 18 Nov 2006 16:39:42 +0000 (16:39 +0000)]
ebl  update

18 years agoebl update to BwebConsole (drop Expect/Bconsole and scp)
Eric Bollengier [Sat, 18 Nov 2006 16:38:59 +0000 (16:38 +0000)]
ebl  update to BwebConsole (drop Expect/Bconsole and scp)

18 years agoebl Add win32 support
Eric Bollengier [Sat, 18 Nov 2006 16:37:19 +0000 (16:37 +0000)]
ebl  Add win32 support
     Drop Expect/Bconsole and add link to bweb/bconsole.pl to do bconsole stuff
     Drop stderr messages
ebl  Fix win32 path support

18 years agoebl update
Eric Bollengier [Sat, 18 Nov 2006 16:33:23 +0000 (16:33 +0000)]
ebl  update

18 years agoebl add prepare method and drop cmd_yes command
Eric Bollengier [Sat, 18 Nov 2006 16:32:35 +0000 (16:32 +0000)]
ebl  add prepare method and drop cmd_yes command

18 years agoebl add string with space to get_form()
Eric Bollengier [Sat, 18 Nov 2006 16:31:55 +0000 (16:31 +0000)]
ebl  add string with space to get_form()