]> git.sur5r.net Git - bacula/bacula/log
bacula/bacula
19 years agoFix bug #292 (tray-monitor).
Nicolas Boichat [Mon, 25 Apr 2005 15:10:29 +0000 (15:10 +0000)]
Fix bug #292 (tray-monitor).

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

19 years agoFixes to make wx-console compatible with wxWidgets 2.6.0.
Nicolas Boichat [Sun, 24 Apr 2005 22:12:49 +0000 (22:12 +0000)]
Fixes to make wx-console compatible with wxWidgets 2.6.0.

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

19 years agoMove patches into subdir
Kern Sibbald [Sat, 23 Apr 2005 11:26:23 +0000 (11:26 +0000)]
Move patches into subdir

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

19 years agoFix (hopefully) the ftello() overflow reported by Peter.
Kern Sibbald [Fri, 22 Apr 2005 13:08:25 +0000 (13:08 +0000)]
Fix (hopefully) the ftello() overflow reported by Peter.

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

19 years ago- Landon Fuller committed his TLS patch.
Kern Sibbald [Fri, 22 Apr 2005 10:12:46 +0000 (10:12 +0000)]
- Landon Fuller committed his TLS patch.
- Fixed two minor warnings in console.c with TLS turned off.
- Updated the Makefile.in for wx-windows and tray-monitor
  to handle TLS. I can only build the tray-monitor.
- Fix bscan to open tape in read-only mode (actually fix
  it so that it doesn't use the standard open routine).

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

19 years ago- Integrated TLS network encryption
Landon Fuller [Fri, 22 Apr 2005 08:09:38 +0000 (08:09 +0000)]
- Integrated TLS network encryption

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

19 years agoGet FD Python running -- design Python backup interface.
Kern Sibbald [Thu, 21 Apr 2005 17:20:38 +0000 (17:20 +0000)]
Get FD Python running -- design Python backup interface.

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

19 years ago- Fix seg fault in SD when referencing Alert Command.
Kern Sibbald [Thu, 21 Apr 2005 09:25:25 +0000 (09:25 +0000)]
- Fix seg fault in SD when referencing Alert Command.
- More documentation.
- Fix one more thing in Win32 build.

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

19 years agoDoc updates + fix Win32 build
Kern Sibbald [Wed, 20 Apr 2005 16:16:52 +0000 (16:16 +0000)]
Doc updates + fix Win32 build

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

19 years agoAdd more contributed examples
Kern Sibbald [Tue, 19 Apr 2005 22:00:54 +0000 (22:00 +0000)]
Add more contributed examples

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

19 years agoInclude requisite headers for statfs() on Darwin. Fixes the build on Darwin 8 with...
Landon Fuller [Tue, 19 Apr 2005 21:09:59 +0000 (21:09 +0000)]
Include requisite headers for statfs() on Darwin. Fixes the build on Darwin 8 with gcc 4.

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

19 years agoFix SQLite and PostgreSQL table creation script syntax
Kern Sibbald [Tue, 19 Apr 2005 19:17:43 +0000 (19:17 +0000)]
Fix SQLite and PostgreSQL table creation script syntax
  problems.

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

19 years ago- Fix new Python code to work for Director.
Kern Sibbald [Tue, 19 Apr 2005 16:49:55 +0000 (16:49 +0000)]
- Fix new Python code to work for Director.
- Move lib/python.c to lib/pythonlib.c so that debug output
  is easier to read (can distinguish lib from dird, ...).

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

19 years agoCleanup Python build so that Python is not dragged
Kern Sibbald [Tue, 19 Apr 2005 09:49:20 +0000 (09:49 +0000)]
Cleanup Python build so that Python is not dragged
  into programs that don't use it.

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

19 years agoMake Bacula build without Python
Kern Sibbald [Mon, 18 Apr 2005 11:52:34 +0000 (11:52 +0000)]
Make Bacula build without Python

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

19 years agoDrop Status table in drop_ scripts -- bug 283.
Kern Sibbald [Mon, 18 Apr 2005 08:06:51 +0000 (08:06 +0000)]
Drop Status table in drop_ scripts -- bug 283.

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

19 years ago- First cut of new Python implementation.
Kern Sibbald [Sun, 17 Apr 2005 21:35:16 +0000 (21:35 +0000)]
- First cut of new Python implementation.
- Doc updates
- Correct SuSE autostart installation directory name --
  supplied by a user.
- Fix director crash if Name directive not supplied
  in a Job.
- More cleanup of changing %u to %s for DB IDs.
- Replace dev_can_write(dev) with dev->can_write().

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

19 years ago1.36.3 doc changes.
Scott Barninger [Sun, 17 Apr 2005 18:54:05 +0000 (18:54 +0000)]
1.36.3 doc changes.

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

19 years ago1.36.3 doc changes.
Scott Barninger [Sun, 17 Apr 2005 16:10:16 +0000 (16:10 +0000)]
1.36.3 doc changes.

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

19 years ago Make fsr_dev() a method dev->fsr()
Kern Sibbald [Mon, 11 Apr 2005 13:22:08 +0000 (13:22 +0000)]
 Make fsr_dev() a method dev->fsr()

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

19 years agoUpdate tests for new doc structure
Kern Sibbald [Mon, 11 Apr 2005 13:16:42 +0000 (13:16 +0000)]
Update tests for new doc structure

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

19 years agoFinish removing rescue
Kern Sibbald [Mon, 11 Apr 2005 09:34:48 +0000 (09:34 +0000)]
Finish removing rescue

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

19 years ago- Remove Created new FileSet message as it always comes out in
Kern Sibbald [Mon, 11 Apr 2005 08:30:05 +0000 (08:30 +0000)]
- Remove Created new FileSet message as it always comes out in
  the daemon messages.
- eliminate dev_is_tape() in favor of method dev->is_tape()
- Turn on disk seeking during restore for Disk Volumes. This
  required some changes to bscan -- they seem a bit suspect as
  they are not symmetrical for tape/files.
- Remove some of the recursion in stored/parse_bsr.c
- Move rescue out to a new Bacula project.

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

19 years agoCleanup
Kern Sibbald [Mon, 11 Apr 2005 08:07:07 +0000 (08:07 +0000)]
Cleanup

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

19 years agoRemove unwanted directory
Kern Sibbald [Mon, 11 Apr 2005 08:01:37 +0000 (08:01 +0000)]
Remove unwanted directory

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

19 years agoInitial revision
Kern Sibbald [Mon, 11 Apr 2005 07:57:12 +0000 (07:57 +0000)]
Initial revision

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

19 years agoUpdate FD and SD Python calling sequence
Kern Sibbald [Sat, 9 Apr 2005 17:13:12 +0000 (17:13 +0000)]
Update FD and SD Python calling sequence

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

19 years ago- Update of web site to replace old released doc with LaTeX
Kern Sibbald [Sat, 9 Apr 2005 07:20:59 +0000 (07:20 +0000)]
- Update of web site to replace old released doc with LaTeX
  version.
- Replace logo in doc with new bat logo.
- Make a good number of updates to the manual.
- Implement Python scripting using a Python object.
  This makes interfacing with Bacula cleaner (object
  oriented).
- Add Phil's Status table to the database -- used
  for getting a text description of the status
  codes.
- Modify FileSet so that an empty Options (no
  pattern matching) with an exclude will exclude
  all files.
- Modify FileSet so that no top level included File
  item can be excluded by a matching pattern.
- Suppress Created new FileSet record in daemon output.
- Implement Python in FD.
- Turn off old bfile reader code -- to be replaced
  by Python.

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

19 years ago - Fix "unknown device type" problem with DVD devices.
Nicolas Boichat [Thu, 7 Apr 2005 13:09:24 +0000 (13:09 +0000)]
 - Fix "unknown device type" problem with DVD devices.
 - Fix crash when there is no media in the DVD drive.

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

19 years agoAdd wx-console bug fixes to patches directory.
Nicolas Boichat [Wed, 6 Apr 2005 14:47:02 +0000 (14:47 +0000)]
Add wx-console bug fixes to patches directory.

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

19 years agoAdd centos4 and x86_64 build tags.
Scott Barninger [Tue, 5 Apr 2005 20:56:02 +0000 (20:56 +0000)]
Add centos4 and x86_64 build tags.

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

19 years agoRemove more recursion in src/dird/bsr.c as pointed out
Kern Sibbald [Tue, 5 Apr 2005 14:57:14 +0000 (14:57 +0000)]
Remove more recursion in src/dird/bsr.c as pointed out
  by Peter.

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

19 years ago- Increase the index width of Filename and Path entries
Kern Sibbald [Mon, 4 Apr 2005 18:37:37 +0000 (18:37 +0000)]
- Increase the index width of Filename and Path entries
  to 255 chars -- suggestion of Meno Abels.
- Change remaining VARCHARS to TINYBLOBs.
- Remove recursion from is_volume_selected() following
  bug report from Peter.
- Implement mostly correct handling of use_storage in the
  SD with full lists, ...

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

19 years agoAdd rhel4 build tag.
Scott Barninger [Sun, 3 Apr 2005 17:14:36 +0000 (17:14 +0000)]
Add rhel4 build tag.

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

19 years agoFix DIR - SD use storage protocol
Kern Sibbald [Sat, 2 Apr 2005 10:30:29 +0000 (10:30 +0000)]
Fix DIR - SD use storage protocol

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

19 years ago- Reset NumVols in Pool record from database on every update
Kern Sibbald [Sat, 2 Apr 2005 09:22:59 +0000 (09:22 +0000)]
- Reset NumVols in Pool record from database on every update
  Pool.
- Modify DB to support multiple simultaneous copies and
  RAIT stiping.
- Pass copy and stripe between DIR and SD and put into
  the JobMedia DB record.
- Update and test SQLite and MySQL datebase creation and
  update scripts.
- Implement version 9 of the DB.

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

19 years ago- Convert more atoi to str_to_int64() for DB.
Kern Sibbald [Fri, 1 Apr 2005 15:21:46 +0000 (15:21 +0000)]
- Convert more atoi to str_to_int64() for DB.
- Implement filling in NumVols by querying DB rather
  than trying to keep track of it.
- Add storage name to string passed to in use storage=
- Fix newVolume() so that the Python script is always
  called.
- Fix handling of pool,PoolId, and storage in ua_output.
- Same fix in ua_status.c
- Remove required locking of resources
- Replace pthread_cond_signal() by pthread_cond_broadcast()
  hoping to fix the /lib/tls hang problems (lost signal).
- Move resource locking seaching from parse_conf.c to res.c
  in src/lib.
- Modify end of volume handling so that fixup_... does not
  redo what block.c has already done -- writing Vol info to
  DIR. This fixes a bug with bad numbers of files on a tape
  when it filled as reported by Peter.
- In release_device() do not update the DIR on the Volume
  info if the the information was already written at the
  end of the tape.

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

19 years agoAdd tray-monitor patch in patches directory.
Nicolas Boichat [Thu, 31 Mar 2005 21:21:42 +0000 (21:21 +0000)]
Add tray-monitor patch in patches directory.

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

19 years ago- This version has a new DIR -- SD protocol. Both
Kern Sibbald [Mon, 28 Mar 2005 22:06:08 +0000 (22:06 +0000)]
- This version has a new DIR -- SD protocol. Both
  must be updated at the same time.
- Begin implementation of passing all the Storage and Device
  possibilities to the SD for examination during the reserve
  phase.
- Modify the reserve and acquire code in the SD to make a
  job wait if the device is not available.
- Implement New Volume Each Job in DIR and pass to SD, not yet
  used.
- Remove init/update of the Device resource in DIR
- Remove passing PoolId to SD and back.

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

19 years agoFix memory leak in tray monitor.
Nicolas Boichat [Mon, 28 Mar 2005 13:33:27 +0000 (13:33 +0000)]
Fix memory leak in tray monitor.

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

19 years ago- Remove \a and -e from error echos in most Makefiles.
Kern Sibbald [Sat, 26 Mar 2005 16:55:46 +0000 (16:55 +0000)]
- Remove \a and -e from error echos in most Makefiles.
- Add more debug code when there are errors on the tape
  to try to find Peter's tape problem.

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

19 years ago- Add wait.c (oops forgot previously).
Kern Sibbald [Sat, 26 Mar 2005 14:53:13 +0000 (14:53 +0000)]
- Add wait.c (oops forgot previously).
- Move all the reserve/acquire_device_for_read/append to have
  only a DCR as the argument.
- Rework the reserve_device_for_append() in stored to wait
  if the drive is not available.  Note! This is a short
  term solution.

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

19 years ago- Comment out Multiple Connections in the document.
Kern Sibbald [Sat, 26 Mar 2005 07:58:50 +0000 (07:58 +0000)]
- Comment out Multiple Connections in the document.
- Move the P() and V() to subroutines so that they can be accessed
  from class methods. The reference to strerror() caused problems.
- Implement new DEVICE class methods block() and unblock() that
  do what was previously done in 3 lines of code.
- Implement wait_for_device(), which will wait for any device
  to be released then return. This requires a new global mutex
  and condition variable, and is implemented in src/stored/wait.c
- Change the code in reserve_device_for_read(), which previously
  failed the job to use the new device wait code.

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

19 years agoMajor wx-console bug fixes.
Nicolas Boichat [Thu, 24 Mar 2005 14:56:35 +0000 (14:56 +0000)]
Major wx-console bug fixes.

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

19 years agoChange set_label() to set_labeled() -- a bit clearer
Kern Sibbald [Tue, 22 Mar 2005 20:49:06 +0000 (20:49 +0000)]
Change set_label() to set_labeled() -- a bit clearer

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

19 years agoApply reschedule patch to 1.37 code.
Kern Sibbald [Tue, 22 Mar 2005 10:45:58 +0000 (10:45 +0000)]
Apply reschedule patch to 1.37 code.

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

19 years ago- Add copyright to title page of manual so it is clear.
Kern Sibbald [Tue, 22 Mar 2005 10:43:34 +0000 (10:43 +0000)]
- Add copyright to title page of manual so it is clear.
- Create patch for rescheduling problem found by Ludovic. Storage
  pointers were lost during rescheduling.
- Attempt to fix 2.6 rescue disk -- failed!
- Start working on adding a wait routine in the SD.
- Cleanup some old invalid doc in watchdog.
- Convert a number of references to dev->dev_name to dev->print_name().
- Add new wait.c file to SD.
- Add a few more methods to DEVICE in SD to cleanup code a
  bit -- implement a few of the methods.

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

19 years agoAdd Matt Howard's FileSet conversion script
Kern Sibbald [Sat, 19 Mar 2005 14:12:16 +0000 (14:12 +0000)]
Add Matt Howard's FileSet conversion script

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

19 years ago- Fix more print_name()s for printing device name.
Kern Sibbald [Fri, 18 Mar 2005 17:26:48 +0000 (17:26 +0000)]
- Fix more print_name()s for printing device name.
- Modify open_dev to try 10 times every 6 seconds to
  open the device if it gets an I/O error (meaning no
  volume mounted). This gives a bit of settling in time
  for an autochanger and avoids spurious messages.
- Change all yes/no to yes|no in the manual.
- Fix win32 create_file.c typo.
- Fix a typo in an error message.

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

19 years agoAdd new 1.36.2 patch
Kern Sibbald [Fri, 18 Mar 2005 15:45:16 +0000 (15:45 +0000)]
Add new 1.36.2 patch

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

19 years ago- Detect if fseeko exists with autoconf. If so, use it
Kern Sibbald [Thu, 17 Mar 2005 18:24:54 +0000 (18:24 +0000)]
- Detect if fseeko exists with autoconf. If so, use it
  and ftello.
- Remove old bacula-*.conf from examples directory (out
  of date).
- Remove latex-fr index files from CVS.
- Rewrite code that stops reading the tape so that the
  tape is marked at EOT, then once the work is done,
  the EOT flag is removed.
- Flush output to file after every send in console.
- Make setting VolFiles to smaller number fatal.
- Disable Multiple Connections code.
- Add patch from user for NetBSD statvsfs() fix to
  fstype.c
- Take more care with errors in acquire.c
- Don't run through dvd code in append.c if bad status
  returned.
- Modify code so that an autochanger fault is fatal.
- Use dev->print_name() in more places.
- Implement dev->can_steal_lock() to simplify code.
- Make btape re-read first 10000 records on fill command.
- Check error return and fail job from fseeko and ftello
  in spool.c.  Don't let a -1 slip in as size.

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

19 years agoAdd restore speed patch
Kern Sibbald [Thu, 17 Mar 2005 14:19:28 +0000 (14:19 +0000)]
Add restore speed patch

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

19 years agoUpgrade to 1.37 style Includes
Kern Sibbald [Mon, 14 Mar 2005 19:31:49 +0000 (19:31 +0000)]
Upgrade to 1.37 style Includes

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

19 years ago- Add a second job and a second client to the default
Kern Sibbald [Mon, 14 Mar 2005 19:27:52 +0000 (19:27 +0000)]
- Add a second job and a second client to the default
  bacula-dir.conf file.
- Remove old style Include/Excludes.

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

19 years ago- Fix ANSI labels to put EOF1 and EOF2 after each file mark.
Kern Sibbald [Mon, 14 Mar 2005 13:00:42 +0000 (13:00 +0000)]
- Fix ANSI labels to put EOF1 and EOF2 after each file mark.
- Add Python to SD and FD.

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

19 years ago- Implement IBM labels
Kern Sibbald [Sat, 12 Mar 2005 15:40:41 +0000 (15:40 +0000)]
- Implement IBM labels
- Implement EOF and EOV labels at the end of a volume.
- Fix a rather ugly problem with the PoolId not getting
  passed correctly. Now the DIR passes the Pool name and
  Media Type to the SD, who passes them back when requesting
  the next Volume. The DIR then looks up the correct PoolId.
  This takes more time, but always works, AND allows wild
  card Media Types (i.e. the SD can decide).
- The DIR <==> SD protocol has changed.

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

19 years agoFix grants for new tables in Postgresql
Kern Sibbald [Fri, 11 Mar 2005 15:36:19 +0000 (15:36 +0000)]
Fix grants for new tables in Postgresql

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

19 years agoFix error message
Kern Sibbald [Fri, 11 Mar 2005 12:55:17 +0000 (12:55 +0000)]
Fix error message

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

19 years agoFix scanf of PoolId in catreq to handle 64 bit Ids.
Kern Sibbald [Fri, 11 Mar 2005 11:39:58 +0000 (11:39 +0000)]
Fix scanf of PoolId in catreq to handle 64 bit Ids.

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

19 years agoFix bug #0000221 (Debian 292517)
Nicolas Boichat [Thu, 10 Mar 2005 17:16:50 +0000 (17:16 +0000)]
Fix bug #0000221 (Debian 292517)

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

19 years ago- Add new ua_update.c file and move update_cmd there.
Kern Sibbald [Thu, 10 Mar 2005 16:52:42 +0000 (16:52 +0000)]
- Add new ua_update.c file and move update_cmd there.
- Modify update slots to obtain actual number of slots.
- Tweak autochanger code to handle new slots request.
- Modify autochanger code to lock/unlock around slots and
  update slots code.

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

19 years agoPatch the FD so that it does not issue an error message if
Kern Sibbald [Wed, 9 Mar 2005 18:02:45 +0000 (18:02 +0000)]
Patch the FD so that it does not issue an error message if
  it attempts to restore the permissions on a Win32 drive.

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

19 years agoHammer Solaris autoconf incompatibilities
Kern Sibbald [Wed, 9 Mar 2005 17:34:31 +0000 (17:34 +0000)]
Hammer Solaris autoconf incompatibilities

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

19 years ago- Edit Resource-name (physical-name) for the device name
Kern Sibbald [Wed, 9 Mar 2005 11:57:04 +0000 (11:57 +0000)]
- Edit Resource-name (physical-name) for the device name
  everywhere in the SD.
- Remove .linked.tex files in preparation for cutover to
  using .tex in place of .wml.

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

19 years agoMove supported Autochangers to new chapter
Kern Sibbald [Wed, 9 Mar 2005 11:27:38 +0000 (11:27 +0000)]
Move supported Autochangers to new chapter

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

19 years agoMore device name convention
Kern Sibbald [Tue, 8 Mar 2005 21:49:30 +0000 (21:49 +0000)]
More device name convention

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

19 years ago- Copy latest config.sub and config.guess from autoconf.
Kern Sibbald [Tue, 8 Mar 2005 19:46:16 +0000 (19:46 +0000)]
- Copy latest config.sub and config.guess from autoconf.
- Try new way of identifying drives with:
   resource-name (physical-name)
  More work need to a complete conversion.

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

19 years ago- Rework some of the autochanger data so that the DIR has
Kern Sibbald [Mon, 7 Mar 2005 20:50:51 +0000 (20:50 +0000)]
- Rework some of the autochanger data so that the DIR has
  the number of drives.
- Modify the way the Device info is returned so that it comes
  back as a special message type and can be sent anytime the
  Device status changes.
- Copy the change name and changer command into the device
  record if none is specified.
- Require the change command and changer name to be specified in
  and AutoChanger resource.
- Force all the Media Type records of all devices in an Autochanger
  to be the same.

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

19 years agoAdd build switch for rhel3
Scott Barninger [Sun, 6 Mar 2005 17:37:41 +0000 (17:37 +0000)]
Add build switch for rhel3

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

19 years ago1.36.2 release
Scott Barninger [Sun, 6 Mar 2005 16:50:16 +0000 (16:50 +0000)]
1.36.2 release

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

19 years ago06Mar05
Kern Sibbald [Sun, 6 Mar 2005 14:56:05 +0000 (14:56 +0000)]
06Mar05
- Add new run command to Job resource in DIR. This permits
  cloning a job as many times as you want.
- Pass PoolId to SD on Query request. It is now used in the
  Find_media catalog request.
- Reworked the Device resource in the DIR. Eliminated num_waiting
  and use_count, but added max_writers, reserved, and PoolId.
- This DIR is nolonger compatible with previous SDs.
- Add since and cloned keywords to the Console run command
  to support cloning.
- Implemented store_alist_str() to allow multiple string items
  to be specified in a .conf file.
- Added %s (since time) to Job code editing.
- Reworked reserving drives in the SD. It now does it much simpler
  and correctly.
05Mar05
- Integrate HP-UX patch from  Olivier Mehani <olivier.mehani@linbox.com>
- Fix FD job.c to test correctly for no level.

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

19 years agoAdd old 1.36.1 patches in new directory
Kern Sibbald [Sun, 6 Mar 2005 13:45:35 +0000 (13:45 +0000)]
Add old 1.36.1 patches in new directory

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

19 years agoAdd match_bsr.c
Kern Sibbald [Sat, 5 Mar 2005 07:41:50 +0000 (07:41 +0000)]
Add match_bsr.c

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

19 years agoChange match_bsr.c options
Kern Sibbald [Sat, 5 Mar 2005 07:41:14 +0000 (07:41 +0000)]
Change match_bsr.c options

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

19 years agoAdd ebcdic translation code
Kern Sibbald [Sat, 5 Mar 2005 07:38:55 +0000 (07:38 +0000)]
Add ebcdic translation code

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

19 years agoCreate 1.36.2 patch
Kern Sibbald [Fri, 4 Mar 2005 09:24:56 +0000 (09:24 +0000)]
Create 1.36.2 patch

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

19 years ago- Change Developers to Developer's Guide as requested by Michael.
Kern Sibbald [Fri, 4 Mar 2005 08:12:17 +0000 (08:12 +0000)]
- Change Developers to Developer's Guide as requested by Michael.
- Fix developers link in manual
- Add additional dcr changes in SD to allow multiple dcrs.

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

19 years agoTake MediaType from Storage record
Kern Sibbald [Wed, 2 Mar 2005 16:41:05 +0000 (16:41 +0000)]
Take MediaType from Storage record

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

19 years ago- Fix a few problems with the MySQL table create in 1.37.
Kern Sibbald [Wed, 2 Mar 2005 14:40:59 +0000 (14:40 +0000)]
- Fix a few problems with the MySQL table create in 1.37.
- Delete the new tables in the table delete files.
- Increase the number of items permitted in a conf table.

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

19 years ago- Make Director loop over alternative Devices specified in the
Kern Sibbald [Wed, 2 Mar 2005 11:38:09 +0000 (11:38 +0000)]
- Make Director loop over alternative Devices specified in the
  Storage resource until one is reserved by SD.
- Fix storing of StorageId in Media records.
- Add AutoSelect = yes|no in bacula-sd.conf
- Add Autochanger support to Label command.
- Do not autoselect devices with autoselect set false

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

19 years agoFix tray-monitor.conf for noreplace
Scott Barninger [Tue, 1 Mar 2005 21:59:40 +0000 (21:59 +0000)]
Fix tray-monitor.conf for noreplace

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

19 years ago- Implement setting DIR Storage device to Autochanger
Kern Sibbald [Tue, 1 Mar 2005 21:54:22 +0000 (21:54 +0000)]
- Implement setting DIR Storage device to Autochanger
  name.
- Select first available device in Autochanger.
- Pass back actual device name used.
- Allow Query of AutoChanger.
- Modify Query to include name of AutoChanger if
  Device belongs to one.
- Remove old Pool code in jobq.c
- Add Autoselect flag to query and DEVICE class (still
  need Directive).

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

19 years agoFix dist detection.
Scott Barninger [Tue, 1 Mar 2005 20:57:10 +0000 (20:57 +0000)]
Fix dist detection.

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

19 years agoUpdate doc + news
Kern Sibbald [Mon, 28 Feb 2005 18:27:42 +0000 (18:27 +0000)]
Update doc + news

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

19 years ago- Lock autochanger script when running.
Kern Sibbald [Mon, 28 Feb 2005 17:54:22 +0000 (17:54 +0000)]
- Lock autochanger script when running.
- Mark Volume not InChanger if correct volume is not
  autoloaded.

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

19 years ago- Corrected some typos in the make_xxx_tables.in files.
Kern Sibbald [Mon, 28 Feb 2005 14:02:09 +0000 (14:02 +0000)]
- Corrected some typos in the make_xxx_tables.in files.
- Made preliminary split of pre-run and run code for each
  job type. This will permit early opening of SD for reserving
  drives.
- Add offline and autochanger fields to Device Query record.
- Correct pthread_mutex_init() for autochanger in SD.
- Tweak Makefile for LaTeX manual, plus add nav buttons.

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

19 years agoFix some bugs in SD with multiple files
Kern Sibbald [Sat, 26 Feb 2005 16:01:45 +0000 (16:01 +0000)]
Fix some bugs in SD with multiple files

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

19 years ago- Clean up drive reservation system. Add more sanity checks.
Kern Sibbald [Sat, 26 Feb 2005 11:28:03 +0000 (11:28 +0000)]
- Clean up drive reservation system. Add more sanity checks.
- Implement a few more methods for the DEVICE class in SD.
- Add latex directories to make clean
- move DEV_BSIZE to B_DEV_BSIZE to avoid conflicts with
  certain header files (FreeBSD).

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

19 years agoMakefile.in again
Kern Sibbald [Fri, 25 Feb 2005 18:16:32 +0000 (18:16 +0000)]
Makefile.in again

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

19 years agoMore fixes to Makefile.in
Kern Sibbald [Fri, 25 Feb 2005 18:14:23 +0000 (18:14 +0000)]
More fixes to Makefile.in

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

19 years agoFix Makefile
Kern Sibbald [Fri, 25 Feb 2005 18:11:13 +0000 (18:11 +0000)]
Fix Makefile

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

19 years agoMake filed/job.c downward compatible
Kern Sibbald [Fri, 25 Feb 2005 09:48:47 +0000 (09:48 +0000)]
Make filed/job.c downward compatible

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

19 years ago24Feb05
Kern Sibbald [Fri, 25 Feb 2005 09:19:05 +0000 (09:19 +0000)]
24Feb05
- Fix an ASSERT that was triggering in stored/acquire.c
  attempt to fix a bug report.
23Feb05
- Corrected SunOs to SunOS in btraceback (user submitted).
- Applied patch from Roger HÃ¥kansson <hson@ludd.luth.se>
  to warn the user of defective AWKs during ./configure.

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

19 years ago- Add some changes submitted by a user for HP client build.
Kern Sibbald [Tue, 22 Feb 2005 07:52:16 +0000 (07:52 +0000)]
- Add some changes submitted by a user for HP client build.
  Not all changes accepted.
- Rework code in filed/backup.c to ease #ifdefing and make
  program flow more obvious.
- Split DVD code out of dev.c into dvd.c

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

19 years ago- Make clean remove old CVS files
Kern Sibbald [Mon, 21 Feb 2005 12:00:23 +0000 (12:00 +0000)]
- Make clean remove old CVS files
- Remove unnecessary image files from Latex directory
- Implement remaining parts of Storage DB record and
  its use in the Director.
- Implement
  FullMaxWaitTime, Differential Max Wait Time, and
  Incremental Max Wait time in Job resource.
- Start work on SD Autochanger code.

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

19 years agoAdd patches from Roger Håkansson <hson <at> ludd.luth.se>
Dan Langille [Mon, 21 Feb 2005 00:09:38 +0000 (00:09 +0000)]
Add patches from Roger Håkansson <hson <at> ludd.luth.se>
Improve the scripts so they work in a wider range of conditions.

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

19 years agoUpdate tests
Kern Sibbald [Sun, 20 Feb 2005 17:26:49 +0000 (17:26 +0000)]
Update tests

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

19 years agoUpdate scripts
Kern Sibbald [Sun, 20 Feb 2005 17:16:33 +0000 (17:16 +0000)]
Update scripts

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

19 years ago- Add back JobId index for MySQL as default -- speeds up
Kern Sibbald [Sat, 19 Feb 2005 15:29:48 +0000 (15:29 +0000)]
- Add back JobId index for MySQL as default -- speeds up
  pruning.
- Add more database fields and fix the update scripts to
  include the new items.
- Pass actual level to FD so that ClientRun editing can reflect
  correct level -- ditto for job status. This makes the DIR
  incompatible with older clients!
- Move jobq.c acquire resources to static subroutine so that
  the code logic becomes clearer. This is in preparation for
  actually using the new Device resources.
- Fix some lower case problems in sql_cmds.c reported by
  Debian.
- Correct a seg fault in the SD reported by a user. Occurred
  only when a high debug level was set.
- Modify init_dev() in dev.c to take JCR as first arg so that
  proper error messages can be reported in next item.
- Modify the query and use device SD commands to attempt to
  open the device if it could not previously be opened.
- Correct error message for Could not reserve device.
- Correct some minor details with Autochanger resource in SD.

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

19 years agoMinor doc tweaks
Kern Sibbald [Thu, 17 Feb 2005 15:08:47 +0000 (15:08 +0000)]
Minor doc tweaks

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