]> git.sur5r.net Git - bacula/bacula/log
bacula/bacula
20 years ago- Add grep ONLINE to wait_for_drive() in mtx-changer.in
Kern Sibbald [Sun, 24 Oct 2004 15:12:31 +0000 (15:12 +0000)]
- Add grep ONLINE to wait_for_drive() in mtx-changer.in
- More doc.
- Rebuild Scott's new configure

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

20 years agoAdd gentoo ebuild and new gentoo init
Scott Barninger [Sun, 24 Oct 2004 13:58:25 +0000 (13:58 +0000)]
Add gentoo ebuild and new gentoo init

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

20 years agoRPM - fix permissions on tray-monitor
Scott Barninger [Sat, 23 Oct 2004 00:14:03 +0000 (00:14 +0000)]
RPM - fix permissions on tray-monitor

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

20 years agoRPM spec - remove tray-monitor from rh8 build
Scott Barninger [Fri, 22 Oct 2004 15:39:13 +0000 (15:39 +0000)]
RPM spec - remove tray-monitor from rh8 build

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

20 years agoCorrect type in rpm spec file.
Scott Barninger [Fri, 22 Oct 2004 10:48:09 +0000 (10:48 +0000)]
Correct type in rpm spec file.

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

20 years agoFinal changes
Kern Sibbald [Wed, 20 Oct 2004 19:13:57 +0000 (19:13 +0000)]
Final changes

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

20 years agoMove patch files
Kern Sibbald [Wed, 20 Oct 2004 13:55:29 +0000 (13:55 +0000)]
Move patch files

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

20 years ago- Fix altering PostgreSQL table to be compatible with version 7.3.
Kern Sibbald [Wed, 20 Oct 2004 13:35:22 +0000 (13:35 +0000)]
- Fix altering PostgreSQL table to be compatible with version 7.3.

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

20 years ago- Modify install of make_catalog_backup and delete_catalog_backup so
Kern Sibbald [Tue, 19 Oct 2004 21:46:30 +0000 (21:46 +0000)]
- Modify install of make_catalog_backup and delete_catalog_backup so
  that it will not overwrite any existing file.

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

20 years ago- Modified detection of largefiles to always set all flags regardless
Kern Sibbald [Tue, 19 Oct 2004 13:35:19 +0000 (13:35 +0000)]
- Modified detection of largefiles to always set all flags regardless
  of the machine.
- Modify autostart scripts to start Bacula late in the process and
  terminate it early.
- Drop CDImages table in drop database tables scripts.
- Alter casting of (void *) in gnome2-console/restore.c to pass
  by a (long int) so that it works with 64 bit machines.
- Add more debug to heartbeat.c in FD for problem of dropped connections.

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

20 years ago- Fix crash on exit with -t option in FD on 2.6 kernels --
Kern Sibbald [Mon, 18 Oct 2004 15:29:00 +0000 (15:29 +0000)]
- Fix crash on exit with -t option in FD on 2.6 kernels --
  uninitialized thread id variable.
- Add additional SD and FD debug info to detect network hang.
- Fix bnet_strerror() routine not to return stack pointer.
- Put latest update routines in updatedb.

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

20 years agoFix mysql create
Kern Sibbald [Sat, 16 Oct 2004 21:59:54 +0000 (21:59 +0000)]
Fix mysql create

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

20 years agoDocumentation +
Kern Sibbald [Sat, 16 Oct 2004 11:51:32 +0000 (11:51 +0000)]
Documentation +
- Fix error during restore error reported by Christopher Hull when
  no tape in the drive (open fails).
- Add more precise error reporting to FD when a network error
  occurs.

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

20 years agoUpdate database scripts to include CDImages table for bimagemgr.
Scott Barninger [Sat, 16 Oct 2004 11:30:39 +0000 (11:30 +0000)]
Update database scripts to include CDImages table for bimagemgr.

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

20 years agoFix SQL syntax error
Kern Sibbald [Fri, 15 Oct 2004 19:32:18 +0000 (19:32 +0000)]
Fix SQL syntax error

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

20 years agoUpdate version date
Kern Sibbald [Fri, 15 Oct 2004 17:10:22 +0000 (17:10 +0000)]
Update version date

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

20 years ago- Update all the db update scripts to include the new multiple
Kern Sibbald [Fri, 15 Oct 2004 17:09:21 +0000 (17:09 +0000)]
- Update all the db update scripts to include the new multiple
  key index on File proposed by Martin, and to fix up a few
  minor things with PostgreSQL.
- Apply Christopher Hull's patch for getting the catalog correct
  during a restore.
- Created a patch for 1.34.6 (and code in 1.35) to detect passing
  the A option to the FD, which means enable ACL processing.
  Submitted by Ben Vitale.
- Fix empty files reported by Marin (zero file_size in dev.c).

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

20 years agoAdd LSB init info to SuSE init scripts
Scott Barninger [Thu, 14 Oct 2004 20:33:02 +0000 (20:33 +0000)]
Add LSB init info to SuSE init scripts

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

20 years agoRPM changes for 1.35.8/1.36.0
Scott Barninger [Wed, 13 Oct 2004 21:32:16 +0000 (21:32 +0000)]
RPM changes for 1.35.8/1.36.0

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

20 years agoFix MySQL syntax error
Kern Sibbald [Wed, 13 Oct 2004 20:55:41 +0000 (20:55 +0000)]
Fix MySQL syntax error

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

20 years agoCorrect #ifdefing for CONSOLEs
Kern Sibbald [Wed, 13 Oct 2004 16:35:57 +0000 (16:35 +0000)]
Correct #ifdefing for CONSOLEs

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

20 years ago- Add a kludge to detect bad date/times, which cause a seg fault in
Kern Sibbald [Wed, 13 Oct 2004 16:10:10 +0000 (16:10 +0000)]
- Add a kludge to detect bad date/times, which cause a seg fault in
  Microsoft's version of localtime_r().  So, now we know that Microsoft
  programmers do not check return codes!
- Minor update to web site (new projects page).
- Remove bigint for filenameid from postgresql table -- as demonstrated
  by Martin, it has negative performance repercussions.
- Rework getuser() and getgroup() to avoid any possible race condition
  by returning the value in a buffer rather than from the cached table.
- Add a bit more debug code to the FD status output.

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

20 years agoUpdates
Kern Sibbald [Mon, 11 Oct 2004 08:51:18 +0000 (08:51 +0000)]
Updates

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

20 years agoDocumentation
Kern Sibbald [Sat, 9 Oct 2004 13:57:02 +0000 (13:57 +0000)]
Documentation

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

20 years agoIntegrate Peter Ericksson's dbx traceback scripts into Bacula
Kern Sibbald [Sat, 9 Oct 2004 12:16:54 +0000 (12:16 +0000)]
Integrate Peter Ericksson's dbx traceback scripts into Bacula

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

20 years agoFix segfault in lsmark command in restore tree.
Kern Sibbald [Fri, 8 Oct 2004 19:57:27 +0000 (19:57 +0000)]
Fix segfault in lsmark command in restore tree.

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

20 years agoFix segfault in editing numbers in count command of restore tree.
Kern Sibbald [Fri, 8 Oct 2004 18:50:30 +0000 (18:50 +0000)]
Fix segfault in editing numbers in count command of restore tree.

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

20 years ago- Add missing #define for IPV6 found by Martin in address_conf.c
Kern Sibbald [Fri, 8 Oct 2004 08:15:40 +0000 (08:15 +0000)]
- Add missing #define for IPV6 found by Martin in address_conf.c
- Use strcasecmp() instead of strcmp() in address_conf.c

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

20 years agoFix editing bug with new code
Kern Sibbald [Thu, 7 Oct 2004 16:23:26 +0000 (16:23 +0000)]
Fix editing bug with new code
- Fix bug where SD crashes on label if drive is not open
  (i.e. Always Open = no).

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

20 years ago- Added Rerun Failed Levels = yes/no
Kern Sibbald [Thu, 7 Oct 2004 15:26:37 +0000 (15:26 +0000)]
- Added Rerun Failed Levels = yes/no
- Made calling offline_or_rewind() non-fatal if the
  device is not open.
- Added Martin's suggestion to have multiple level index on
  the file table.

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

20 years ago- Update doc
Kern Sibbald [Thu, 7 Oct 2004 12:11:56 +0000 (12:11 +0000)]
- Update doc
- Fix misspelled #define in mysql.c for threading pointed out
  by a user.
- Fix incorrect prototype.
- Attempt to fix Solaris crash in SD during status command.

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

20 years agoAdd updates
Kern Sibbald [Wed, 6 Oct 2004 08:55:52 +0000 (08:55 +0000)]
Add updates

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

20 years ago- Fix backspace to first character in conio.c
Kern Sibbald [Mon, 4 Oct 2004 20:34:02 +0000 (20:34 +0000)]
- Fix backspace to first character in conio.c
- Add umount command for Phil. :-)
- Fix update volume volfrompool.
- Modify restore to print an error message if the size of a
  restored file does not correspond to the saved stat packet.
- Fix count of files to be restored *not* to include
  top level created directories.

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

20 years agoFinal changes
Kern Sibbald [Sun, 3 Oct 2004 19:49:57 +0000 (19:49 +0000)]
Final changes

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

20 years agoFinal changes
Kern Sibbald [Sun, 3 Oct 2004 19:49:56 +0000 (19:49 +0000)]
Final changes

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

20 years agoFinal changes
Kern Sibbald [Sun, 3 Oct 2004 09:10:29 +0000 (09:10 +0000)]
Final changes

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

20 years agoUpdate notes
Kern Sibbald [Sat, 2 Oct 2004 10:34:01 +0000 (10:34 +0000)]
Update notes

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

20 years ago- Use different share mode when opening files on WinMe/98/95 since
Kern Sibbald [Sat, 2 Oct 2004 10:19:09 +0000 (10:19 +0000)]
- Use different share mode when opening files on WinMe/98/95 since
  SHARE_DELETE is not implemented on those systems.
- In new syntax Includes, pass *all* files through the acceptance
  filter so that no error messages will be printed for files that
  cannot be opened if they are excluded.
- Fix bug 126 (Martin) -- prevent failed console label request from
  going into fixup code and thus trying to update the catalog.
- Always fold case in fnmatch() on Win32 systems
- Create patches/README and the patch summary file.

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

20 years ago- Apply Martin's patch for fixing console modifications to Verify Jobs.
Kern Sibbald [Thu, 30 Sep 2004 14:15:05 +0000 (14:15 +0000)]
- Apply Martin's patch for fixing console modifications to Verify Jobs.
- Fix Win32 so that it can backup files that are opened by programs
  such as Word (certain open system files cannot be backed up).

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

20 years ago- Fix Storage overrides in Run directive
Kern Sibbald [Wed, 29 Sep 2004 19:58:17 +0000 (19:58 +0000)]
- Fix Storage overrides in Run directive

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

20 years ago- Fix seg fault in AlertCommand
Kern Sibbald [Wed, 29 Sep 2004 19:11:17 +0000 (19:11 +0000)]
- Fix seg fault in AlertCommand
- Fix btape test and fill commands to work with new SD
  data structures.  There are still problems ...

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

20 years agoDoc updates +
Kern Sibbald [Mon, 27 Sep 2004 21:48:35 +0000 (21:48 +0000)]
Doc updates +
partially fix btape to work with the new device driver

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

20 years agoApply NetBSD patches provided by Frank Kardel
Kern Sibbald [Mon, 27 Sep 2004 12:29:06 +0000 (12:29 +0000)]
Apply NetBSD patches provided by Frank Kardel
- Fix to search libraries differently for PostgreSQL in configure
- Fix to not #define the Bacula uintxx values if already defined

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

20 years ago- Correct buffer length passed to inet_ntop() in address_conf.c
Kern Sibbald [Mon, 27 Sep 2004 07:01:38 +0000 (07:01 +0000)]
- Correct buffer length passed to inet_ntop() in address_conf.c
- Increase the debug level of a lot of messages to reduce the
  debugging noise.
- Modify how ST_APPEND is handled so that nothing is written
  to the Volume if it is not set. It is now set only when
  the Volume label is verified, and released when the volume
  is released. This required a number of minor but rather
  critical and fundamental changes.
- Improve quickly terminating a job in the SD when it errs.
  More status checking and a few additional checks on
  job_canceled() and check more error return statuses.
- Added a number of debug statements (to be removed later) that
  check the VolCatName for a name.
- Create a single subroutine that handles terminating writing
  on a Volume at the end of the volume (or after an error).
- Continued to add use of the berrno classs for strerror().

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

20 years agoOops
Kern Sibbald [Sat, 25 Sep 2004 20:19:14 +0000 (20:19 +0000)]
Oops

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

20 years ago- Make run_grub print manual procedure for installing grub
Kern Sibbald [Sat, 25 Sep 2004 19:45:04 +0000 (19:45 +0000)]
- Make run_grub print manual procedure for installing grub
- Add extra setsockopt keepalive.
- Add code to set as many options as possible in the system
  tape driver for different OSes.

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

20 years agoFix Solaris link error (-lX11 missing).
Nicolas Boichat [Sat, 25 Sep 2004 10:19:59 +0000 (10:19 +0000)]
Fix Solaris link error (-lX11 missing).

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

20 years agoFix Solaris C++ type warnings. -- bug 119
Nicolas Boichat [Sat, 25 Sep 2004 08:43:51 +0000 (08:43 +0000)]
Fix Solaris C++ type warnings. -- bug 119

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

20 years agotray-monitor ignore SIGPIPE.
Nicolas Boichat [Fri, 24 Sep 2004 16:40:04 +0000 (16:40 +0000)]
tray-monitor ignore SIGPIPE.

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

20 years ago- Apply Peter Eriksson's patch to configure.in fixes finding
Kern Sibbald [Fri, 24 Sep 2004 15:53:00 +0000 (15:53 +0000)]
- Apply Peter Eriksson's patch to configure.in fixes finding
  correct libs on Solaris to link conio -- bug 121
- Add expected number of files to Verify VolumeToCatalog, and
  if it does not equal the examined files, fail the job.
  Fixes bug -- 114

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

20 years ago- Modify the depend section of each Makefile.in to reference
Kern Sibbald [Fri, 24 Sep 2004 12:30:34 +0000 (12:30 +0000)]
- Modify the depend section of each Makefile.in to reference
  instead of  -- bug 118
- Remove the word restore from the Volumes needed message in
  dird/bsr.c since the message is used for Restore and Verify.
- Fix initialization and copying of the storage resource when
  starting jobs (and in jobq.c when restarting). In some cases
  jcr->store was not set causing a segfault -- bug 116

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

20 years agoFix Solaris crash.
Nicolas Boichat [Fri, 24 Sep 2004 10:34:56 +0000 (10:34 +0000)]
Fix Solaris crash.

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

20 years agoRemove debug EndFile debug code
Kern Sibbald [Fri, 24 Sep 2004 09:57:41 +0000 (09:57 +0000)]
Remove debug EndFile debug code

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

20 years ago23Sep04
Kern Sibbald [Thu, 23 Sep 2004 19:13:21 +0000 (19:13 +0000)]
23Sep04
- More doc.
- Pass EndFile and EndBlock to SD.

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

20 years agoUpdate the update scripts in updatedb
Kern Sibbald [Thu, 23 Sep 2004 15:15:31 +0000 (15:15 +0000)]
Update the update scripts in updatedb

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

20 years ago- Turn on transactions for SQLite and PostgreSQL if
Kern Sibbald [Wed, 22 Sep 2004 21:36:58 +0000 (21:36 +0000)]
- Turn on transactions for SQLite and PostgreSQL if
  multiple connections are turned on.
- Removed stripping of filename in ua_tree insertion routine.
- Fix split_path_and_filename() routines to return zero length
  path and files.
- Modify update_tables scripts to convert a single blank filename
  into an empty filename.

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

20 years ago- Incremented the release number because this version requires
Kern Sibbald [Wed, 22 Sep 2004 19:51:07 +0000 (19:51 +0000)]
- Incremented the release number because this version requires
  an update to the database.
  Use:
    cd src/cats
    ./update_bacula_tables
  to update an existing database.
- Implemented EndFile and EndBlock in the Media record. This will
  allow Bacula to know exactly when to stop reading a tape if the
  stupid tape driver does not give a logical end of tape indication
  and Bacula writes to the end of the tape getting an I/O error.
- Added new routines to update the database, and there are
  new database creation routines to add the two new Media columns.
- The Media record is updated each time a JobMedia record is created.
  This keeps the Media record up to date.
- Undid the code to use automatic type converions to char * in
  POOL_MEM. This is due to the ugly consequences of essentially
  destroying the class type nature of the class.
- Removed all the old mp_char() #define code.

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

20 years ago- Correct segfault in message.c with debug=200 (new code).
Kern Sibbald [Tue, 21 Sep 2004 14:25:24 +0000 (14:25 +0000)]
- Correct segfault in message.c with debug=200 (new code).
- Fix bug 109 verify with no options prints garbage.

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

20 years ago- Add ioctl(MTIOCGET) call to clrerror_dev() in dev.c. As reported
Kern Sibbald [Tue, 21 Sep 2004 09:47:13 +0000 (09:47 +0000)]
- Add ioctl(MTIOCGET) call to clrerror_dev() in dev.c. As reported
  by Frank Kardel, this should clear error conditions on NetBSD.

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

20 years agoUpdate version
Kern Sibbald [Mon, 20 Sep 2004 16:50:48 +0000 (16:50 +0000)]
Update version

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

20 years agoKern had a better idea:
Dan Langille [Mon, 20 Sep 2004 14:46:24 +0000 (14:46 +0000)]
Kern had a better idea:
- alter src/dird/bacula-dir.conf.in to pass database and user
- alter src/cats/make_catalog_backup.in so that the database name
  and user name come in as $1 and $2 respectively.

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

20 years agoBackout previous commit. The index already exists.
Dan Langille [Mon, 20 Sep 2004 13:43:55 +0000 (13:43 +0000)]
Backout previous commit.  The index already exists.

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

20 years agoSee http://bugs.bacula.org/bug_view_advanced_page.php?bug_id=0000103
Dan Langille [Mon, 20 Sep 2004 12:54:43 +0000 (12:54 +0000)]
See http://bugs.bacula.org/bug_view_advanced_page.php?bug_id=0000103

Alter src/cats/make_catalog_backup.in so it does need incoming parameters to
do its job correctly.   Different options are needed for different database
tools.  e.g. '-u bacula' for MySQL, versus '-U bacula' for PostgreSQL.

At the same time, remove the parameters passed to this script in
src/dird/bacula-dir.conf.in

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

20 years agoImprove speed of VolumeToCatalog verify jobs by adding
Dan Langille [Mon, 20 Sep 2004 12:44:40 +0000 (12:44 +0000)]
Improve speed of VolumeToCatalog verify jobs by adding
an index on file(pathid);

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

20 years ago- Tweak install chapter of French manual to add new paragraph
Kern Sibbald [Mon, 20 Sep 2004 09:07:03 +0000 (09:07 +0000)]
- Tweak install chapter of French manual to add new paragraph
  from English.
- Tweak restore tree message to be a bit clearer.
- Modify watchdog to wakeup after 60 seconds, or wakeup if
  there is work to do.
- Modify watchdog stop routine to ping watchdog so that it
  stops immediately rather than after sleep time.
- Fix btape to use new dcr blocks rather than its own.
- Fix butil.c to correctly handle Volume names for the
  utility routines (broke when updating to dcrs).

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

20 years agoMassive SD calling sequence reorganization
Kern Sibbald [Sun, 19 Sep 2004 18:56:29 +0000 (18:56 +0000)]
Massive SD calling sequence reorganization

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

20 years agoAdd new PostgreSQL indexes
Kern Sibbald [Sat, 18 Sep 2004 21:08:09 +0000 (21:08 +0000)]
Add new PostgreSQL indexes

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

20 years agoFix closing of STDIN
Kern Sibbald [Sat, 18 Sep 2004 19:50:05 +0000 (19:50 +0000)]
Fix closing of STDIN

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

20 years agoDocument group addition in rpm packages.
Scott Barninger [Sun, 12 Sep 2004 14:12:36 +0000 (14:12 +0000)]
Document group addition in rpm packages.

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

20 years agoFinal changes
Kern Sibbald [Thu, 9 Sep 2004 15:27:12 +0000 (15:27 +0000)]
Final changes

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

20 years agoAdd multiple database connections variable
Kern Sibbald [Thu, 9 Sep 2004 15:14:14 +0000 (15:14 +0000)]
Add multiple database connections variable

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

20 years ago- Add first cut of UTF-8 support to conio. It seems to be working
Kern Sibbald [Wed, 8 Sep 2004 21:18:59 +0000 (21:18 +0000)]
- Add first cut of UTF-8 support to conio. It seems to be working
  pretty well. Moving by words will definitely not work though.

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

20 years agoImprove detection and setting of gateway in the network_start script.
Kern Sibbald [Wed, 8 Sep 2004 07:39:31 +0000 (07:39 +0000)]
Improve detection and setting of gateway in the network_start script.

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

20 years agoModify scan code so that in most places scanning will
Kern Sibbald [Tue, 7 Sep 2004 17:17:11 +0000 (17:17 +0000)]
Modify scan code so that in most places scanning will
  continue across the end of a line.

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

20 years agoUpdate doc
Kern Sibbald [Mon, 6 Sep 2004 21:57:06 +0000 (21:57 +0000)]
Update doc

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

20 years agoDoc updates + fixes to rescue script
Kern Sibbald [Mon, 6 Sep 2004 20:57:39 +0000 (20:57 +0000)]
Doc updates + fixes to rescue script

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

20 years ago- Send all queued messages in SD and FD prior to closing down
Kern Sibbald [Sun, 5 Sep 2004 06:52:31 +0000 (06:52 +0000)]
- Send all queued messages in SD and FD prior to closing down
  the job.
- Send queued messages in Jobs before terminating the job
  so that the messages print before the job report.
- Add a destructor so that the Console ACLs are properly
  freed.

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

20 years agoApply Phil's second patch
Kern Sibbald [Sun, 5 Sep 2004 06:14:32 +0000 (06:14 +0000)]
Apply Phil's second patch

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

20 years ago- Implement isolinux boot disk.
Kern Sibbald [Sat, 4 Sep 2004 20:43:35 +0000 (20:43 +0000)]
- Implement isolinux boot disk.
- Integrate Phil Stracchino's code (thanks for Matt's help).
  It permits lists and ranges of jobids on the delete as in:
  delete job jobid=1,3,5,11-16

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

20 years agoClean up
Kern Sibbald [Sat, 4 Sep 2004 20:05:26 +0000 (20:05 +0000)]
Clean up

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

20 years agoFinish isolinux CDROM implementation
Kern Sibbald [Sat, 4 Sep 2004 18:51:11 +0000 (18:51 +0000)]
Finish isolinux CDROM implementation

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

20 years agoSupport running as root.bacula, other changes for 1.35.2
Scott Barninger [Sat, 4 Sep 2004 16:16:12 +0000 (16:16 +0000)]
Support running as root.bacula, other changes for 1.35.2

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

20 years ago- Apply Mike Acar's suggestion when looking for the next volume
Kern Sibbald [Fri, 3 Sep 2004 17:14:54 +0000 (17:14 +0000)]
- Apply Mike Acar's suggestion when looking for the next volume
  to check purged volumes for recycling before doing a purge.
- Make some improvements to CDROM disk.
- Take another crack at ignoring drive open() errors during
  polling.

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

20 years ago- Added argument to berrno::strerror() to pass errno.
Kern Sibbald [Thu, 2 Sep 2004 12:36:58 +0000 (12:36 +0000)]
- Added argument to berrno::strerror() to pass errno.
- Cleaned up a few more old strerror() calls and eliminated a
  few of the now unnecessary set_errno() calls.
- Fixed a bug in the polling code that prevented more than 100
  label reads (insanity check disabled if polling).
- Ignore bad return from open_device() if polling.
- Short circuit code if fatal error return from read_label() in
  mount.c

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

20 years ago- Add eliminate orphaned job records; eliminate admin records,
Kern Sibbald [Thu, 2 Sep 2004 08:34:44 +0000 (08:34 +0000)]
- Add eliminate orphaned job records; eliminate admin records,
  and eliminate restore records to dbcheck.
- replace sprintf by bsnprintf() in dbcheck.

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

20 years ago- Add index file to JobId field of File records for PostgreSQL.
Kern Sibbald [Wed, 1 Sep 2004 19:44:29 +0000 (19:44 +0000)]
- Add index file to JobId field of File records for PostgreSQL.
- Correct several bugs in the job queue scheduler concerning
  rescheduled jobs: 1. The SD status was not cleared causing a
  wrong status to be displayed by Dir after rescheduling. 2. All
  rescheduled jobs became zombies because the jcr use_count was
  not decremented properly.
- Make the Catalog resource required in Client records.
- Order the listing of where a file is (item 2 on the restore
  menu) by StartTime.
- Clarify when a filename only and a full path + filename must
  be entered in items 2 and 8 of the restore menu.
- Fix logic error in resolution of names on IPv4 systems.

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

20 years ago- Fix logic error in resolution of names on IPv4 systems.
Kern Sibbald [Wed, 1 Sep 2004 07:23:06 +0000 (07:23 +0000)]
- Fix logic error in resolution of names on IPv4 systems.

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

20 years agoA improvment of the sqlite detection. Now
Meno Abels [Wed, 1 Sep 2004 06:37:56 +0000 (06:37 +0000)]
A improvment of the sqlite detection. Now
it searches in $prefix/[bin|lib|include] and
if you specifiy -with-sqlite=path in path/[bin|lib|include]
which is need on freebsd and macosx. Where are the library of
external programms in e.g. /usr/local/...

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

20 years agoFinal changes
Kern Sibbald [Tue, 31 Aug 2004 19:18:04 +0000 (19:18 +0000)]
Final changes

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

20 years agoUpdate manual
Kern Sibbald [Mon, 30 Aug 2004 21:02:45 +0000 (21:02 +0000)]
Update manual

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

20 years ago- Inhibit printing of FileSet for a restore as it is misleading.
Kern Sibbald [Mon, 30 Aug 2004 20:39:58 +0000 (20:39 +0000)]
- Inhibit printing of FileSet for a restore as it is misleading.
- Cleaned up a number of minor scripting problems with the CDROM
  creation.
- Fixed a race condition causing a Director crash on termination,
  if a large number of SIGHUPs were sent during a multiple concurrent
  set of backups.

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

20 years agoUpdate manual
Kern Sibbald [Mon, 30 Aug 2004 17:06:25 +0000 (17:06 +0000)]
Update manual

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

20 years agoUpdate manual
Kern Sibbald [Mon, 30 Aug 2004 13:52:48 +0000 (13:52 +0000)]
Update manual
Fix CDROM script to handle non-existant files

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

20 years agoAdd new regression updates
Kern Sibbald [Sun, 29 Aug 2004 15:36:19 +0000 (15:36 +0000)]
Add new regression updates

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

20 years agoComplete rescue disk integration with Bacula source
Kern Sibbald [Sun, 29 Aug 2004 15:34:47 +0000 (15:34 +0000)]
Complete rescue disk integration with Bacula source

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

20 years agoUpdate
Kern Sibbald [Sat, 28 Aug 2004 22:15:26 +0000 (22:15 +0000)]
Update

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

20 years agoAdd more error checking to spooling code
Kern Sibbald [Sat, 28 Aug 2004 08:58:32 +0000 (08:58 +0000)]
Add more error checking to spooling code
Implement Ignore FileSet Changes = yes

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

20 years agoAdd new doc sed file
Kern Sibbald [Sat, 28 Aug 2004 05:54:20 +0000 (05:54 +0000)]
Add new doc sed file

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

20 years agoUpdate documentation
Nicolas Boichat [Fri, 27 Aug 2004 15:43:50 +0000 (15:43 +0000)]
Update documentation

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

20 years agoUpdate doc
Kern Sibbald [Fri, 27 Aug 2004 10:19:43 +0000 (10:19 +0000)]
Update doc
Add new directory for French version of the manual

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