]> git.sur5r.net Git - bacula/bacula/log
bacula/bacula
20 years agoFinal changes
Kern Sibbald [Thu, 18 Nov 2004 14:35:31 +0000 (14:35 +0000)]
Final changes

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

20 years agoBring 1.36.0 up to current 1.37 level
Kern Sibbald [Wed, 17 Nov 2004 22:48:23 +0000 (22:48 +0000)]
Bring 1.36.0 up to current 1.37 level

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

20 years agoFix job term status check
Kern Sibbald [Wed, 17 Nov 2004 09:57:14 +0000 (09:57 +0000)]
Fix job term status check

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

20 years agoUpdate for new job output
Kern Sibbald [Mon, 15 Nov 2004 22:44:40 +0000 (22:44 +0000)]
Update for new job output

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

20 years ago- Fix cancel bug in FD on /lib/tls with zero pid in
Kern Sibbald [Mon, 15 Nov 2004 22:43:33 +0000 (22:43 +0000)]
- Fix cancel bug in FD on /lib/tls with zero pid in
  pthread_kill.
- Add date/time to all messages.
- Make Qmsg use time message was queued rather than time
  printed.
- Indent job output two spaces.

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

20 years agoAdd -w parameter to wx-console to change the temporary directory.
Nicolas Boichat [Mon, 15 Nov 2004 16:49:53 +0000 (16:49 +0000)]
Add -w parameter to wx-console to change the temporary directory.

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

20 years agoAdd spec file for bimagemgr.
Scott Barninger [Sun, 14 Nov 2004 20:29:58 +0000 (20:29 +0000)]
Add spec file for bimagemgr.

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

20 years agorevert working_directory
Kern Sibbald [Sun, 14 Nov 2004 19:47:44 +0000 (19:47 +0000)]
revert working_directory

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

20 years agoAdd cdrom rescue dependancies.
Scott Barninger [Sun, 14 Nov 2004 16:15:27 +0000 (16:15 +0000)]
Add cdrom rescue dependancies.

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

20 years agoAdd bimagemgr configuration.
Scott Barninger [Sun, 14 Nov 2004 13:24:34 +0000 (13:24 +0000)]
Add bimagemgr configuration.

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

20 years agoMake fd shortcut on if not service, clean up uninstall.
Scott Barninger [Sun, 14 Nov 2004 11:20:49 +0000 (11:20 +0000)]
Make fd shortcut on if not service, clean up uninstall.

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

20 years agoAdd revision comments.
Scott Barninger [Sat, 13 Nov 2004 20:18:50 +0000 (20:18 +0000)]
Add revision comments.

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

20 years agoNSIS installer improvements.
Scott Barninger [Sat, 13 Nov 2004 19:33:54 +0000 (19:33 +0000)]
NSIS installer improvements.

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

20 years agoFix pebuild makefile, add files dir.
Scott Barninger [Sat, 13 Nov 2004 15:11:44 +0000 (15:11 +0000)]
Fix pebuild makefile, add files dir.

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

20 years agoAdd BartPE Windows plugin
Scott Barninger [Sat, 13 Nov 2004 14:52:58 +0000 (14:52 +0000)]
Add BartPE Windows plugin

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

20 years agoAdd cdrom to rescue rpm.
Scott Barninger [Sat, 13 Nov 2004 12:05:15 +0000 (12:05 +0000)]
Add cdrom to rescue rpm.

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

20 years ago- Fix web page links for new manual.
Kern Sibbald [Sat, 13 Nov 2004 10:34:17 +0000 (10:34 +0000)]
- Fix web page links for new manual.
- Grant postgresql permission to cdimages.
- Correct crash after list nextvol list media bug 160

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

20 years agoFix scripts/Makefile.in missing ;\ -- thanks Martin
Kern Sibbald [Fri, 12 Nov 2004 17:37:03 +0000 (17:37 +0000)]
Fix scripts/Makefile.in missing ;\  -- thanks Martin
- A bit of work on btape to keep if from going into infinite
  loops when things do not work well, and to print a bit
  better info.

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

20 years agoJobDefs Storage resource completely overrode anything
Kern Sibbald [Thu, 11 Nov 2004 17:30:32 +0000 (17:30 +0000)]
JobDefs Storage resource completely overrode anything
  specified in Job resource -- bug 159 -- fixed.

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

20 years agoFix syntax of renaming postgresql per Dan.
Kern Sibbald [Thu, 11 Nov 2004 08:11:19 +0000 (08:11 +0000)]
Fix syntax of renaming postgresql per Dan.

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

20 years agoAdd working_directory to be /tmp for wx_console.
Kern Sibbald [Thu, 11 Nov 2004 07:55:06 +0000 (07:55 +0000)]
Add working_directory to be /tmp for wx_console.
- Allow both a JobId and a filename or list of files to be
  specified on a restore command line.

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

20 years agoAllow both a JobId and a filename or list of files to be
Kern Sibbald [Wed, 10 Nov 2004 21:18:14 +0000 (21:18 +0000)]
Allow both a JobId and a filename or list of files to be
  specified on a restore command line.

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

20 years agoSave old mtx-changer before installing new one: bug 156
Kern Sibbald [Wed, 10 Nov 2004 20:14:40 +0000 (20:14 +0000)]
Save old mtx-changer before installing new one: bug 156

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

20 years agoFix silly error message
Kern Sibbald [Tue, 9 Nov 2004 17:47:21 +0000 (17:47 +0000)]
Fix silly error message

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

20 years ago- Fix exepath when Bacula executed without path.
Kern Sibbald [Tue, 9 Nov 2004 16:51:27 +0000 (16:51 +0000)]
- Fix exepath when Bacula executed without path.

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

20 years ago- Move test for socket libraries for Solaris in configure.in
Kern Sibbald [Tue, 9 Nov 2004 10:08:52 +0000 (10:08 +0000)]
- Move test for socket libraries for Solaris in configure.in
  before tcp wrapper tests so that linking works.

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

20 years ago- Add make copy-static-fd to makefile in CDROM file to
Kern Sibbald [Tue, 9 Nov 2004 09:42:49 +0000 (09:42 +0000)]
- Add make copy-static-fd to makefile in CDROM file to
  copy existing static fd to CDROM rather than building it.

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

20 years ago08Nov04
Kern Sibbald [Mon, 8 Nov 2004 21:12:12 +0000 (21:12 +0000)]
08Nov04
- More doc updates
- Fix ps command for OpenBSD
- Rework the creation of indexes for SQL -- fall back
  to the old code, but document what can be added.
06Nov04
- Add new Daemon message handler in default DIR conf.
05Nov04
- Fix Seg Fault with -D100 in bpipe.c.
- Fix Seg Fault in run specifying a JobId.
- Make mail from daemon with a Messages Resource use
  the MailCommand with editing rather than the default
  sendmail.
- Replace Jmsg in dispatch_message() with Qmsg.
- Make edit_job_codes handle NULL jcr.

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

20 years ago- Add M_ALERT class and put tape alerts into it.
Kern Sibbald [Thu, 4 Nov 2004 10:47:54 +0000 (10:47 +0000)]
- Add M_ALERT class and put tape alerts into it.
- Fix Verify count vs found by not double counting files
  that are split across files/Volumes.

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

20 years agoFix have-sqlite-db but don't-have-sqlite.
Scott Barninger [Sun, 31 Oct 2004 16:57:09 +0000 (16:57 +0000)]
Fix have-sqlite-db but don't-have-sqlite.

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

20 years agoFix SuSE LSB init info, misc rpm fixes
Scott Barninger [Sun, 31 Oct 2004 15:01:09 +0000 (15:01 +0000)]
Fix SuSE LSB init info, misc rpm fixes

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

20 years agoUpdate tech log + version
Kern Sibbald [Fri, 29 Oct 2004 22:12:46 +0000 (22:12 +0000)]
Update tech log + version

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

20 years ago30Oct04
Kern Sibbald [Fri, 29 Oct 2004 22:11:43 +0000 (22:11 +0000)]
30Oct04
- Fix count returned from write_bsr_file() to handle multiple
  volumes. This fixes most cases of the Verify VolumeToCatalog.
- Cleanup a bit the make clean for the rescue cdrom and remove
  unneeded files from the CVS.
28Oct04
- Fixed acquiring a tape so that it does not block all acquires
  when operator intervention is needed.
- Platform build script updates from Scott
- Doc updates
- Add patch to force Linux LD_ASSUME_KERNEL to avoid using the
  new /lib/tls. This is done in the startup scripts.
- Modify mtx-changer so that it checks for ONLINE while
  waiting.
- Modify make_postgresql_tables.in so that EndBlock is stored
  as a bigint. Prevents job failures when a disk volume is
  larger than 2GB.
24Oct04
- 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@1669 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoNew version + .cvsignore + new tech doc
Kern Sibbald [Sun, 24 Oct 2004 15:13:57 +0000 (15:13 +0000)]
New version + .cvsignore + new tech doc

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

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