]> git.sur5r.net Git - bacula/bacula/log
bacula/bacula
19 years ago- Fix lib/fnmatch.c so that it does proper testing before folding.
Kern Sibbald [Mon, 2 May 2005 13:23:27 +0000 (13:23 +0000)]
- Fix lib/fnmatch.c so that it does proper testing before folding.
- More documentation -- at tls and ansi labels chapters.
- Fix fileset_convert.pl to handle empty Exclude statements.
- Turn regex back off in Win32

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

19 years agoadded (unsigned char) to prevent assertion in win32
Thorsten Engel [Mon, 2 May 2005 10:49:29 +0000 (10:49 +0000)]
added (unsigned char) to prevent assertion in win32

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

19 years agoMore regex stuff
Kern Sibbald [Sun, 1 May 2005 12:37:42 +0000 (12:37 +0000)]
More regex stuff

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

19 years agoChange name of regex.h
Kern Sibbald [Sun, 1 May 2005 12:26:29 +0000 (12:26 +0000)]
Change name of regex.h

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

19 years agoAdd start of regex
Kern Sibbald [Sun, 1 May 2005 12:25:48 +0000 (12:25 +0000)]
Add start of regex

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

19 years ago- Fix sign extension problem in lex.c that reads UTF-8
Kern Sibbald [Sun, 1 May 2005 09:26:28 +0000 (09:26 +0000)]
- Fix sign extension problem in lex.c that reads UTF-8
  with Chinese characters incorrectly.

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

19 years agoRemove test
Kern Sibbald [Sat, 30 Apr 2005 19:41:43 +0000 (19:41 +0000)]
Remove test

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

19 years agoStart Python documentation
Kern Sibbald [Sat, 30 Apr 2005 19:39:50 +0000 (19:39 +0000)]
Start Python documentation

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

19 years ago- Remove a few HAVE_TLS #ifdefs
Kern Sibbald [Sat, 30 Apr 2005 14:47:49 +0000 (14:47 +0000)]
- Remove a few HAVE_TLS #ifdefs
- Implement final Python style interface. More implemention to
  be done, but the interface should change little if at all.

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

19 years agoUpdate release notes
Kern Sibbald [Thu, 28 Apr 2005 20:38:42 +0000 (20:38 +0000)]
Update release notes

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

19 years ago- Make default no tls support. You must add
Kern Sibbald [Thu, 28 Apr 2005 19:16:22 +0000 (19:16 +0000)]
- Make default no tls support. You must add
  --with-openssl to get tls support.

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

19 years ago- Update Web header to include google search in the search
Kern Sibbald [Wed, 27 Apr 2005 20:52:59 +0000 (20:52 +0000)]
- Update Web header to include google search in the search
  box -- thanks to input from Michel Meyers.
- Fix md5sum so that it builds with the new openssl stuff.
- Take some enhancements to the md5sum test program proposed
  by a user.

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

19 years agoMake option 2 of restore work better (list last 20
Kern Sibbald [Tue, 26 Apr 2005 21:24:15 +0000 (21:24 +0000)]
Make option 2 of restore work better (list last 20
  locations for a file).

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

19 years agowx-console: Improve error handling when reading configuration file.
Nicolas Boichat [Tue, 26 Apr 2005 21:21:35 +0000 (21:21 +0000)]
wx-console: Improve error handling when reading configuration file.

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

19 years ago- Make SD re-open a device with the right permissions if
Kern Sibbald [Tue, 26 Apr 2005 19:46:01 +0000 (19:46 +0000)]
- Make SD re-open a device with the right permissions if
  it was previously opened with something different.  This
  should allow reading read-only Volumes under all circumstances.
- Implement restore of a single directory.

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

19 years agoAdd new dir
Kern Sibbald [Tue, 26 Apr 2005 19:29:24 +0000 (19:29 +0000)]
Add new dir

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

19 years agoFixes wx-console compile error with unicode-enabled wxWidgets.
Nicolas Boichat [Tue, 26 Apr 2005 17:30:49 +0000 (17:30 +0000)]
Fixes wx-console compile error with unicode-enabled wxWidgets.

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

19 years agoUpdate kernstodo + add newline in message
Kern Sibbald [Tue, 26 Apr 2005 15:22:48 +0000 (15:22 +0000)]
Update kernstodo + add newline in message

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

19 years ago- Implement restore of a single directory.
Kern Sibbald [Tue, 26 Apr 2005 15:04:27 +0000 (15:04 +0000)]
- Implement restore of a single directory.
- Apply Tru64 patch supplied by Pascal Pederiva freebsd@paped.com
- Apply Unicode fixes for Win32 from Thorsten Engel
  thorsten.engel@matrix-computer.com

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

19 years agoUpdate projects
Kern Sibbald [Tue, 26 Apr 2005 09:10:13 +0000 (09:10 +0000)]
Update projects

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

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