]> git.sur5r.net Git - bacula/bacula/log
bacula/bacula
18 years agowithin a verbatim, use < and > instead of \lt{} etc.
Dan Langille [Wed, 22 Mar 2006 14:39:17 +0000 (14:39 +0000)]
within a verbatim, use < and > instead of \lt{} etc.
While here, while creating a patch, you use > not <

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

18 years agotimeout 5min on W2K3
Thorsten Engel [Tue, 21 Mar 2006 12:38:30 +0000 (12:38 +0000)]
timeout 5min on W2K3

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

18 years agosmall bugfix (init mutex before using it in inc_use_count) ;-)
Thorsten Engel [Tue, 21 Mar 2006 10:30:29 +0000 (10:30 +0000)]
small bugfix (init mutex before using it in inc_use_count) ;-)

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

18 years agoUpdates
Kern Sibbald [Mon, 20 Mar 2006 07:14:29 +0000 (07:14 +0000)]
Updates

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

18 years agoIntegrate addition of line count limitation to bsmtp -l from
Kern Sibbald [Mon, 20 Mar 2006 07:13:12 +0000 (07:13 +0000)]
Integrate addition of line count limitation to bsmtp -l from
  Sebastian Stark <stark at tuebingen.mpg.de>

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

18 years ago17Mar06
Kern Sibbald [Fri, 17 Mar 2006 17:42:42 +0000 (17:42 +0000)]
17Mar06
- Implement regex test program in tools directory.
- Attempt to fix time problem with bsmtp with foreign langs.
- Add strip_trailing_newline() submitted by user.
- Implement regex matching in migrate.c
16Mar06
- Fix bug #537 to allow arbitrary time to mount a volume for
  restore, if polling is turned on.
- If dir_user or dir-group is specified in ./configure apply it to
  the working-dir. Fixes bug #533.
- If rescheduling a job cancel the previous incarnation with the SD.
  Fixes bugs #566 and 557.
- Fix bug #567 do_message() definition type conflict.

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

18 years agoupdate
Kern Sibbald [Wed, 15 Mar 2006 18:38:28 +0000 (18:38 +0000)]
update

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

18 years ago- Add more jcr methods and make mutex and use_count private.
Kern Sibbald [Tue, 14 Mar 2006 19:37:20 +0000 (19:37 +0000)]
- Add more jcr methods and make mutex and use_count private.
- Create lock/unlock methods for jcr.
- Fix PostgreSQL bug doing sql_data_seeek() by explicitly reading
  records to get to seek position.
- Integrate patch from bug #561 to correct conio.c signal definitions.
- Fix Rescheduling failed Jobs. Ensure that SD message thread
  terminates correctly by doing pthread_kill(). Do not destroy
  SD cond wait variable between executions of the job. Use local
  mutex for cond variable to avoid blocking jcr chain. Fix poor
  use of jcr use count in jobq.c for restarted jobs.
- Fix obsolete usage of foreach_dlist() to use foreach_jcr() in
  lib/jcr.c -- prevents locking the jcr chaing.
- Apply patch from bug #564, which corrects listing volumes with
  multiple autochangers. Apply same fix to next volume list.
- Fix bug #562 where restore bootstrap file is not unique.
- More details in implementing David's migration syntax proposal.
- Save and restore dcr when swapping drives so that if we have
  a write dcr it is not lost.
- Use new routine lock_reservations() to lock the reservations
  system, and call it while looking for a volume in askdir.c.
  This could possibly fix bug #543.
- Stop SD command loop if job is canceled.

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

18 years agoUpdates
Kern Sibbald [Tue, 14 Mar 2006 19:32:04 +0000 (19:32 +0000)]
Updates

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

18 years agoCommit updates
Kern Sibbald [Tue, 14 Mar 2006 19:32:01 +0000 (19:32 +0000)]
Commit updates

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

18 years agoRemove old code from findlib/create_file.c
Kern Sibbald [Wed, 8 Mar 2006 21:51:50 +0000 (21:51 +0000)]
Remove old code from findlib/create_file.c

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

18 years ago- Rename mac.c migrate.c
Kern Sibbald [Wed, 8 Mar 2006 21:17:07 +0000 (21:17 +0000)]
- Rename mac.c migrate.c
- Add user friendly display of VolBytes in job report.
- Rename target... to previous... to make it a bit easier to
  understand.
- Add selection type and selection pattern to Migration (idea
  given by David Boyes)

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

18 years agochanged linebreak from mac to win format (for vs2005)
Thorsten Engel [Wed, 8 Mar 2006 11:04:42 +0000 (11:04 +0000)]
changed linebreak from mac to win format (for vs2005)

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

18 years agoUpdate
Kern Sibbald [Sat, 4 Mar 2006 15:12:40 +0000 (15:12 +0000)]
Update

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

18 years agotake out 260char limit for win NT/XP, etc. paths can become 32K characters long now.
Thorsten Engel [Tue, 28 Feb 2006 15:45:56 +0000 (15:45 +0000)]
take out 260char limit for win NT/XP, etc. paths can become 32K characters long now.

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

18 years agoApply Erics patch for real
Kern Sibbald [Mon, 27 Feb 2006 11:45:10 +0000 (11:45 +0000)]
Apply Erics patch for real

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

18 years ago27Feb06
Kern Sibbald [Mon, 27 Feb 2006 11:21:44 +0000 (11:21 +0000)]
27Feb06
- Modify the Python class examples to inherit object -- new way
  of defining classes. Patch from Felix Schwartz.
- Implement jobuid to replace old usage of job in keywords as
  suggested by Eric Bollengier.
- Apply patch for enhancing wait from Eric Bollengier. On can now:
   wait  (wait for all jobs to stop)
   wait jobid=nn
   wait jobuid=unique id
   wait job=job-name
- Implement write variables for Python to set Priority (anytime), and
  Job Level, only during JobInit event.

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

18 years ago- Fix the block listing bug pointed out by Arno.
Kern Sibbald [Sun, 26 Feb 2006 13:01:22 +0000 (13:01 +0000)]
- Fix the block listing bug pointed out by Arno.
- Update the po files at Eric's request.

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

18 years agocommit changes
Kern Sibbald [Fri, 24 Feb 2006 12:58:41 +0000 (12:58 +0000)]
commit changes

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

18 years ago- Add Rudolf Cejka's new rc-chio-changer.
Kern Sibbald [Thu, 23 Feb 2006 20:04:22 +0000 (20:04 +0000)]
- Add Rudolf Cejka's new rc-chio-changer.
- Implement pulling Volume from Scratch Pool if the
  Volume is in the autochanger.
- Implement additional command arguments for update Volume.

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

18 years agoUpdates
Kern Sibbald [Thu, 23 Feb 2006 18:17:41 +0000 (18:17 +0000)]
Updates

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

18 years ago- Back port changes to 1.38.5
Kern Sibbald [Wed, 22 Feb 2006 18:43:55 +0000 (18:43 +0000)]
- Back port changes to 1.38.5
- Fix recycle SQL for StorageId.
- Fix misplaced quote in mtx-changer script.

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

18 years agoAnother fix from Ludovic
Kern Sibbald [Tue, 21 Feb 2006 18:17:35 +0000 (18:17 +0000)]
Another fix from Ludovic

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

18 years agoAdd Ludovics changes
Kern Sibbald [Tue, 21 Feb 2006 18:12:00 +0000 (18:12 +0000)]
Add Ludovics changes

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

18 years agoMise a jour de quickstart.tex.
Ludovic Strappazon [Tue, 21 Feb 2006 14:45:45 +0000 (14:45 +0000)]
Mise a jour de quickstart.tex.

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

18 years agoMise à jour des trois fichiers.
Ludovic Strappazon [Tue, 21 Feb 2006 13:50:01 +0000 (13:50 +0000)]
Mise à jour des trois fichiers.

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

18 years agoMise à jour de state.tex.
Ludovic Strappazon [Tue, 21 Feb 2006 12:11:46 +0000 (12:11 +0000)]
Mise à jour de state.tex.

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

18 years agoMise a jour de general.tex.
Ludovic Strappazon [Tue, 21 Feb 2006 10:20:35 +0000 (10:20 +0000)]
Mise a jour de general.tex.

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

18 years agoCorrections sur les deux fichiers.
Ludovic Strappazon [Tue, 21 Feb 2006 09:03:33 +0000 (09:03 +0000)]
Corrections sur les deux fichiers.

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

18 years ago20Feb06
Kern Sibbald [Mon, 20 Feb 2006 20:04:01 +0000 (20:04 +0000)]
20Feb06
- Note. Your database must be updated, or you must create
  a new database. I have not yet incremented the database level.
- Add Location table.
- Add LocationId, DeviceId, and MediaTypeId to Media record.
18Feb06
- Implement create/get mac record in database for adding extended
  Migration data to the job record.
- Add new MAC table to update/make database scripts.
- Return Storage name used when getting VolumeNames for a job.
- Change bsr file keyword Storage to Device, which is more accurate.
- Ensure that Mac records are pruned/purged.
- Tweak SD tools to deal with changing media type.
- Integrate more dev.c subroutines as methods (e.g. strerror, bsr, ...)
- Pass pointer to dcr pointer to acquire_device_for_read() so
  that the subroutine can switch devices, and hence dcrs.
- Modify the multiple MediaType read code to re-use the same
  dcr when switching devices. This makes the code much more
  robust.
- Integrate patch from Karl Hakimian that reads JobIds, FileIndexes
  from a table for restore.
- Add Storage name to VolParams, but it really should be Device.

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

18 years agoFin de filedconf.tex
Ludovic Strappazon [Mon, 20 Feb 2006 16:24:13 +0000 (16:24 +0000)]
Fin de filedconf.tex

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

18 years agoMise a jour de dirddconf.tex. Debut de filedconf.tex.
Ludovic Strappazon [Mon, 20 Feb 2006 15:06:31 +0000 (15:06 +0000)]
Mise a jour de dirddconf.tex. Debut de filedconf.tex.

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

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

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

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

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

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>

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

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.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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.

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

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.

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

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

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

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.

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

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.

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

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/

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

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.

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

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

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

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.

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

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.

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

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.

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

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

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

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

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

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.

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

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

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

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

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

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

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

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

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

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

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

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!

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

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

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

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.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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)

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

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

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

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

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

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

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

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.

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

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

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

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.

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

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

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

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

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

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

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

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

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

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

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

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

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

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.

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

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

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

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

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

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

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

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

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

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

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

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

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