]> git.sur5r.net Git - bacula/rescue/log
bacula/rescue
18 years agoDon't attempt signature validation on non-files
Landon Fuller [Sun, 19 Feb 2006 21:28:49 +0000 (21:28 +0000)]
Don't attempt signature validation on non-files

18 years ago- split an export into two lines so it works in all /bin/sh, not just Linux
Dan Langille [Sun, 19 Feb 2006 00:47:41 +0000 (00:47 +0000)]
- split an export into two lines so it works in all /bin/sh, not just Linux
- add the creation of the PostgreSQL database

18 years agoAdd missing #'s.
Dan Langille [Thu, 16 Feb 2006 19:47:17 +0000 (19:47 +0000)]
Add missing #'s.
Reported by: Simon Gao <gao@schrodinger.com>

18 years agoThe quotes around in the Changer Command need to be all around the command.
Dan Langille [Thu, 16 Feb 2006 18:02:03 +0000 (18:02 +0000)]
The quotes around in the Changer Command need to be all around the command.

18 years agocorrect typo: labes => labels
Dan Langille [Thu, 16 Feb 2006 12:57:25 +0000 (12:57 +0000)]
correct typo: labes => labels

18 years agoCorrect typos: labes => labels, aviable => available
Dan Langille [Thu, 16 Feb 2006 12:18:41 +0000 (12:18 +0000)]
Correct typos: labes => labels, aviable => available

18 years agoupdates
Kern Sibbald [Tue, 14 Feb 2006 14:11:51 +0000 (14:11 +0000)]
updates

18 years ago- Add disk-changer to scripts directory + configure/Makefile
Kern Sibbald [Tue, 14 Feb 2006 14:11:10 +0000 (14:11 +0000)]
- Add disk-changer to scripts directory + configure/Makefile
- Eliminate PoolId from jcr -- it is in jcr->jr.PoolId
- Implement store_bit scanner to replace store_yesno.  Mostly done.
- Implement new store_bool that stores in a bool.
- Add true/false to yes/no conf directives.
- Make first cut at changing appropriate store_yesno to store_bool.
- Complete implementation of Pool storage devices.
- Move starting clones to job.c
- Move create_restore_bootstrap_file() to job.c
- Make copy_storage() more general to be able to handle
  Pool storage.
- Cleanup a lot of migration code for manual running, including
  using Pool storage.
- Move getting a scratch Volume into a subroutine.
- Make all places a Volume that is added to a pool to
  respect max vols.
- Fix bug in autochanger recycle code (improper edit 64 bit).
- Fix segfault in restore command when no value specified.
- Start adding code to handle multiple MediaTypes in restore.
- Eliminate race condition in getting Volume name for
  two drive autochanger.
- More debug code in autochanger.
- Add storage keyword to bootstrap file, add parsing.
- Move slot in bsr file into Volume record as there will be
  a different slot for each Volume.
- Create reserve.h

18 years agoUpdate
Kern Sibbald [Tue, 14 Feb 2006 13:57:02 +0000 (13:57 +0000)]
Update

18 years agoAdd scan.c
Kern Sibbald [Sat, 11 Feb 2006 09:08:03 +0000 (09:08 +0000)]
Add scan.c

18 years agoAdd mac.c file
Kern Sibbald [Tue, 7 Feb 2006 14:30:44 +0000 (14:30 +0000)]
Add mac.c file

18 years agoUpdate
Kern Sibbald [Mon, 6 Feb 2006 13:51:32 +0000 (13:51 +0000)]
Update

18 years ago- Implement first cut of Migration.
Kern Sibbald [Mon, 6 Feb 2006 13:49:59 +0000 (13:49 +0000)]
- Implement first cut of Migration.

18 years agoUpdate rpm-faq manual page.
Scott Barninger [Mon, 30 Jan 2006 22:40:11 +0000 (22:40 +0000)]
Update rpm-faq manual page.

18 years agoupdate
Kern Sibbald [Mon, 30 Jan 2006 16:01:00 +0000 (16:01 +0000)]
update

18 years ago- Continue implementing migration.
Kern Sibbald [Mon, 30 Jan 2006 14:24:17 +0000 (14:24 +0000)]
- Continue implementing migration.
- Implement support for removable filesystems in SD.
- Ensure that btraceback scripts can be read by anyone.
- Replace dvd-freespace and dvd-writepart by dvd-handler.
- Correct bug where canceling restore before the FD contacts
  the SD causes the drive to be left in read mode.
- Move ofline_or_rewind into DEVICE::close().
- Eliminate close_device.
- Convert several dev subroutines to methods (e.g. bsf,
  eod, ...)
- Eliminate force_close_device().
- Implement Device Type directive in Device resource that
  can have values File, Tape, Fifo, DVD, or Prog.
- Add has_cap() method to Device.

18 years agoFix link failure of static-fd on Mandrake with --disable-nls in spec file.
Scott Barninger [Sun, 29 Jan 2006 19:38:55 +0000 (19:38 +0000)]
Fix link failure of static-fd on Mandrake with --disable-nls in spec file.

18 years agoAdd centos3 build tag to spec file/
Scott Barninger [Sun, 29 Jan 2006 14:45:52 +0000 (14:45 +0000)]
Add centos3 build tag to spec file/

18 years agoAdd fc4 dependencies to spec file.
Scott Barninger [Fri, 27 Jan 2006 17:07:32 +0000 (17:07 +0000)]
Add fc4 dependencies to spec file.

18 years ago- (0000019,0000021) Fixed psql querys.
Juan Luis Francis [Thu, 26 Jan 2006 17:12:24 +0000 (17:12 +0000)]
- (0000019,0000021) Fixed psql querys.
- Fixed XTicks (Graphs).

18 years agoUpdate spec file for SuSE 10 and remove permissions in attrib macros.
Scott Barninger [Mon, 23 Jan 2006 23:02:27 +0000 (23:02 +0000)]
Update spec file for SuSE 10 and remove permissions in attrib macros.

18 years agoSuite et fin de dirdconf.tex.
Ludovic Strappazon [Sun, 22 Jan 2006 09:02:56 +0000 (09:02 +0000)]
Suite et fin de dirdconf.tex.

18 years ago1.38.5 rpm update, fix usermode required on suse, refix SLES9 compat on _dist tag...
Scott Barninger [Sat, 21 Jan 2006 17:23:33 +0000 (17:23 +0000)]
1.38.5 rpm update, fix usermode required on suse, refix SLES9 compat on _dist tag, add notes to fix permissions and fc4 dependancies.

18 years agoPull in new bacula.spec.in files
Kern Sibbald [Thu, 19 Jan 2006 14:19:34 +0000 (14:19 +0000)]
Pull in new bacula.spec.in files

18 years agoFinal changes
Kern Sibbald [Thu, 19 Jan 2006 10:27:32 +0000 (10:27 +0000)]
Final changes

18 years ago- Add patch from bug #527 to allow RedHat user to specify
Kern Sibbald [Tue, 17 Jan 2006 18:27:48 +0000 (18:27 +0000)]
- Add patch from bug #527 to allow RedHat user to specify
  options/user/group for starting each daemon in
  /etc/sysconf/bacula.

18 years agoImplement restore decryption support.
Landon Fuller [Tue, 17 Jan 2006 10:21:39 +0000 (10:21 +0000)]
Implement restore decryption support.

18 years agoFinal changes
Kern Sibbald [Tue, 17 Jan 2006 09:40:56 +0000 (09:40 +0000)]
Final changes

18 years agoUpdate query
Kern Sibbald [Tue, 17 Jan 2006 09:40:14 +0000 (09:40 +0000)]
Update query

18 years agoUpdate
Kern Sibbald [Tue, 17 Jan 2006 09:36:36 +0000 (09:36 +0000)]
Update

18 years agoAdd dummy #define for CRYPTO_CIPHER_MAX_BLOCK_SIZE
Landon Fuller [Tue, 17 Jan 2006 07:05:08 +0000 (07:05 +0000)]
Add dummy #define for CRYPTO_CIPHER_MAX_BLOCK_SIZE

18 years agoSupport for FD-side file encryption.
Landon Fuller [Tue, 17 Jan 2006 06:26:20 +0000 (06:26 +0000)]
Support for FD-side file encryption.
- Added MIN() and MAX() macros to baconfig.h
- Added stream types for win32, file, and macos encrypted data (with and without gzip)
- Added FO_ENCRYPT file flag.
- Implement crypto_cipher_* encryption functions
- Add encryption logic to save_file()

Decryption support has not been committed (yet):
If you use this code to encrypt your data, you will be unable to decrypt it!

18 years agoUse crypto_strerror()
Landon Fuller [Mon, 16 Jan 2006 02:52:35 +0000 (02:52 +0000)]
Use crypto_strerror()

18 years agoFix a logic error in the restoration code that could cause the signature of the last...
Landon Fuller [Mon, 16 Jan 2006 02:45:19 +0000 (02:45 +0000)]
Fix a logic error in the restoration code that could cause the signature of the last restored file to not be validated, and leak both the crypto session and the signature data.

18 years agoFix a memory leak.
Landon Fuller [Mon, 16 Jan 2006 02:43:46 +0000 (02:43 +0000)]
Fix a memory leak.

18 years ago- Add support for testing the availability of a PEM-encoded private key
Landon Fuller [Mon, 16 Jan 2006 02:01:47 +0000 (02:01 +0000)]
- Add support for testing the availability of a PEM-encoded private key
- Load private keys from Master Keys and Signing Keys where possible
- Clarify pki_* variable names in the JCR structure.
- Fix small bugs in RES_CLIENT deallocation and copying.
- Add full support for decoding and decrypting crypto session w/ symmetric keys

18 years agoSuite de dirdconf.tex
Ludovic Strappazon [Sun, 15 Jan 2006 22:41:53 +0000 (22:41 +0000)]
Suite de dirdconf.tex

18 years agoUpdate release number
Kern Sibbald [Sun, 15 Jan 2006 11:23:20 +0000 (11:23 +0000)]
Update release number

18 years ago15Jan06
Kern Sibbald [Sun, 15 Jan 2006 11:21:54 +0000 (11:21 +0000)]
15Jan06
- Add periodic (every 24 hours) garbage collection of memory
  pool by releasing free buffers.
14Jan06
- Correct bug counting sized (for display only) in smartall.c
- Print FD mempool stats if debug > 0 rather than 5.
12Jan06
- Make db_lock() mutex error fail the job rather than abort
  Bacula.  Canceling the job caused the mutex to fail.
- Correct bug in alist.c that re-allocated the list if the
  number of items goes to zero.
- Move the reservation system thread locking to the top level
  so that one job at a time tries all possible drives before
  waiting.
- Implement a reservation 'fail' message queue that is built
  and destroyed on each pass through the reservation system.
  These messages are displayed in a 'Jobs waiting to reserve
  a drive' list during a 'status storage='.  Note, multiple
  messages will generally print for each JobId because they
  represent the different problems with either the same drive
  or different drives.  If this output proves too confusing
  of voluminous, I will display it only when debug level 1
  or greater is enabled in the SD.
11Jan06
- Add enable/disable job=<job-name>.  This command prevents
  the specified job from being scheduled. Even when disabled,
  the job can be manually started from the console.
- During 'update slots' clear all InChanger flags where the
  StorageId is zero (old Media records).

18 years agoUpdates
Kern Sibbald [Sun, 15 Jan 2006 10:07:55 +0000 (10:07 +0000)]
Updates

18 years ago- Rename "crypto_recipients" to "crypto_session" to more accurate describe the crypto...
Landon Fuller [Sat, 14 Jan 2006 22:23:22 +0000 (22:23 +0000)]
- Rename "crypto_recipients" to "crypto_session" to more accurate describe the crypto session data (which includes the symmetric session keys).
- Add the STREAM_ENCRYPTED_SESSION_DATA stream type.
- Add support for encoding and decoding session data.
- Send encoded session data to the storage daemon

18 years agoUpdate doc
Kern Sibbald [Fri, 13 Jan 2006 17:34:47 +0000 (17:34 +0000)]
Update doc

18 years agoUpdate
Kern Sibbald [Thu, 12 Jan 2006 14:35:23 +0000 (14:35 +0000)]
Update

18 years agoFix merge collision
Kern Sibbald [Wed, 11 Jan 2006 09:21:55 +0000 (09:21 +0000)]
Fix merge collision

18 years agoUpdates
Kern Sibbald [Tue, 10 Jan 2006 08:44:29 +0000 (08:44 +0000)]
Updates

18 years agoCorrected output in .defaults command, when pool's label_format is NULL
Lucas Di Pentima [Tue, 10 Jan 2006 02:49:25 +0000 (02:49 +0000)]
Corrected output in .defaults command, when pool's label_format is NULL

18 years agoUse a restore, not a verify
Landon Fuller [Mon, 9 Jan 2006 02:18:54 +0000 (02:18 +0000)]
Use a restore, not a verify

18 years agoAdd encryption regression test
Landon Fuller [Sun, 8 Jan 2006 22:35:34 +0000 (22:35 +0000)]
Add encryption regression test

18 years agoAdd OpenSSL config option (defaults to off)
Landon Fuller [Sun, 8 Jan 2006 03:03:20 +0000 (03:03 +0000)]
Add OpenSSL config option (defaults to off)

18 years agoAdd missing cast
Landon Fuller [Sat, 7 Jan 2006 18:30:44 +0000 (18:30 +0000)]
Add missing cast

18 years agoFix build on Darwin
Landon Fuller [Sat, 7 Jan 2006 18:15:10 +0000 (18:15 +0000)]
Fix build on Darwin

18 years agoFix sql_update bug
Kern Sibbald [Sat, 7 Jan 2006 17:06:18 +0000 (17:06 +0000)]
Fix sql_update bug

18 years ago07Jan06
Kern Sibbald [Sat, 7 Jan 2006 15:02:14 +0000 (15:02 +0000)]
07Jan06
- Add PoolId to Job record when updating it at job start time.
06Jan06
- Pull in more code from 1.39 so that there are fewer file
  differences (the new ua_dotcmds.c, base64.h, crypto.h
  hmac.c jcr.c (dird and lib) lib.h md5.h parse_conf.c
  util.c. Aside from ua_dotcmds.c these are mostly crypto
  upgrades.
- Implement new method of walking the jcr chain. The
  incr/dec of the use_count is done within the walking
  routines.  This should prevent a jcr from being freed
  from under the walk routines.

18 years agoBugfix: in ".defaults storage=xxx" there was a parameter repetition
Lucas Di Pentima [Sat, 7 Jan 2006 15:01:32 +0000 (15:01 +0000)]
Bugfix: in ".defaults storage=xxx" there was a parameter repetition

18 years ago- Start implementing Verify list output.
Kern Sibbald [Thu, 5 Jan 2006 16:23:46 +0000 (16:23 +0000)]
- Start implementing Verify list output.
- Move the suitable_drive flag to a better place to prevent
  premature termination of the reservation if all drives
  are busy -- should fix Arno's diff/inc pool failures.
26Dec05
- Add mutex to single thread VSS code in Win32.

18 years agoFinal changes
Kern Sibbald [Thu, 5 Jan 2006 10:25:00 +0000 (10:25 +0000)]
Final changes

18 years agoAdded options to ".defaults" dot-command: client, storage and pool
Lucas Di Pentima [Thu, 5 Jan 2006 05:01:06 +0000 (05:01 +0000)]
Added options to ".defaults" dot-command: client, storage and pool

18 years agoUpdate
Kern Sibbald [Fri, 23 Dec 2005 21:59:10 +0000 (21:59 +0000)]
Update

18 years agoMinor updates
Kern Sibbald [Fri, 23 Dec 2005 19:36:29 +0000 (19:36 +0000)]
Minor updates

18 years agoFinal changes
Kern Sibbald [Fri, 23 Dec 2005 10:30:00 +0000 (10:30 +0000)]
Final changes

18 years agoFinal changes
Kern Sibbald [Fri, 23 Dec 2005 10:16:25 +0000 (10:16 +0000)]
Final changes

18 years ago- Simplify code in askdir.c that waits for creating an appendable
Kern Sibbald [Thu, 22 Dec 2005 21:37:01 +0000 (21:37 +0000)]
- Simplify code in askdir.c that waits for creating an appendable
  volume so that it can handle multiple returns from the wait
  code.
- Modify the wait code to permit multiple returns.
- Return a zero when autochanger drives is called and
  it is not an autochanger.
- Make rewind_dev() a method taking a DCR as an argument.
  This permits closing and reopening the drive if the
  rewind fails as happens if the drive was loaded while the
  file descriptor was open. This refreshes the file descriptor.
- Remove the ST_OPENED flag and always rely on fd < 0 for knowing
  if the device is open or not.  This should eliminate
  Arnos problem.
- Return error if reserve cannot find at least one suitable device.
- Make wait_for_sysop() return correct state information.
- Fix Win32 state file problem. write was not using compat
  code. This should fix bug #500.

18 years agoUpdates
Kern Sibbald [Thu, 22 Dec 2005 12:28:53 +0000 (12:28 +0000)]
Updates

18 years agoUpdates
Kern Sibbald [Thu, 22 Dec 2005 11:30:19 +0000 (11:30 +0000)]
Updates

18 years agoSome updates
Kern Sibbald [Thu, 22 Dec 2005 00:58:44 +0000 (00:58 +0000)]
Some updates

18 years agoFix configure
Kern Sibbald [Wed, 21 Dec 2005 14:28:49 +0000 (14:28 +0000)]
Fix configure

18 years agoUpdate
Kern Sibbald [Wed, 21 Dec 2005 13:53:28 +0000 (13:53 +0000)]
Update

18 years agoRemove new bnet_sig
Kern Sibbald [Wed, 21 Dec 2005 12:22:32 +0000 (12:22 +0000)]
Remove new bnet_sig

18 years agoFix seg fault in acquire.c
Kern Sibbald [Tue, 20 Dec 2005 15:53:31 +0000 (15:53 +0000)]
Fix seg fault in acquire.c

18 years ago- Pull in latest reservation system changes from 1.38
Kern Sibbald [Tue, 20 Dec 2005 13:40:06 +0000 (13:40 +0000)]
- Pull in latest reservation system changes from 1.38
- Make .messages command always print messages regardless
  of the automessages flag.

18 years ago2drive update
Kern Sibbald [Mon, 19 Dec 2005 21:34:12 +0000 (21:34 +0000)]
2drive update

18 years agoUpdate 2drive test
Kern Sibbald [Mon, 19 Dec 2005 17:31:03 +0000 (17:31 +0000)]
Update 2drive test

18 years ago- Fix seg fault if user labels a drive directory bug #513
Kern Sibbald [Sat, 17 Dec 2005 19:47:58 +0000 (19:47 +0000)]
- Fix seg fault if user labels a drive directory bug #513
- Remove quotes around Version as it breaks things.
16Dec05
- Merge in Aleksandar Milivojevic's mods to the spec file.
- Apply sparse code fix for raw drives and fifos. Bug 506
- Thorsten fixed Unicode cd problem with wx-console bug 505.

18 years agoSuite de dirdconf.tex
Ludovic Strappazon [Fri, 16 Dec 2005 18:01:37 +0000 (18:01 +0000)]
Suite de dirdconf.tex

18 years agoFinal changes
Kern Sibbald [Fri, 16 Dec 2005 15:18:41 +0000 (15:18 +0000)]
Final changes

18 years agobugfix for transfering unicode data to director
Thorsten Engel [Fri, 16 Dec 2005 11:22:57 +0000 (11:22 +0000)]
bugfix for transfering unicode data to director

18 years agoUpdates
Kern Sibbald [Thu, 15 Dec 2005 20:52:25 +0000 (20:52 +0000)]
Updates

18 years agoUpdate
Kern Sibbald [Wed, 14 Dec 2005 14:14:50 +0000 (14:14 +0000)]
Update

18 years agoUpdate
Kern Sibbald [Wed, 14 Dec 2005 14:02:28 +0000 (14:02 +0000)]
Update

18 years agoUpdate
Kern Sibbald [Tue, 13 Dec 2005 21:40:41 +0000 (21:40 +0000)]
Update

18 years agoUpdate
Kern Sibbald [Tue, 13 Dec 2005 19:56:07 +0000 (19:56 +0000)]
Update

18 years agoUpdates
Kern Sibbald [Tue, 13 Dec 2005 18:01:29 +0000 (18:01 +0000)]
Updates

18 years ago13Dec05
Kern Sibbald [Tue, 13 Dec 2005 11:24:01 +0000 (11:24 +0000)]
13Dec05
- Add stubs for non-crypto build.
12Dec05
- Use localhost if no network configured
11Dec05
- Eliminated duplicate MaxVolBytes in cat update -- bug 509.

18 years agoupdates
Kern Sibbald [Mon, 12 Dec 2005 16:42:42 +0000 (16:42 +0000)]
updates

18 years agoUpdate
Kern Sibbald [Mon, 12 Dec 2005 15:08:09 +0000 (15:08 +0000)]
Update

18 years agoAdd PKE recipient structure creation w/ symmetric key & IV generation.
Landon Fuller [Mon, 12 Dec 2005 03:27:12 +0000 (03:27 +0000)]
Add PKE recipient structure creation w/ symmetric key & IV generation.
Fix NULL dereference when no additional PKI Trusted Signers are specified.

18 years agoUpdate cl
Kern Sibbald [Sun, 11 Dec 2005 10:22:07 +0000 (10:22 +0000)]
Update cl

18 years ago- Merge changes made to 1.38.3 into HEAD
Kern Sibbald [Sun, 11 Dec 2005 10:07:11 +0000 (10:07 +0000)]
- Merge changes made to 1.38.3 into HEAD
- Add stubs for pygtk-console code
- Create Makefile.in for pygtk-console code

18 years agoMore Win32 compiler tweaks
Kern Sibbald [Thu, 8 Dec 2005 22:05:54 +0000 (22:05 +0000)]
More Win32 compiler tweaks

18 years agoFix Win32 built to work with new crypto code.
Kern Sibbald [Thu, 8 Dec 2005 21:44:51 +0000 (21:44 +0000)]
Fix Win32 built to work with new crypto code.

18 years ago- Apply patch supplied by user (slightly modified) to fix
Kern Sibbald [Thu, 8 Dec 2005 20:32:17 +0000 (20:32 +0000)]
- Apply patch supplied by user (slightly modified) to fix
  correct detection of holes in block devices and FIFOs.
  Bug # 506.
- Apply patch supplied by user (slightly modified)
  to fix SD hang with multiple pools and bad client
  IP. Fixes bug # 508.

18 years ago- Modify most restore error messages to be queued so that they
Kern Sibbald [Wed, 7 Dec 2005 18:20:58 +0000 (18:20 +0000)]
- Modify most restore error messages to be queued so that they
  appear at the end of the job rather than mixted with the restore
  listing where they could be lost.

18 years ago- Remove warning message about multiple saves of hardlinked files
Kern Sibbald [Wed, 7 Dec 2005 10:10:30 +0000 (10:10 +0000)]
- Remove warning message about multiple saves of hardlinked files
  from find_one.c as it can generate too many warning messages.
06Dec05
- Reset timeout values before select() per patch from
  Frank Sweetser for problems with non-blocking sockets.
- Unlink the state file if either reading or writing it gets
  errors.  Hopefully this will fix Win32 exit problems.
- Add sanity check in append.c to ensure that dcr is not NULL.
  This can happen if multiple drive autochanger SCSI control
  channel and drive indicies do not correspond.

18 years ago- Get next volume from Scratch pool before creating a volume.
Kern Sibbald [Mon, 5 Dec 2005 17:30:37 +0000 (17:30 +0000)]
- Get next volume from Scratch pool before creating a volume.
- Set new Pool defaults in Vol when moved from Scratch Pool.

18 years agoUpdate
Kern Sibbald [Mon, 5 Dec 2005 16:12:56 +0000 (16:12 +0000)]
Update

18 years ago- Remove argument from create_bacula_database for SQLite as it
Kern Sibbald [Mon, 5 Dec 2005 11:49:34 +0000 (11:49 +0000)]
- Remove argument from create_bacula_database for SQLite as it
  caused an error.
- Add back index code so that two drive autochangers can get
  a second tape.
- Change a bunch of debug levels to aid debugging autochangers.
- Fix reservation so that mutexes are properly applied.
- Rework reservation algorithm so that two drives can be used
  at the same time.

18 years agoUpdates
Kern Sibbald [Mon, 5 Dec 2005 06:37:22 +0000 (06:37 +0000)]
Updates

18 years agoUpdate
Kern Sibbald [Mon, 5 Dec 2005 06:34:51 +0000 (06:34 +0000)]
Update

18 years agoUpdate 2 drive test
Kern Sibbald [Sun, 4 Dec 2005 14:02:21 +0000 (14:02 +0000)]
Update 2 drive test

18 years agoUpdate 2 drive test
Kern Sibbald [Sun, 4 Dec 2005 14:02:02 +0000 (14:02 +0000)]
Update 2 drive test