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

19 years agoMake another attempt at fixing the ClientRunXXX return code
Kern Sibbald [Wed, 16 Feb 2005 12:48:46 +0000 (12:48 +0000)]
Make another attempt at fixing the ClientRunXXX return code
  bug on Win32 machines.

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

19 years ago- Fix Media LabelDate and FirstWritten to be correctly set.
Kern Sibbald [Tue, 15 Feb 2005 22:04:34 +0000 (22:04 +0000)]
- Fix Media LabelDate and FirstWritten to be correctly set.
- Fix deadlock in multiple simultaneous jobs.
- Fix tape truncation/number of files after restore bug.

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

19 years agoEnsure that correct error messages are returned when
Kern Sibbald [Thu, 10 Feb 2005 13:42:10 +0000 (13:42 +0000)]
Ensure that correct error messages are returned when
  reading an ANSI label.

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

19 years ago- Modified ANSI label code to preserve any ANSI label
Kern Sibbald [Wed, 9 Feb 2005 14:40:03 +0000 (14:40 +0000)]
- Modified ANSI label code to preserve any ANSI label
  already found by skipping over it rather than rewriting
  it.
- Split the ANSI label code into ansi_label.c
- Do not let user relabel an ANSI labeled tape.
- Applied a patch for the console help command supplied
  in a bug report.
- Added some new dev methods. Most notably was
  set_eof(), which handles setting all the dev variables
  when an EOF is just read. This is now used most everywhere
  in the code.

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

19 years agoAdd BACULA.DATA to HDR1 record
Kern Sibbald [Mon, 7 Feb 2005 21:35:05 +0000 (21:35 +0000)]
Add BACULA.DATA to HDR1 record

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

19 years agoAdded code to detect that no files were inserted into the
Kern Sibbald [Mon, 7 Feb 2005 16:20:46 +0000 (16:20 +0000)]
Added code to detect that no files were inserted into the
  tree for a restore. If a specific JobId was specified, the
  user has the option of restoring everything.
- More progress in implementing 64 bit DB Ids.
- Modified the daemon start messages for RH.
- Implement update scripts for all database types.
- First cut at implementing restore directory (it will not
  recurse).

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

19 years agoResolve bug 181
Scott Barninger [Sun, 6 Feb 2005 14:27:55 +0000 (14:27 +0000)]
Resolve bug 181

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

19 years agoAdd logwatch and dvd write scripts
Scott Barninger [Sun, 6 Feb 2005 12:56:14 +0000 (12:56 +0000)]
Add logwatch and dvd write scripts

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

19 years agoOK, ANSI labels seem to be working now
Kern Sibbald [Fri, 4 Feb 2005 11:06:08 +0000 (11:06 +0000)]
OK, ANSI labels seem to be working now

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

19 years agoUpdate kernstodo
Kern Sibbald [Thu, 3 Feb 2005 15:09:08 +0000 (15:09 +0000)]
Update kernstodo

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

19 years agoCut 3 ANSI labels
Kern Sibbald [Wed, 2 Feb 2005 23:13:23 +0000 (23:13 +0000)]
Cut 3 ANSI labels

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

19 years agoSecond cut ANSI labels
Kern Sibbald [Wed, 2 Feb 2005 22:04:00 +0000 (22:04 +0000)]
Second cut ANSI labels

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

19 years agoAdd more use of dev methods
Kern Sibbald [Wed, 2 Feb 2005 14:10:27 +0000 (14:10 +0000)]
Add more use of dev methods

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

19 years agoAdd more info in dev error msg + codes
Kern Sibbald [Wed, 2 Feb 2005 14:06:36 +0000 (14:06 +0000)]
Add more info in dev error msg + codes

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

19 years agoMerge Preben's patch for ACLs and for Mac OS X resource forks.
Kern Sibbald [Tue, 1 Feb 2005 10:01:30 +0000 (10:01 +0000)]
Merge Preben's patch for ACLs and for Mac OS X resource forks.
- Some doc updates.

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

19 years agoDisplay more informative message when a device was not
Kern Sibbald [Tue, 1 Feb 2005 08:13:21 +0000 (08:13 +0000)]
Display more informative message when a device was not
  found or could not be opened.
- Add the sqlite3 database scripts.
- Add some patches for 1.36.1 (note, I have now prepared
  a 1.36.2 with all the patches and some new features --
  to be documented).
- Some minor doc updates.
- Add Arno's baculareport.pl script to the examples directory.

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

19 years agoVacation work -- see tech log
Kern Sibbald [Sat, 29 Jan 2005 22:39:04 +0000 (22:39 +0000)]
Vacation work -- see tech log

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

19 years agoAdd start/endtime
Kern Sibbald [Sat, 29 Jan 2005 20:52:15 +0000 (20:52 +0000)]
Add start/endtime

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

19 years agoFix group_file var in post scripts.
Scott Barninger [Fri, 14 Jan 2005 21:40:13 +0000 (21:40 +0000)]
Fix group_file var in post scripts.

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

19 years agoAdd ignore files
Kern Sibbald [Fri, 14 Jan 2005 11:17:46 +0000 (11:17 +0000)]
Add ignore files

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

19 years agoManual updates + message change
Kern Sibbald [Fri, 14 Jan 2005 11:02:16 +0000 (11:02 +0000)]
Manual updates + message change

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

19 years agoParameterize the LaTeX Makefile a bit and add all files
Kern Sibbald [Wed, 12 Jan 2005 13:44:43 +0000 (13:44 +0000)]
Parameterize the LaTeX Makefile a bit and add all files

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

19 years agoIntegrate Preben 'Peppe' Guldberg <peppe@wielders.org>'s
Kern Sibbald [Wed, 12 Jan 2005 09:41:23 +0000 (09:41 +0000)]
Integrate Preben 'Peppe' Guldberg <peppe@wielders.org>'s
  acl patch. Fix case where configured but no ACL exists.
  Rework calling arguments to be shorter and positioned
  more typically in Bacula usage.

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

19 years agoFix scripts/bacula.in to have awk on an environment variable
Kern Sibbald [Tue, 11 Jan 2005 21:36:20 +0000 (21:36 +0000)]
Fix scripts/bacula.in to have awk on an environment variable
  and add comments for Solaris users.
- Turn off inet_aton in src/lib/address_conf.c for Win32
- Add new files to win32 build and eliminate a compiler warning.
- Add sample DVD Device resource to bacula-sd.conf

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

19 years agoUpdate the documentation and ReleaseNotes.
Nicolas Boichat [Sun, 9 Jan 2005 15:32:53 +0000 (15:32 +0000)]
Update the documentation and ReleaseNotes.

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

19 years agoFixed configure script so scripts/dvd-freespace/writepart are created at configure...
Nicolas Boichat [Sun, 9 Jan 2005 13:50:37 +0000 (13:50 +0000)]
Fixed configure script so scripts/dvd-freespace/writepart are created at configure time. Added explanation in src/stored/dev.c.

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

19 years agoIntegrate Nicolas' patch for direct DVD support.
Kern Sibbald [Sat, 8 Jan 2005 14:44:25 +0000 (14:44 +0000)]
Integrate Nicolas' patch for direct DVD support.

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

19 years agoAdd dvd scripts
Kern Sibbald [Sat, 8 Jan 2005 14:04:40 +0000 (14:04 +0000)]
Add dvd scripts

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

19 years agoAdd logwatch filter.
Scott Barninger [Sat, 8 Jan 2005 14:03:18 +0000 (14:03 +0000)]
Add logwatch filter.

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

19 years agoAdd acl_text to jcr
Kern Sibbald [Fri, 7 Jan 2005 15:27:49 +0000 (15:27 +0000)]
Add acl_text to jcr

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

19 years agoSecond tweak to acl.c
Kern Sibbald [Fri, 7 Jan 2005 15:18:35 +0000 (15:18 +0000)]
Second tweak to acl.c

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

19 years agoQuickie patch to acl.c
Kern Sibbald [Fri, 7 Jan 2005 15:00:00 +0000 (15:00 +0000)]
Quickie patch to acl.c

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

19 years agoFix fstype error returns
Kern Sibbald [Fri, 7 Jan 2005 14:45:42 +0000 (14:45 +0000)]
Fix fstype error returns

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

19 years agoApply Preben's cleanup.patch which puts back much of the
Kern Sibbald [Fri, 7 Jan 2005 14:17:01 +0000 (14:17 +0000)]
Apply Preben's cleanup.patch which puts back much of the
  cleanup code in src/filed/restore.c

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

19 years agoFix links on Web site to Beta manual
Kern Sibbald [Thu, 6 Jan 2005 17:37:57 +0000 (17:37 +0000)]
Fix links on Web site to Beta manual

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

19 years ago- Apply all of Preben's patches, but revert to old backup.c
Kern Sibbald [Thu, 6 Jan 2005 16:37:20 +0000 (16:37 +0000)]
- Apply all of Preben's patches, but revert to old backup.c
  and old restore.c in filed. Also turn off code in new
  acl.c because of errors.  The new code, when fully implemented
  moves platform specific code into acl.c.
  One of the patches also implements WildFile and WildDir -- thanks.

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